1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-15 04:46:14 +01:00
Commit Graph

1246 Commits

Author SHA1 Message Date
504703d444 doc/migration_guide: Fix typo 2018-04-30 09:14:22 +01:00
61a9c96a7d doc/device_setup: Add examples of installing modules to target 2018-04-30 09:14:22 +01:00
f60b7eca16 doc/output_api: Improve examples 2018-04-30 09:14:22 +01:00
8c9c1a8f1e docs/user_guide: Clarify basic run command information. 2018-04-30 09:14:22 +01:00
81c6da9c2c Documentation: Add support for generating common target api 2018-04-30 09:14:22 +01:00
f4b47bf65a Fix typos 2018-04-30 09:14:11 +01:00
6965c05707 instruments/energy_measurement: add missing docs
- Add missing descriptions to backends.
- Describe how to get instrument-specific parameter descriptions in the
  help for instrument_parameters param of EnergyMeasurementInstrument
2018-04-27 18:10:02 +01:00
1b557e5c5a commands/show: Add missing identifiers
Ensure that plugin names are converted to identifiers when searching for
plugins.
2018-04-27 16:29:53 +01:00
99f8efbaf5 workloads/stress-ng: Port stress-ng from WA2
stress-ng will stress test a computer system in various selectable
ways.  It was designed to exercise various physical subsystems of a
computer as well as the various operating system kernel interfaces.
2018-04-27 16:29:33 +01:00
7c1ed6487b workload/rt-app: Better JSON processing error reporting
The rt-app workload parses the rt-app JSON file in order to override
some options (specifically duration). Previously, if the JSON was
syntactically incorrect, an uninformative ValueError was raised. Now
we raise a ConfigError with appropriate message prompting the user to
fix the file.
2018-04-27 15:47:18 +01:00
b8343e545b workloads: add meabo
Add automation for meabo micro-benchmark.
2018-04-25 17:16:53 +01:00
f19ca4c00c fw/config: add logging to parsers
Add logging to config/agenda parsing.
2018-04-25 16:25:37 +01:00
3b7debe676 instruments: Add screencap
Add an instrument which wraps the devlib screencapture poller, which
allows us to capture a screenshot from the device every `period`. The
`period` is configurable based on the user requirements.

All captured screenshots are named according to the timestamp on the
device, and are placed into an output directory (screen-capture)
within the job directory.
2018-04-24 10:04:22 +01:00
d3efb1fda1 doc/requirements: Add explict requirements for numpy and pandas
Add these requirements so that they are installed into the readthedocs
environment before building the documentation. If left to use the
default installation method the build process times out.
2018-04-24 09:59:57 +01:00
bc87eacde2 Documentation: Update WA3 Documentation
Update the documentation and build system for producing documentation for
WA3 with support for automatic building on readthedocs.

Note: This is currently a WIP.
2018-04-24 09:59:57 +01:00
98bed3822a utils/docs: Update format of parameter type rst output 2018-04-24 09:59:57 +01:00
1fede5e3f3 doc/build_plugin_docs: Add support for core config generation 2018-04-24 09:59:57 +01:00
3ddb1272aa utils/doc: Add support for dicts to format literal
Now supports cleaner outputing of python dicts
2018-04-24 09:59:57 +01:00
f463060870 framework/resource: Remove 'external_package' priority.
This priority level was left over from an older version of WA and is no
longer relevant.
2018-04-20 18:00:04 +01:00
a963bd7768 framework/workload: Add missing alias for cleanup_assets 2018-04-20 18:00:04 +01:00
f326cd26de workloads: add sysbench
Port sysbench workload from WA2.

