[jbosstools-issues] [JBoss JIRA] (JBIDE-24844) fix *.it.weekly jobs to properly build on macos w/ jdk1.8 (not openjdk 1.8)

Nick Boldt (JIRA) issues at jboss.org
Fri Sep 1 16:57:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457776#comment-13457776 ] 

Nick Boldt edited comment on JBIDE-24844 at 9/1/17 4:56 PM:
------------------------------------------------------------

Current state (16 red balls): !redballs-16.png|thumbnail!

Trying a couple things:

a) use SHORT_COMBINATION for workspace paths, as we seem to have intermittent failures on Windows slaves [1].
b) enable Naginator to rebuild failing matrix combos (eg., because a slave dies in mid-run) after 30 mins [2]

Testing these fixes on this build [3].

[1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/jdk=openjdk-1.8,label_exp=win10/96/
[2] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/jobConfigHistory/showDiffFiles?timestamp1=2017-08-26_16-00-47&timestamp2=2017-09-01_20-20-44

[3] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/ >=97

Snippets:

{code}
    <hudson.plugins.toolenv.ToolEnvBuildWrapper plugin="toolenv at 1.1">
      <vars>JDK1_5_HOME,JDK1_6_HOME,JDK1_7_HOME,JDK1_8_HOME,OPENJDK_1_7_HOME,OPENJDK_1_8_HOME</vars>
    </hudson.plugins.toolenv.ToolEnvBuildWrapper>

--------

  <childCustomWorkspace>${SHORT_COMBINATION}</childCustomWorkspace>

--------

    <com.chikli.hudson.plugin.naginator.NaginatorPublisher plugin="naginator at 1.17.2">
      <regexpForRerun/>
      <rerunIfUnstable>true</rerunIfUnstable>
      <rerunMatrixPart>true</rerunMatrixPart>
      <checkRegexp>false</checkRegexp>
      <regexpForMatrixStrategy>TestChildrenRetriggerAll</regexpForMatrixStrategy>
      <noChildStrategy>RerunWhole</noChildStrategy>
      <delay class="com.chikli.hudson.plugin.naginator.FixedDelay">
        <delay>30</delay>
      </delay>
      <maxSchedule>1</maxSchedule>
    </com.chikli.hudson.plugin.naginator.NaginatorPublisher>

--------

    <hudson.matrix.LabelExpAxis>
      <name>label_exp</name>
      <values>
        <string>rhel7</string>
        <string>fedora26</string>
        <string>ubuntu1704</string>
        <string>ubuntu1604</string>
        <string>win10</string>
        <string>win81</string>
        <string>win7</string>
        <string>macosx</string>
      </values>
    </hudson.matrix.LabelExpAxis>
   </axes>
   <combinationFilter>(label_exp == "macosx" || label_exp == "ubuntu1704" || label_exp == "ubuntu1604").implies(jdk == "jdk1.8")</combinationFilter>
{code}


was (Author: nickboldt):
Current state (16 red balls): !redballs-16.png|thumbnail!

Trying a couple things:

a) use SHORT_COMBINATION for workspace paths, as we seem to have intermittent failures on Windows slaves [1].
b) enable Naginator to rebuild failing matrix combos (eg., because a slave dies in mid-run) after 30 mins [2]

Testing these fixes on this build [3].

[1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/jdk=openjdk-1.8,label_exp=win10/96/
[2] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/jobConfigHistory/showDiffFiles?timestamp1=2017-08-26_16-00-47&timestamp2=2017-09-01_20-20-44

[3] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/batch.it.weekly/ >=97

> fix *.it.weekly jobs to properly build on macos w/ jdk1.8 (not openjdk 1.8)
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-24844
>                 URL: https://issues.jboss.org/browse/JBIDE-24844
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.5.0.Final
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 4.5.1.AM2
>
>         Attachments: red-weekly-smoke-tests.png, redballs-16.png
>
>
> As noted in JBIDE-24835, the it.weekly jobs try to run on macos w/ openjdk 1.8, but no such JDK exists there. Therefore need a combinationFilter to let us build with openjdk on windows and linux, and oracle jdk on macos.
> {code}
> combinationFilter = (label_exp == "macosx").implies(jdk == "jdk1.8") && (label_exp != "macosx").implies(jdk == "openjdk-1.8")
> {code}
> TODO: verify all the jobs linked from here [1] are working for all OSes
> [1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/devstudio.buildflow.it.smoke/
> *  hibernatetools-itests.download-devstudio - test failures on rhel7 (not a matrix job)
> *  livereload.it.weekly - failing for windows 8.1 & 10 due to unresolved parent pom
> *  browsersim.it.weekly - failing for windows 8.1 due to unresolved parent pom
> *  archives.it.weekly - failed to resolve tycho-plugins:repo-utils1.0.0 (bad Nexus settings?) on win81
> * vpe.it.weekly - test failures on win81



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list