Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7213

Matrix project broken with 1.372

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Gentoo Linux
      Tomcat 6.0.21
    • Similar Issues:

      Description

      マルチ構成プロジェクトの設定画面で、起動するノードとしてマスターとスレーブを選択し保存すると(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)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/resources/hudson/matrix/JDKAxis/config.jelly
          trunk/hudson/main/core/src/main/resources/hudson/matrix/LabelAxis/config.jelly
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/33896
          Log:
          [FIXED JENKINS-7213] not sure how the release process had completed if the unit test was failing...

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/resources/hudson/matrix/JDKAxis/config.jelly trunk/hudson/main/core/src/main/resources/hudson/matrix/LabelAxis/config.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/33896 Log: [FIXED JENKINS-7213] not sure how the release process had completed if the unit test was failing...
          Hide
          dogfood dogfood added a comment -

          Integrated in hudson_main_trunk #186
          [FIXED JENKINS-7213] not sure how the release process had completed if the unit test was failing...

          kohsuke :
          Files :

          • /trunk/www/changelog.html
          • /trunk/hudson/main/core/src/main/resources/hudson/matrix/LabelAxis/config.jelly
          • /trunk/hudson/main/core/src/main/resources/hudson/matrix/JDKAxis/config.jelly
          Show
          dogfood dogfood added a comment - Integrated in hudson_main_trunk #186 [FIXED JENKINS-7213] not sure how the release process had completed if the unit test was failing... kohsuke : Files : /trunk/www/changelog.html /trunk/hudson/main/core/src/main/resources/hudson/matrix/LabelAxis/config.jelly /trunk/hudson/main/core/src/main/resources/hudson/matrix/JDKAxis/config.jelly

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            sogabe sogabe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: