1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00
workload-automation/wa/framework
Sergei Trofimov 7c7ffe3e77 framework/run: fix job status handling.
- Re-order Status entries so that higher severity entries have higher
  enum values.
- Add set_status() to Job that ensures that a status is only set if it
  is of higher severity (e.g. a Job that has been marked as PARTIAL by
  an instrument will not be overwritten as OK by the runner).
- Retry no generates a new job, rather than re-enqueuing the existing
  object; this ensures that the output status is tracked properly.
- Adjust ManagedCallback to set set job status to FAILED if it sees a
  WorkloadError, and to PARTIAL other wise. The idea being that
  instruments raise WorkloadError if they have a reason to believe
  workload did not execute properly and indicated failure even if the
  workload itself has failed to detect it (e.g. FPS instrument detecting
  crashed content, where the workload might lack any feedback regarding
  the crash). Other errors would indicate an issue with the instrument
  itself, and so the job is marked as PARTIAL, as there is no reason to
  suspect that the workload is at fault and the other results generated
  for this execution may be valid.
2017-09-27 10:32:20 +01:00
..
configuration framework/run: fix job status handling. 2017-09-27 10:32:20 +01:00
target RTConfig: Added support for specifying device initial screen state. 2017-08-16 17:35:19 +01:00
uiauto BaseUiAutomator: Ports additional functionality 2017-07-10 11:08:44 +01:00
__init__.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
agenda.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
command.py command: added support for sub-commands 2017-04-25 08:16:35 +01:00
entrypoint.py Skeleton job execution 2017-03-15 14:34:23 +00:00
exception.py New target description + moving target stuff under "framework" 2017-03-06 11:10:25 +00:00
execution.py framework/run: fix job status handling. 2017-09-27 10:32:20 +01:00
getters.py Getters: Fixes raising error instead of returning. 2017-07-14 18:09:01 +01:00
host.py Imports: Updated Imports 2017-04-20 11:49:53 +01:00
instrumentation.py framework/run: fix job status handling. 2017-09-27 10:32:20 +01:00
job.py framework/run: fix job status handling. 2017-09-27 10:32:20 +01:00
output.py framework/output: add accessors for metrics and artifacts 2017-09-27 10:32:19 +01:00
plugin.py plugin: removing virtual referencies from meta 2017-05-11 09:57:38 +01:00
pluginloader.py New target description + moving target stuff under "framework" 2017-03-06 11:10:25 +00:00
processor.py Implment output processing 2017-03-22 15:14:44 +00:00
resource.py APKResolution: Uses loose version matching 2017-07-20 14:30:52 +01:00
run.py Fix timstampts to be UTC. 2017-03-22 15:14:44 +00:00
signal.py Imports: Updated Imports 2017-04-20 11:49:53 +01:00
version.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
workload.py framework/workload: ApkWorkload consistent package handling 2017-09-27 10:32:20 +01:00