Age | Commit message (Collapse) | Author |
|
Rename the postgres_covert file to allow for place more general postgres
utility functions.
|
|
Allow for the creating of a RunDatabaseOutput to allow for utilizing WA
output API from run data stored in a postgres database.
|
|
Instead of taking values directly when storing target information use
the POD representation to allow for restoring the state.
|
|
|
|
In preparation for the creation of a DatabaseRunOut split out
functionality that can be shared.
|
|
To make it easier to deserialize the data again ensure that the data is
converted to json rather than using the built in string representation.
|
|
|
|
Ensure that the various Configuration structures now have serialization
versions.
|
|
Ensure that the various Output structures now have serialization
versions.
|
|
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.
|
|
Ensure that the various Configuration structures now have serialization versions.
|
|
Ensure that the various data structures used to store target information
now have a serialization versions.
|
|
Add a new mix-in class for classes that are serialized to PODs, the aim
of this class is to provide a way to ensure that both the original data
version and the current serialization version are known. When attempting
to de-serialize a POD the serialization version will be compared to the
latest version in WA if not matching will call the appropriate method to
upgrade the pod to a known structure state populating any missing fields
with a sensible default or converting the existing data to the new
format.
|
|
Explicitly convert the passed message into a string as this is expected when
generating a event summary, otherwise splitting can fail.
|
|
|
|
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.
|
|
As part of https://github.com/ARM-software/devlib/pull/339 the escaping
method are being removed in favour of using `quote` from `pipes` so
also make reflecting changes here.
|
|
Previously the configuration of the tests was performed in the run stage
instead of the setup.
|
|
The X coordinate was miscalculated when attempting to load the test
selection menu.
|
|
|
|
On some devices the score string obtained can contain extra characters.
Only use the numerical values from the score when converting, otherwise
if not found set the result to 'NaN'.
|
|
Ensure that that ProcessContext is initialized before attempting to
initialize any of the output processors.
|
|
v4.3.1 has made a minor change to the run cpu benchmark element.
Refactoring to support both the new and previous elements.
|
|
By clearing the application data each time the workload is run this
forces the required assets to be re-installed each time. As the
workload is not affected by persistent state do not perform the
clearing.
|
|
Allow specifying that the package data should not be cleared
before starting the workload.
|
|
|
|
Add check for a differently worded popup informing that assets are
missing.
|
|
Record target.page_size_kb as part of target info.
|
|
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.
|
|
Update the instructions for installing WA from git not to use
pip as this method does not process dependency_links correctly and
results in an incompatible version of devlib being installed.
|
|
|
|
|
|
Previously run level artifacts would be added with a particular job_id,
and updated artifacts would be stored as new objects each time. Refactor
to remove unnecessary instance variables, only provide a job_id when
required and add an update capability for largeobjects to ensure this
does not happen.
|
|
Print the debug message warning about writing a large object to the
database before writing the object.
|
|
Remove unused local variable.
|
|
|
|
Update workloads that use uiautomator and can display a warning about
using an old version of the app to dismiss the popup if present.
|
|
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.
|
|
While attempting to run vellamo on Android Q, a popup warning with
the message, "This app was built for an older version of Android and may not
work properly. Try checking for updates, or contact the developer." would
appear, causing the workload to halt.
Close the popup warning before dismissing EULA and executing the remaining
steps to run vellamo.
Tested with vellamo apk version 3.2.4.
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
- force cast start/end timestamps to uint64_t to correct recording format issue on 32bit devices (i.e. 4 bytes timespec tv_sec written on 8 bytes memory slot)
|
|
Previously the LogcatRunMonitor left the logcat process running in the
background causing issues with concurrent accesses. Now ensure the thread
terminates correctly.
|
|
Ensure that all arguments provided for an Exception are converted to
stings before attempting to join them for debug information.
|
|
The RunInfo object in the run output is initally created before the
config has been fully parsed therefore attributes for the project and
run name are never updated, once the config has been finalized make sure
to update the relavant information.
|
|
- change magic string literal to a b'' string so that the comparison
works in python 3
- expand timestamp tuples (struct.unpack always returns a tuple) before
attempting to cast to float.
|
|
Ensure output is encoded correctly if running with python 3
|
|
For workloads that support Linux targets do not use
`uninstall_executable` as this is not available, instead use `uninstall` as
other targets should be able to determine the appropriate uninstallation
method.
|
|
Previously the workload assumed that all the scores were visible on a
single screen however for devices with smaller displays the results need
to scrolled.
|
|
A new popup appears when running pcmark on android Q that complains
about the app being built for an older version of android.
Since this popup will be temporary, the fix has to make sure not to
break in the future when this popup disappears or when the test is ran
on a compatible version of android.
To achieve this, we attempt to dismiss the popup and if we timeout we
silently carry on with the test assuming no popup will appear.
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
|
|
Creating a new workload to execute the following tests on GFXBench.
* Car Chase
* Car Chase Offscreen
* Manhattan 3.1
* 1080p Manhattan 3.1 Offscreen
* 1440p Manhattan 3.1 Offscreen
* Tessellation
* Tessellation Offscreen
|
|
Updating the googlephotos workload to work with app version 4.0.0.212659618
|