File: ZombieUserActionType.rst

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (72 lines) | stat: -rw-r--r-- 2,560 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
ecflow.ZombieUserActionType
///////////////////////////


.. py:class:: ZombieUserActionType
   :module: ecflow

   Bases: :py:class:`~Boost.Python.enum`

ZombieUserActionType is used define an automated response. See class :py:class:`ZombieAttr`

This can be either on the client side or on the server side

client side:

- fob:    The :term:`child command` always succeeds, i.e allows job to complete without blocking
- fail:   The :term:`child command` is asked to fail.
- block:  The :term:`child command` is asked to block.
  This is the default action for init,complete and abort child commands

server side:

- adopt:  Allows the password supplied with the :term:`child command`\ s, to be adopted by the server
- kill:   Kills the zombie process associated with the :term:`child command` using ECF_KILL_CMD.
  path zombies will need to be killed manually. If kill is specified for path zombies
  they will be fobed, i.e allowed to complete without blocking the job.
- remove: :term:`ecflow_server` removes the :term:`zombie` from the zombie list.
  The child continues blocking. If the process is still running, the
  :term:`zombie` may well re-appear

Note: Only adopt will allow the :term:`child command` to continue and change the :term:`node` tree


.. py:attribute:: ZombieUserActionType.adopt
   :module: ecflow
   :value: ecflow.ZombieUserActionType.adopt


.. py:attribute:: ZombieUserActionType.block
   :module: ecflow
   :value: ecflow.ZombieUserActionType.block


.. py:attribute:: ZombieUserActionType.fail
   :module: ecflow
   :value: ecflow.ZombieUserActionType.fail


.. py:attribute:: ZombieUserActionType.fob
   :module: ecflow
   :value: ecflow.ZombieUserActionType.fob


.. py:attribute:: ZombieUserActionType.kill
   :module: ecflow
   :value: ecflow.ZombieUserActionType.kill


.. py:attribute:: ZombieUserActionType.names
   :module: ecflow
   :value: {'adopt': ecflow.ZombieUserActionType.adopt, 'block': ecflow.ZombieUserActionType.block, 'fail': ecflow.ZombieUserActionType.fail, 'fob': ecflow.ZombieUserActionType.fob, 'kill': ecflow.ZombieUserActionType.kill, 'remove': ecflow.ZombieUserActionType.remove}


.. py:attribute:: ZombieUserActionType.remove
   :module: ecflow
   :value: ecflow.ZombieUserActionType.remove


.. py:attribute:: ZombieUserActionType.values
   :module: ecflow
   :value: {0: ecflow.ZombieUserActionType.fob, 1: ecflow.ZombieUserActionType.fail, 2: ecflow.ZombieUserActionType.adopt, 3: ecflow.ZombieUserActionType.remove, 4: ecflow.ZombieUserActionType.block, 5: ecflow.ZombieUserActionType.kill}