java.lang.AssertionError: expected null, but was:<javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo$Bean,items=((itemName=blockPoolId,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=createdRollbackImages,itemType=javax.management.openmbean.SimpleType(name=java.lang.Boolean)),(itemName=finalizeTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=startTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={blockPoolId=BP-2750152-67.195.81.153-1451894542455, createdRollbackImages=true, finalizeTime=0, startTime=1451894544449})>

tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Hadoop-Hdfs-trunk - Build # 2684 - Failure
    via by Apache Jenkins Server,
  • Hadoop-Hdfs-trunk - Build # 2711 - Still Failing
    via by Apache Jenkins Server,
  • How to test delete method
    via Stack Overflow by gstackoverflow
    ,
  • GitHub comment 1929#156589664
    via GitHub by pjain1
    ,
    • java.lang.AssertionError: expected null, but was:<javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo$Bean,items=((itemName=blockPoolId,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=createdRollbackImages,itemType=javax.management.openmbean.SimpleType(name=java.lang.Boolean)),(itemName=finalizeTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=startTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={blockPoolId=BP-2750152-67.195.81.153-1451894542455, createdRollbackImages=true, finalizeTime=0, startTime=1451894544449})> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotNull(Assert.java:664) at org.junit.Assert.assertNull(Assert.java:646) at org.junit.Assert.assertNull(Assert.java:656) at org.apache.hadoop.hdfs.TestRollingUpgrade.checkMxBeanIsNull(TestRollingUpgrade.java:294) at org.apache.hadoop.hdfs.TestRollingUpgrade.testRollback(TestRollingUpgrade.java:323)

    Users with the same issue

    osvzs
    osvzs3 times, last one,
    Unknown visitor1 times, last one,
    jf-ast
    jf-ast3 times, last one,
    odd
    odd3 times, last one,
    Victor_IT
    Victor_IT5 times, last one,
    94 more bugmates