Lines Matching full:service

18 ${LOG_SERVICE}  xyz.openbmc_project.Logging.service
27 # systemctl -p Restart show xyz.openbmc_project.Logging.service | cat
30 ... Create List xyz.openbmc_project.Logging.service
31 ... xyz.openbmc_project.ObjectMapper.service
32 ... xyz.openbmc_project.State.BMC.service
33 ... xyz.openbmc_project.State.Chassis@0.service
34 ... xyz.openbmc_project.State.Host@0.service
35 FOR ${SERVICE} IN @{services}
36 Check Service Autorestart ${SERVICE}
40 Kill Services And Expect Service Restart
41 [Documentation] Kill the service and it must restart.
44 # Get the MainPID and service state.
45 ${MainPID}= Get Service Attribute MainPID ${LOG_SERVICE}
47 ... msg=Logging service not restarted.
49 ${ActiveState}= Get Service Attribute ActiveState ${LOG_SERVICE}
51 ... msg=Logging Service not in active state.
54 Sleep 10s reason=Wait for service to restart.
56 ${MainPID}= Get Service Attribute MainPID ${LOG_SERVICE}
58 ... msg=Logging service not restarted.
60 ${ActiveState}= Get Service Attribute ActiveState ${LOG_SERVICE}
62 ... msg=Logging service not in active state.
64 Kill The List Of Services And Expect Killed Service Gets Restarted
72 …# "BMC_SERVICES": ['xyz.openbmc_project.Logging.service', 'xyz.openbmc_project.ObjectMapper.servic…
73 # 'xyz.openbmc_project.State.BMC.service', 'xyz.openbmc_project.State.Chassis.service',
74 # 'xyz.openbmc_project.State.Host.service']
82 ${services}= Get Service Restart Policy Services ${OPENBMC_MODEL}
86 # From service list it will check service auto-restart policy
90 FOR ${service} IN @{service_list}
91 ${service_status}= Run Keyword And Return Status Check Service Autorestart ${service}
93 Append To List ${incorrect_auto_restart_policy_services} ${service}
95 Append To List ${auto_restart_policy_always_services} ${service}
108 # This will get process id and check the service active state before killing the services.
109 # If service process id was 0 or service was not in active state then those services will get
114 FOR ${service} IN @{auto_restart_policy_always_services}
115 ${Old_MainPID}= Get Service Attribute MainPID ${service}
116 ${ActiveState}= Get Service Attribute ActiveState ${service}
120 Append To List ${service_not_started} ${service}
125 Sleep 10s reason=Wait for service to restart.
127 ${New_MainPID}= Get Service Attribute MainPID ${service}
129 ... msg=${service} service not restarted.
131 ... msg=Old process ID is mapped to ${service} service after service restart..
133 ${ActiveState}= Get Service Attribute ActiveState ${service}
135 ... msg=${service} service not in active state.
151 Check Service Autorestart
154 # servicename Qualified service name
155 ${restart_policy}= Get Service Attribute Restart ${servicename}