sysbench is a modular, cross-platform and multi-threaded benchmark tool
for evaluating OS parameters that are important for a system running a
database under intensive load.
2018-04-16 11:52:02 +01:00
98d9dd080c config/execution: Raise better error if no workloads specified.
If WA is ran without any workloads being specified, previously an index
error was thrown, now check that at least one global workload has been
specified and if not, provide a more helpful error message.
2018-04-11 19:05:33 +01:00
5664d312eb commands/revent: Add error message if not specifying workload stage
Ensure that if a workload is chosen for recording the user also
specifies which stages they wish to record for.
2018-04-10 18:07:20 +01:00
f343f3a7ec wa/commands: Fix typo in create templates 2018-04-10 18:07:20 +01:00
0a88c32502 commands/list: Display plugins in alphabetical order 2018-04-10 18:07:20 +01:00
4ab75bf722 config/core: Update decription of execution order
Remove reference to "classic" execution order.
2018-04-10 18:07:20 +01:00
80f2e8c78b configuration/core: Fix logging rst indentation 2018-04-10 18:07:20 +01:00
c34b219941 commands/create: Add missing workload templates 2018-04-10 18:07:20 +01:00
66b40b25e5 commands/create: Rename workload type names
Remove underscores from `apk_revent` and `apk_uiauto` so the names are
consistent with the workload type names.
2018-04-10 18:07:20 +01:00
1832648add Framework/workload: Fix typo 2018-04-10 18:07:20 +01:00
4f1c1d3b38 processors/uxperf: Adds description to processor 2018-04-10 18:07:20 +01:00
61710688cb docker: Add note on how to use TTY
If one wishes to use the docker container with a TTY, then one must
explicitly mount it into the container when starting it. A note
conveying this has been added to the Dockerfile.
2018-04-10 16:52:58 +01:00
be43d5d9b7 fw/config: add plugin_paths property to settings
Add plugin_paths property to settings which combines plugins_directory
with extra_plugin_paths, and use that inside pluginloader.
2018-04-10 10:29:44 +01:00
ed9dcdedd7 fw/config: add extra_plugin_paths setting
Add extra_plugin_paths setting which gets populated from WA_PLUGIN_PATHS
environment variable. This allows specifying additional locations to
scan for WA plugins.
2018-04-10 10:29:44 +01:00
ed74ae6654 fw/config: ensure params are obj_dict's
As part of finalizing a job spec, ensure all *_parameters are
obj_dict's.
2018-04-10 10:01:07 +01:00
49af8ce1d3 framework/workload: Use installation timeout when pulling apk
The `install_timeout` variable is used to allow extra time when
installing an apk, if the apk is not present on the host system it
will be pulled back to the host, therefore we should allow extra time
when transferring the file in the other direction as well.
2018-04-09 16:38:09 +01:00
65eb741f6f framework/workload: Fix Typo 2018-04-09 16:38:09 +01:00
3fe7305c6e workloads: add recentfling
Port recentfling from WA2.

Fixes .
2018-04-06 16:56:58 +01:00
b71639b2ed commands/process create initial version
Add process command to run output processors over data produced by
a previous run.

Default processing is to skip the processors that were used during
the run and to process the specified directory only. Options to
use additional processors, force reprocessing and allow a directory
walk to discover additional output directories.
2018-04-06 14:46:25 +01:00
8fa32cfd9d workloads/hwuitest: Do not try to process output if none present.
If the workload is abnormally terminated and no output is collected do
not attempt to process the output.
2018-04-06 09:55:25 +01:00
4260139a7c workloads/rt_app: Do not try to process output if none present.
If the workload is abnormally terminated and no output is collected do
not attempt to process the output.
2018-04-06 09:55:25 +01:00
c67b917fd1 BaseUiAutomator: fix uiDeviceSwipeVertical
As it is implemented, it does the same as uiDeviceSwipeHorizontal.
Pass the x coordinates and y coordinates properly.
2018-04-06 09:48:29 +01:00
cf4ec25615 framework/getters: Ignore connection errors with HTTP getter
If the http getter is used but a connection is not avalible, when
attempting to fetch the resource index an error will be raised. Now we
ignore the error allowing for the remaining getters to be used.
2018-04-06 09:40:05 +01:00
5a67aabcbd workloads: Add manual workload
Port manual workload from WA2. This workload allows using WA to
configure and instrument the target, while letting the user perform
arbitrary actions in place of running a fixed workload.
2018-04-05 10:17:44 +01:00
71f620f189 fw/config: add plugin type methods to plugin_cache
Add plugin type-specific methods (e.g. get_workload()) to plugin cache
so that it exposes the same interface as plugin loader.
2018-04-04 10:07:42 +01:00
33cfb7bae2 rt-app: fix description
since Linaro's modification have been merged in upstream version,
we can remove this comment

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2018-04-03 08:36:36 +01:00
741193c441 daq: fix resistor_values and sample_rate_hz parameters list
resistor_values is an array of float and not int as the shunt resistors
are most of the time lower than 1 Ohm.
With kind=list_of_ints, all resistor values are rounded to 0. Replace it
by list_of_numbers

sample_rate_hz is an int used to get sample period and to compute energy.
Changes its type from str to int

With these 2 fixes, the daq instrument has been successfully tested with
NI DAQ6211

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2018-04-03 08:36:06 +01:00
117f0f9fc4 fw/output: add augmentations to RunOutput
Add a property that gives augmentations used by all jobs in the run to
RunOutput.
2018-04-03 08:32:11 +01:00
06fc361f47 aep: fix variable typo
something wrong has happened when preparing the patch to add
arm-probe AEP support

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2018-03-29 19:41:23 +01:00
723b24306b proc/sqlite: fix writing runtime/boot_params
Make sure runtime_params and boot_params are to_pod()'d when they get
written, as they are obj_dict's that json serializer does not know how
to handle otherwise.
2018-03-29 18:01:28 +01:00