java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 26#248452089
    via GitHub by radekg
    ,
  • GitHub comment 26#248467429
    via GitHub by radekg
    ,
  • GitHub comment 41#166323538
    via GitHub by sjcorbett
    ,
  • https://builds.sonatype.org/job/nexus-oss-its/75/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus977tasks/Nexus977GroupOfGroupsDownloadIndexesTaskIT/downloadIndexes/ {noformat} Error Message expected:<false> but was:<true> Stacktrace java.lang.AssertionError: expected:<false> but was:<true> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertFalse(Assert.java:58) at org.testng.Assert.assertFalse(Assert.java:68) at org.sonatype.nexus.integrationtests.nexus977tasks.Nexus977GroupOfGroupsDownloadIndexesTaskIT.downloadIndexes(Nexus977GroupOfGroupsDownloadIndexesTaskIT.java:44) Standard Output [INFO] Loading Nexus Configuration... [INFO] Configuration loaded succesfully. [INFO] Loading Nexus configuration from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/nexus.xml [WARNING] Nexus configuration file was loaded but discarded, it has the wrong version number. [INFO] Configuration file is invalid, attempting upgrade [INFO] Trying to upgrade the configuration file /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/nexus.xml [INFO] Upgrading old Nexus configuration file (version 1.4.1) from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/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 /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/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 "nexus" dump: "nexus-work"="/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir" (raw: "/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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"="38342" (raw: "38342", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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/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/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/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/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/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/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf" (raw: "/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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/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-10 14:34:51 INFO [main-thread-223] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/security-configuration.xml Result: org.sonatype.nexus.integrationtests.nexus977tasks.Nexus977GroupOfGroupsDownloadIndexesTaskIT.downloadIndexes() ===> FAILED Standard Error 2011-11-10 14:34:46.920:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:38342 STARTED 2011-11-10 14:34:46.921:INFO::Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:47.978:INFO::stopped o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:49.041:INFO::jetty-7.4.4.v20110707 2011-11-10 14:34:49.041:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-11-10 14:34:49.607:INFO::NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-11-10 14:34:49.615:INFO:/nexus:Configuring Nexus in bundle... 2011-11-10 14:34:49.615:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT 2011-11-10 14:34:52.654:INFO::started o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:53.151:INFO::Started SelectChannelConnector@0.0.0.0:38342 STARTING 2011-11-10 14:34:53.170:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@1464fd54 to URI: /nexus {noformat}
    via by Peter Lynch,
  • https://builds.sonatype.org/job/nexus-oss-its/75/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus977tasks/Nexus977GroupOfGroupsDownloadIndexesTaskIT/downloadIndexes/ {noformat} Error Message expected:<false> but was:<true> Stacktrace java.lang.AssertionError: expected:<false> but was:<true> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertFalse(Assert.java:58) at org.testng.Assert.assertFalse(Assert.java:68) at org.sonatype.nexus.integrationtests.nexus977tasks.Nexus977GroupOfGroupsDownloadIndexesTaskIT.downloadIndexes(Nexus977GroupOfGroupsDownloadIndexesTaskIT.java:44) Standard Output [INFO] Loading Nexus Configuration... [INFO] Configuration loaded succesfully. [INFO] Loading Nexus configuration from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/nexus.xml [WARNING] Nexus configuration file was loaded but discarded, it has the wrong version number. [INFO] Configuration file is invalid, attempting upgrade [INFO] Trying to upgrade the configuration file /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/nexus.xml [INFO] Upgrading old Nexus configuration file (version 1.4.1) from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/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 /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/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 "nexus" dump: "nexus-work"="/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir" (raw: "/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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"="38342" (raw: "38342", src: propsFile(/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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/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/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/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/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/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/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf" (raw: "/opt/grid/slave/workspace/nexus-oss-its/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/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/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/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/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-10 14:34:51 INFO [main-thread-223] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-work-dir/conf/security-configuration.xml Result: org.sonatype.nexus.integrationtests.nexus977tasks.Nexus977GroupOfGroupsDownloadIndexesTaskIT.downloadIndexes() ===> FAILED Standard Error 2011-11-10 14:34:46.920:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:38342 STARTED 2011-11-10 14:34:46.921:INFO::Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:47.978:INFO::stopped o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:49.041:INFO::jetty-7.4.4.v20110707 2011-11-10 14:34:49.041:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-11-10 14:34:49.607:INFO::NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-11-10 14:34:49.615:INFO:/nexus:Configuring Nexus in bundle... 2011-11-10 14:34:49.615:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): /opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT 2011-11-10 14:34:52.654:INFO::started o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/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/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-11-10 14:34:53.151:INFO::Started SelectChannelConnector@0.0.0.0:38342 STARTING 2011-11-10 14:34:53.170:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@1464fd54 to URI: /nexus {noformat}
    via by Peter Lynch,
    • java.lang.AssertionError: expected [false] but found [true] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertFalse(Assert.java:63) at org.testng.Assert.assertFalse(Assert.java:73) at com.yahoo.pulsar.broker.service.PersistentTopicTest$5.run(PersistentTopicTest.java:483)

    Users with the same issue

    arturgajowy
    134 times, last one,
    Unknown visitor2 times, last one,
    Mark
    3 times, last one,
    Nikolay Rybak
    1 times, last one,
    Unknown visitor1 times, last one,
    13 more bugmates