Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17977

Improve handling of failed configuration by the script queue

    XMLWordPrintable

    Details

      Description

      The script queue has some bugs and quirks in handling failed configuration. The most important is that if configuring a script fails then the script can end up as the current script. Do the following:

      • Add a unit test
      • Change the ScriptInfo.configured property to be True only if configuration succeeds and add property ScriptInfo.configure_failed
      • Make sure ScriptInfo.process_state == ConfigureFailed if configuration fails. At present it is terminated before this has a chance to occur.

      Also make the stopScripts command more reliable about removing scripts; if a script has managed to stay on the queue despite being done then remove it.

        Attachments

          Activity

          Hide
          rowen Russell Owen added a comment -
          Show
          rowen Russell Owen added a comment - pull request: https://github.com/lsst-ts/ts_scriptqueue/pull/16
          Hide
          tribeiro Tiago Ribeiro added a comment -

          Reviewed code in GitHub.

          Show
          tribeiro Tiago Ribeiro added a comment - Reviewed code in GitHub.
          Hide
          rowen Russell Owen added a comment -

          Merged to develop and master and tagged as v1.1.1
          Documentation updated at: http://staff.washington.edu/rowen/ts_scriptqueue/index.html

          Show
          rowen Russell Owen added a comment - Merged to develop and master and tagged as v1.1.1 Documentation updated at: http://staff.washington.edu/rowen/ts_scriptqueue/index.html

            People

            Assignee:
            rowen Russell Owen
            Reporter:
            rowen Russell Owen
            Reviewers:
            Tiago Ribeiro
            Watchers:
            Russell Owen, Tiago Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Jenkins

                No builds found.