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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 2012q3
    • Jenkins
    • None

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes