junit.framework.AssertionFailedError: expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]>

Jenkins JIRA | sogabe | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    マルチ構成プロジェクトの設定画面で、起動するノードとしてマスターとスレーブを選択し保存すると(configuration.jpg)、 matrix.jpgのように、構成がSSHとmasterではなくtrue,trueになってしまいます。 このとき、実行ログは以下のとおりです。 ユーザーsogabeが実行 マスターでビルドします。 label=trueの起動 label=true is still in the queue: ラベル 'true' のすべてのノードはオフラインです。 Labelがらみで変更がありましたが、その影響ではないでしょうか。 hudson.matrix.MatrixProjectTest.testConfigRoundtrip も失敗しているようです。 エラーメッセージ expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]> スタックトレース junit.framework.AssertionFailedError: expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]> at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154) at hudson.matrix.MatrixProjectTest$_testConfigRoundtrip_closure5.doCall(MatrixProjectTest.groovy:218) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892) at groovy.lang.Closure.call(Closure.java:279) at groovy.lang.Closure.call(Closure.java:292) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1165) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1141) at org.codehaus.groovy.runtime.dgm$87.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:270) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at hudson.matrix.MatrixProjectTest.testConfigRoundtrip(MatrixProjectTest.groovy:213) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:316) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:221) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 7 years ago | sogabe
    junit.framework.AssertionFailedError: expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]>
  2. 0

    マルチ構成プロジェクトの設定画面で、起動するノードとしてマスターとスレーブを選択し保存すると(configuration.jpg)、 matrix.jpgのように、構成がSSHとmasterではなくtrue,trueになってしまいます。 このとき、実行ログは以下のとおりです。 ユーザーsogabeが実行 マスターでビルドします。 label=trueの起動 label=true is still in the queue: ラベル 'true' のすべてのノードはオフラインです。 Labelがらみで変更がありましたが、その影響ではないでしょうか。 hudson.matrix.MatrixProjectTest.testConfigRoundtrip も失敗しているようです。 エラーメッセージ expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]> スタックトレース junit.framework.AssertionFailedError: expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]> at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154) at hudson.matrix.MatrixProjectTest$_testConfigRoundtrip_closure5.doCall(MatrixProjectTest.groovy:218) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892) at groovy.lang.Closure.call(Closure.java:279) at groovy.lang.Closure.call(Closure.java:292) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1165) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1141) at org.codehaus.groovy.runtime.dgm$87.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:270) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at hudson.matrix.MatrixProjectTest.testConfigRoundtrip(MatrixProjectTest.groovy:213) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:316) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:221) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 7 years ago | sogabe
    junit.framework.AssertionFailedError: expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]>

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      expected:<[jdk1.6, jdk1.5]> but was:<[false, false, true, true]>

      at org.codehaus.groovy.reflection.CachedMethod.invoke()
    2. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892)
      5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
      6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
      6 frames
    3. Hudson
      MatrixProjectTest$_testConfigRoundtrip_closure5.doCall
      1. hudson.matrix.MatrixProjectTest$_testConfigRoundtrip_closure5.doCall(MatrixProjectTest.groovy:218)
      1 frame
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892)
      5. groovy.lang.Closure.call(Closure.java:279)
      6. groovy.lang.Closure.call(Closure.java:292)
      7. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1165)
      8. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1141)
      9. org.codehaus.groovy.runtime.dgm$87.invoke(Unknown Source)
      10. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:270)
      11. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
      12. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
      13. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      14. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      14 frames
    5. Hudson
      MatrixProjectTest.testConfigRoundtrip
      1. hudson.matrix.MatrixProjectTest.testConfigRoundtrip(MatrixProjectTest.groovy:213)
      1 frame
    6. Hudson :: Test Framework
      HudsonTestCase.runBare
      1. org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:316)
      2. org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:221)
      2 frames
    7. com.sun.maven
      LocalTestCaseRunner.runTestCase
      1. com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113)
      2. com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56)
      2 frames
    8. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:104)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      6. hudson.remoting.Request$2.run(Request.java:250)
      6 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames