Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1350

Notification in case of job warnings

    XMLWordPrintable

Details

    Description

      Current Situation

      • Shell jobs are considered being failed if the exit code is not in range of return codes signaling success or is in range of return codes signaling failure.
      • For failed jobs notifications are sent.

      Desired Behavior

      • In addition to success and failed execution of jobs users would like to find a job result "warning". This indicates that the job in fact is considered successful but that a notification is sent at warning level.
      • This mechanism is intended for jobs that are not considered important and that should not impact the process flow in a workflow in case of failure.

      Implementation

      • The workflow storage format allows to specify a list of return codes that signal warnings. The new attribute is available for Shell Jobs and for JITL Jobs. This information is not deployed to the Controller.
      • The GUI offers to populate the list of return codes that signal warnings. For Shell Jobs only return codes that are available from the list of successful return codes can make it for for the list of warnings. In addition the list of return codes signaling warnings is available for JITL Jobs.
      • The History Service checks if a job's return code is available from the list of return codes signaling warnings. If this applies then the History Service creates a notification at warning level. Notifications are created for return codes for both Shell Jobs and JITL Jobs.

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              ap Andreas PĆ¼schel
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: