Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-558

Jenkins slave reboot doesn't work if build doesn't complete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 2012q3
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None

      Description

      We want to automatically reboot Jenkins slaves at the end of each test run (or somehow otherwise ensure a clean state between runs).

      The current mechanism we have is simply to run a 'reboot' command (or shutdown /r on Windows) after test.pl has completed (saving the exit code of test.pl to return later).

      This completely fails to work if the job is interrupted for some reason, e.g. the build is canceled, interrupted due to network issues, etc.

      At the very least, we really need it to work if the job is canceled.

      It would be nice if it also works in rarer error cases, such as when the Jenkins slave itself has some problem (e.g. an outdated slave.jar).

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            rmcgover Rohan McGovern (Inactive)
            Reporter:
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes