java.lang.AssertionError: Did not see state SLEEPING expected:<true> but was:<false>

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

    https://builds.sonatype.org/job/nexus-oss-its-feature/81/ debug build for that branch: https://builds.sonatype.org/job/nexus-oss-its-debug-4341/ {code} org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks (from Nexus4341RunningTaskNotEditableIT) Failing for the past 1 build (Since Failed#81 ) Took 1 min 9 sec. add description Error Message Did not see state SLEEPING expected:<true> but was:<false> Stacktrace java.lang.AssertionError: Did not see state SLEEPING expected:<true> but was:<false> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertTrue(Assert.java:37) at org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks(Nexus4341RunningTaskNotEditableIT.java:175) Standard Output [INFO] Shutting down EHCache manager. =================================== Application context "nexus" dump: "nexus-work"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir" (raw: "/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "runtime"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "application-port"="44442" (raw: "44442", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "application-conf"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf" (raw: "${nexus-work}/conf", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF/plexus.properties, size:5)) "nexus-webapp"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) "nexus-app"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${runtime}", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF/plexus.properties, size:5)) "security-xml-file"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF/plexus.properties, size:5)) "log-config-dir"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf" (raw: "/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf", src: prefixRemove(prefix:nexus., filter(keyStartsWith:[nexus.], system(properties)))) "bundleBasedir"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT" (raw: "/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT", src: static("bundleBasedir"="/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT")) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/conf/nexus.properties, size:7)) Total of 12 entries. =================================== 2011-11-28 16:05:02 INFO [main-thread-158] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/security-configuration.xml [INFO] Creating and configuring EHCache manager with classpath:/ehcache.xml, using disk store 'none' Result: org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks() ===> FAILED Standard Error 2011-11-28 16:04:56.502:INFO:oejs.Server:Graceful shutdown SelectChannelConnector@0.0.0.0:44442 STARTED 2011-11-28 16:04:56.503:INFO:oejs.Server:Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-28 16:04:57.724:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-28 16:05:00.001:INFO:oejs.Server:jetty-7.5.4.v20111024 2011-11-28 16:05:00.001:INFO:ospjc.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-11-28 16:05:00.647:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-11-28 16:05:00.656:INFO:/nexus:Configuring Nexus in bundle... 2011-11-28 16:05:00.657:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): /opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT 2011-11-28 16:05:03.696:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss-its-feature/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-28 16:05:04.331:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:44442 STARTING 2011-11-28 16:05:04.348:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@44187b90 to URI: /nexus Found task with state SUBMITTED Found task with state SUBMITTED {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Did not see state SLEEPING expected:<true> but was:<false>
  2. 0

    VMware Communities: Message List

    rssing.com | 1 year ago
    java.lang.AssertionError: expected:<true> but was:<false>
  3. 0

    SRM 5.5 Certification NegativeTests failure | VMware Communities

    vmware.com | 1 year ago
    java.lang.AssertionError: expected:<true> but was:<false>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VMware Communities: Message List

    rssing.com | 1 year ago
    java.lang.AssertionError: expected:<true> but was:<false>
  6. 0

    Unit test verifying Message Directory structure fails on Windows 8

    GitHub | 3 years ago | markusgud
    java.lang.AssertionError: U:\tmp\9908_976098897\AP_1000006\9908_81001709 != 9908_976098897/AP_1000006/9908_81001709 expected [true] but found [false]

    6 unregistered visitors
    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

      Did not see state SLEEPING expected:<true> but was:<false>

      at org.testng.Assert.fail()
    2. TestNG
      Assert.assertTrue
      1. org.testng.Assert.fail(Assert.java:89)
      2. org.testng.Assert.failNotEquals(Assert.java:489)
      3. org.testng.Assert.assertTrue(Assert.java:37)
      3 frames
    3. org.sonatype.nexus
      Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks
      1. org.sonatype.nexus.integrationtests.nexus4341.Nexus4341RunningTaskNotEditableIT.testNoUpdateForRunningTasks(Nexus4341RunningTaskNotEditableIT.java:175)
      1 frame