Marc Bonnici
753786a45c
fw/workload: Add activity
attribute to APK workloads
...
Allow specifying an `activity` attribute for an APK based workload which
will override the automatically detected activity from the resolved APK.
2019-04-18 10:44:50 +01:00
Marc Bonnici
2c2118ad23
fw/resource: Fix attempting to match against empty values
...
Update checking of attributes to allow for empty structures as they can
be set to empty lists etc. and therefore should not be checking if
explicitly `None`.
2019-04-02 07:54:05 +01:00
Marc Bonnici
0ec8427d05
fw/output: Implement retriving "augmentations" for JobDatabaseOutput
s
...
Enable retriving augmentations on a per job basis when using a Postgres
database backend.
2019-03-18 15:26:19 +00:00
Marc Bonnici
cf5c3a2723
fw/output: Add missing "augmentation" attribute to JobOutput
...
Add attribute to `JobOutput` to allow easy listing of enabled augmentations
for individual jobs rather than just the overall run level.
2019-03-18 15:26:19 +00:00
Marc Bonnici
8ddc1c1eba
fw/version: Bump to development version
2019-03-04 15:50:13 +00:00
Marc Bonnici
b5db4afc05
fw/version: Version Bump
...
Bump to the next revision release.
2019-03-04 15:50:13 +00:00
Marc Bonnici
de36dacb82
fw/version: Bump to development versions
2019-03-04 10:37:39 +00:00
Marc Bonnici
637bf57cbc
fw/version: Bump revison versions
...
Bump the revision version for WA and the required version for
devlib.
2019-03-04 10:37:39 +00:00
Marc Bonnici
ba0cd7f842
fw/target/info: Bump target info version
...
Due to mismatches in WA and devlib versions this previous upgrade method
could have been trigger before it was needed and would not be called a
second time. Now we can be sure that WA and devlib are updated together
bump the version number again to ensure the upgrade method is called a
second time to ensure the POD is upgraded correctly.
2019-03-04 10:37:39 +00:00
Marc Bonnici
adb3ffa6aa
fw/version: Introduce required version for devlib
...
To ensure that a compatible version of devlib is installed on the system
keep track of the version of devlib that is required by WA and provide a
more useful error message if this is not satisfied.
2019-03-04 10:37:39 +00:00
Marc Bonnici
a1cecc0002
fw/workload: Add "support_versions" attribute to workloads
...
Allow for specifying a list of supported APK versions for a workload. If
a specific version is no specified then attempt to a resolve any valid
version for the workload.
2019-02-08 13:56:55 +00:00
Marc Bonnici
0cba3c68dc
fw/resource: Support matching APKs on multiple versions.
...
In the case where a range of apk versions are valid allow for the matching
process to accommodate a list of versions instead of a single value.
2019-02-08 13:56:55 +00:00
Marc Bonnici
f267fc9277
fw/workload: Use apk version for workload if not set.
...
If a workloads `version` attribute is not set, and an APK file is
found, use this as the version number. This allows for workloads to not
specify a default version via parameters and for an available APK to be
automatically chosen.
2019-02-08 13:56:55 +00:00
Sergei Trofimov
462a5b651a
fw/output: add label property to Metric
...
Add a "label" property to Metric that combines its name with its
classifiers into a single string.
2019-02-05 10:27:06 +00:00
Marc Bonnici
4a9a2ad105
fw/target/info: Fix for KernelConfig refactor
...
The Devlib KernelConfig object was refactored in commit
f65130b7c7
therefore update the way KernelConfig objects are deserialized to reflect the new
implementation and provide a conversion for PODs.
2019-01-31 09:44:30 +00:00
Marc Bonnici
9f88459f56
fw/workload: Fix Typo
2019-01-30 15:46:54 +00:00
Marc Bonnici
766b96e2ad
fw/workload: Add a 'View' parameter to ApkWorkloads
...
Allow for easy configuring of a view for a particular workload as this
can vary depending on the device which can be used when using certain
instruments for example `fps`.
2019-01-11 10:12:42 +00:00
Marc Bonnici
5263cfd6f8
fw/version: Add development tag to version
...
Add a development tag to the version format instead of using the
revision field.
2019-01-11 10:12:26 +00:00
Marc Bonnici
e312efc113
fw/version: Version bump for minor fixes
2019-01-10 13:21:16 +00:00
Sergei Trofimov
ed95755af5
fw/output: better classifiers format for metrics
...
Use a dict-like string representation for classifiers, rather than the
default OrderedDict one, which is a lot more verbose and difficult to
read.
2019-01-10 13:03:29 +00:00
Marc Bonnici
60fe412548
wa/version: Update to development version
...
Update WA and devlib versions to development tags.
2019-01-04 11:29:10 +00:00
Marc Bonnici
e187e7efd6
fw/version: Verion Bump to v3.1.0
2018-12-21 14:31:07 +00:00
Marc Bonnici
6b03653227
fw/rt_config: Update tunables parameter to match other formats
...
Update RT param `governor_tunables` to `gov_tunables` to match the style
of the other paramters e.g. `big_gov_tunables`.
2018-12-14 07:44:44 +00:00
Marc Bonnici
a9e254742a
fw/rt_param_manager: Add support for aliased parameters
...
Additionally check for aliases when matching runtime parameters to their
corresponding cfg points.
2018-12-14 07:44:44 +00:00
Marc Bonnici
72046f5f0b
fw/output: Convert Status
enums to/from POD during (de)serialization
...
Previously the `Status` Enum was converted to a string as part of
serialization however now use the Enum `to_pod` method and make the
respective changes for de-serialization.
2018-12-07 09:55:17 +00:00
Marc Bonnici
0113940c85
fw/execution: Fix status being assigned as strings
2018-12-07 09:55:17 +00:00
Marc Bonnici
0fb8d261fa
fw/output: Add check for schema versions
2018-12-07 09:55:17 +00:00
Marc Bonnici
0fee3debea
fw/output: Implement the Output API for using a database backend
...
Allow for the creating of a RunDatabaseOutput to allow for utilizing WA
output API from run data stored in a postgres database.
2018-12-07 09:55:17 +00:00
Marc Bonnici
e81aaf3421
framework/output: Split out common Output functionality
...
In preparation for the creation of a DatabaseRunOut split out
functionality that can be shared.
2018-12-07 09:55:17 +00:00
Marc Bonnici
dcf0418379
fw/config/execution: Implement CombinedConfig as Podable
...
Ensure that the various Configuration structures now have serialization
versions.
2018-12-07 08:46:12 +00:00
Marc Bonnici
1723ac8132
fw/output: Implement Output structures as Podable
...
Ensure that the various Output structures now have serialization
versions.
2018-12-07 08:46:12 +00:00
Marc Bonnici
1462f26b2e
fw/run: Implement Run Structures as Podable
...
Ensure that Run structures now have serialization versions.
Also fix serialization/de-serialization of `Status` type as previously this
was formatted as a String instead a pod.
2018-12-07 08:46:12 +00:00
Marc Bonnici
8ee924b896
fw/config/core: Implement Configuration structures as Podable
...
Ensure that the various Configuration structures now have serialization versions.
2018-12-07 08:46:12 +00:00
Marc Bonnici
92cf132cf2
fw/target/info: Implement TargetInfo structures as Podable
...
Ensure that the various data structures used to store target information
now have a serialization versions.
2018-12-07 08:46:12 +00:00
Marc Bonnici
e0ffd84239
fw/output: Ensure that Event
message is converted to a string
...
Explicitly convert the passed message into a string as this is expected when
generating a event summary, otherwise splitting can fail.
2018-12-04 15:15:47 +00:00
Marc Bonnici
88f708abf5
target/descriptor: Update default sudo command format
...
Due to changes introduced in devlib https://github.com/ARM-software/devlib/pull/339
the command placeholder should no longer be in quote so remove them from
the default value.
2018-11-21 15:07:25 +00:00
Marc Bonnici
cc0cfaafe3
fw/workload: Add attribute to control if package data should be cleared.
...
Allow specifying that the package data should not be cleared
before starting the workload.
2018-11-15 07:54:43 +00:00
Sergei Trofimov
ce94638436
fw/target: record page size as part of TargetInfo
...
Record target.page_size_kb as part of target info.
2018-11-02 12:11:00 +00:00
Sergei Trofimov
d1fba957b3
fw/target: add versioning to TargetInfo
...
Add format_version class attribute to TargetInfo to track format
changes. This is checked when deserializing from POD to catch format
changes between cached and obtained TargetInfo's.
2018-11-02 12:11:00 +00:00
Marc Bonnici
7632ee8288
fw/uiauto: Add method to baseclass to dismiss android version popup
...
In Android Q a popup will be displayed warning if the application has
not been designed for the latest version of android. This has currently been
dealt with on a per workload basis however this is a common popup so
add a method to dismiss the popup if present to the base class.
2018-10-24 10:34:44 +01:00
Marc Bonnici
891ef60f4d
configuration: Add support for section groups
...
Now allows for specifying a `group` value for each section which will
cross product the sections within that group with the sections in each
other group. Additionally classifiers will automatically be added to
each job spec with the relevant group information.
2018-09-24 10:17:26 +01:00
Marc Bonnici
57aa5ca588
fw/version: Add developement tag to version number
2018-09-21 15:06:30 +01:00
Marc Bonnici
a7d0b6fdbd
target/descriptor: Do not convert the module list to strings
...
Change the type of the `modules` to `list` so that additional
configuration can be supplied to individual modules as a dict of values.
2018-09-21 15:06:30 +01:00
Marc Bonnici
7d01258bce
fw/target/manager: Do no finalize target if not instantiated
...
In the case of an error occurring during target initialization do not
try and check for disconnecting upon finalizing.
2018-09-21 15:06:30 +01:00
Marc Bonnici
8cd79f2ac4
fw/instrument: Fix compatibility with Python2
...
The Python2 inspect module does not contain the `getfullargspec` method so call
the appropriate method depending on Python version.
2018-09-05 15:44:48 +01:00
Waleed El-Geresy
718f2c1c90
Expose context in OP initialize and finalize
...
Expose the context to the initialize and finalize functions for Output
Processors. This was found to be necessary for the upcoming PostgreSQL
Output Processor.
2018-09-05 14:40:42 +01:00
Marc Bonnici
6366a2c264
framework/version: Specify default encoding when parsing commit id
2018-08-22 14:41:12 +01:00
Marc Bonnici
d858435c3d
utils/version: Fix check to only decode bytes
...
When using Python3 the returned value of the commit is a byte string and
therefore needs to be decoded.
2018-07-27 10:11:32 +01:00
Marc Bonnici
fc226fbb6e
fw/execution: Ensure that identifiers are used when retrieving plugins.
...
Make sure that when retrieving plugin information from the plugin
cache the name is converted to an identifier first.
2018-07-24 11:34:19 +01:00
Sergei Trofimov
e4a856ad03
fw/config: preserve included config files
...
Save included config files, along with the explicitly-specified config
that included them, under run output's __meta/raw_config/.
2018-07-23 16:47:10 +01:00