aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-07utils/postgres: Rename postgres_covert to house more general methodsMarc Bonnici
Rename the postgres_covert file to allow for place more general postgres utility functions.
2018-12-07fw/output: Implement the Output API for using a database backendMarc Bonnici
Allow for the creating of a RunDatabaseOutput to allow for utilizing WA output API from run data stored in a postgres database.
2018-12-07output_processors/postgres: Update target info to use POD representationMarc Bonnici
Instead of taking values directly when storing target information use the POD representation to allow for restoring the state.
2018-12-07utilts/serializer: Update exception method to support Python3Marc Bonnici
2018-12-07framework/output: Split out common Output functionalityMarc Bonnici
In preparation for the creation of a DatabaseRunOut split out functionality that can be shared.
2018-12-07output_processors/postgresql: Serialize parameters in jsonMarc Bonnici
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.
2018-12-07utils/serializer: Fix attempting to deserialize a single value.Marc Bonnici
2018-12-07fw/config/execution: Implement CombinedConfig as PodableMarc Bonnici
Ensure that the various Configuration structures now have serialization versions.
2018-12-07fw/output: Implement Output structures as PodableMarc Bonnici
Ensure that the various Output structures now have serialization versions.
2018-12-07fw/run: Implement Run Structures as PodableMarc Bonnici
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-07fw/config/core: Implement Configuration structures as PodableMarc Bonnici
Ensure that the various Configuration structures now have serialization versions.
2018-12-07fw/target/info: Implement TargetInfo structures as PodableMarc Bonnici
Ensure that the various data structures used to store target information now have a serialization versions.
2018-12-07utils/serializer: Add Podable Mix-in classMarc Bonnici
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.
2018-12-04fw/output: Ensure that `Event` message is converted to a stringMarc Bonnici
Explicitly convert the passed message into a string as this is expected when generating a event summary, otherwise splitting can fail.
2018-11-23workloads/glbench: Port workload to WA3Marc Bonnici
2018-11-21target/descriptor: Update default sudo command formatMarc Bonnici
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-21wa: Remove reference to devlibs escaping methodsMarc Bonnici
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.
2018-11-20workloads/gfxbench: Move test selection into setup phaseMarc Bonnici
Previously the configuration of the tests was performed in the run stage instead of the setup.
2018-11-20workloads/gfxbench: Fix clicking on select testsMarc Bonnici
The X coordinate was miscalculated when attempting to load the test selection menu.
2018-11-20workloads/gfxbench: Fix parameter descriptionMarc Bonnici
2018-11-20workloads/gfxbenchmark: Fix score matchingMarc Bonnici
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'.
2018-11-19commands/process: Fix initialization of ProcessContext orderingMarc Bonnici
Ensure that that ProcessContext is initialized before attempting to initialize any of the output processors.
2018-11-15workloads: Updating geekbench to support v4.3.1scott
v4.3.1 has made a minor change to the run cpu benchmark element. Refactoring to support both the new and previous elements.
2018-11-15workloads/gfxbench: Do not clear package data on launchMarc Bonnici
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.
2018-11-15fw/workload: Add attribute to control if package data should be cleared.Marc Bonnici
Allow specifying that the package data should not be cleared before starting the workload.
2018-11-13workloads/gfxbench: Fix formattingMarc Bonnici
2018-11-13workloads/gfxbench: Fix not detecting missing asset popupMarc Bonnici
Add check for a differently worded popup informing that assets are missing.
2018-11-02fw/target: record page size as part of TargetInfoSergei Trofimov
Record target.page_size_kb as part of target info.
2018-11-02fw/target: add versioning to TargetInfoSergei Trofimov
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-10-25doc/installation: Update installation instructionsMarc Bonnici
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.
2018-10-25doc: Fix formatting and typoMarc Bonnici
2018-10-25doc: Add WA icon to documentationMarc Bonnici
2018-10-24output_processors/postgresql: Refactor and fix uploading duplicationMarc Bonnici
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.
2018-10-24output_processors/postgres: Move logging messageMarc Bonnici
Print the debug message warning about writing a large object to the database before writing the object.
2018-10-24utils/postgres_convert: PEP8 fixMarc Bonnici
Remove unused local variable.
2018-10-24worklods: Fix whitespaceMarc Bonnici
2018-10-24workloads/uiauto: Update workloads to dismiss android version warningMarc Bonnici
Update workloads that use uiautomator and can display a warning about using an old version of the app to dismiss the popup if present.
2018-10-24fw/uiauto: Add method to baseclass to dismiss android version popupMarc Bonnici
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-23workloads/vellamo: Close warning popup message to run on Android QLisa Nguyen
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>
2018-10-15tools/revent: recording timestamp fixsyltaylor
- 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)
2018-10-12workloads/jankbench: Ensure logcat monitor thread is terminatedMarc Bonnici
Previously the LogcatRunMonitor left the logcat process running in the background causing issues with concurrent accesses. Now ensure the thread terminates correctly.
2018-10-09utils/log: Ensure to convert all arguments to stringsMarc Bonnici
Ensure that all arguments provided for an Exception are converted to stings before attempting to join them for debug information.
2018-10-09commands/run: Update run output with final run configMarc Bonnici
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.
2018-10-08utils/revent: recording parser fixesSergei Trofimov
- 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.
2018-10-05workloads/meabo: Support python 3Marc Bonnici
Ensure output is encoded correctly if running with python 3
2018-10-05workloads: Use `uninstall` method instead of `uninstall_executable`Marc Bonnici
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.
2018-10-03workloads/androbench: Fix extracting results with small resolutionsMarc Bonnici
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.
2018-10-01pcmark: update uiautomation to fix Android-Q breakageQais Yousef
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>
2018-09-25GFXBench: New workloadscott
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
2018-09-25Googlephotos: Updating to work with latest versionscott
Updating the googlephotos workload to work with app version 4.0.0.212659618