1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00
Commit Graph

775 Commits

Author SHA1 Message Date
Marc Bonnici
6f0d18f921 Executor: Renamed device_manage to self.target_manager 2017-04-21 10:49:20 +01:00
Marc Bonnici
7815df59d4 Getters: Added support for finding revent files.
Revent files are automatically placed in the sub folder `revent_files` in the
workload directory when recording, therefore when trying to retrieve recordings
the getter now looks inside of the sub directory.
2017-04-21 10:49:20 +01:00
Marc Bonnici
2406d01672 Exec Control: Copied to WA3 and now uses default environment.
Moved execution decorators from wlauto to wa.
Modified to use a default environment if none is explicitly specified.
2017-04-20 14:27:25 +01:00
Marc Bonnici
cceecebfa7 Getters: Renamed import from __base_filepath to _base_filepath
Previously trying to use the `__base_filepath` import from inside the `Package`
class, resulted in the error "`_Package__base_filepath` is not defined."
2017-04-20 11:49:53 +01:00
Marc Bonnici
b7ed59edcf Execution: Corrected spelling 2017-04-20 11:49:53 +01:00
Marc Bonnici
a17e11251e Workload: Corrected doc string 2017-04-20 11:49:53 +01:00
Marc Bonnici
e60e31ff8e Imports: Updated Imports
Switch remaining wlauto imports to wa.
Added other missing imports.
2017-04-20 11:49:53 +01:00
setrofim
9899d1d51a Merge pull request #380 from setrofim/next
revent workload part 1
2017-04-06 16:39:09 +01:00
Sergei Trofimov
bddabbc56d revent workload part 1 2017-04-06 16:38:39 +01:00
setrofim
b8361f8e09 Merge pull request #373 from marcbonnici/TM
TM: Update and Refactor
2017-04-05 14:15:40 +01:00
Marc Bonnici
11323b6256 TM: Update and Refactor
TM has been updated and restructured to be clearer, including splitting off
assistant and creating a runtime parameter manager into their own files.
2017-04-05 11:51:29 +01:00
Marc Bonnici
519389859e Misc Utils: Fixed 'merge_dicts_simple'
Previously this function was ignoring the `other` parameter
and therefore not actually merging the two dictionaries.
2017-03-31 17:42:33 +01:00
setrofim
fc45b94b4e Merge pull request #376 from setrofim/next
Implementing UIAutomator-based Android workloads
2017-03-29 13:59:55 +01:00
Sergei Trofimov
18e7ffb826 workload: adding basic UIAutomator workload implementation
Added a workload type to handle workloads that have both an APK with an
application and associated automation JAR. Added benchmarkpi
implementation using using the new workload.
2017-03-29 09:55:40 +01:00
Sergei Trofimov
6fba05503d gitignore: add uiautomator generated files 2017-03-29 09:53:27 +01:00
Sergei Trofimov
fed454fc74 getters: fix some issues
- get_by_extension was comparing the expected extension to the entire
  tuple returned by os.path.splitext(), rather than just the extension
  part.
- UserDirectory getter was looking in the root dependencies directory,
  rather than the subdirectory for the owner.
- Filer getter was not handling non-existing paths properly.
2017-03-29 09:53:27 +01:00
Sergei Trofimov
4006e998c2 output: fix JobOutput instantiation
iteration and label parameters were being passed in the wrong order when
instantiating JobOutput.
2017-03-29 09:53:27 +01:00
Sergei Trofimov
0032e347fe Implemeting target assistants
- Workload's update_result stage has now been broken up into two parts:
  extract_results and update_output. This is to allow the assistant to
  pull output from the target in between the two stages.
- Updated assistant implementations for Linux and Android targets from
  the exisiting code.
- Extended target descriptor code to handle assistants and their
  parameters as well.
- Updated  the target manager to actually make use of the assistants.
2017-03-29 09:53:27 +01:00
setrofim
044aef2535 Merge pull request #374 from marcbonnici/misc_fixes
Misc fixes
2017-03-22 17:40:12 +00:00
Marc Bonnici
861db1cf38 Resource: Removed stray ':' 2017-03-22 16:10:06 +00:00
Marc Bonnici
07362a5d05 Core: Fixed config point validation
Previously a config point would try to validate the name attribute of the object
it was meant to be setting, rather than what it was meant to be setting it to.
2017-03-22 15:57:47 +00:00
Marc Bonnici
82acc16a7d Config Core: Corrected Spelling 2017-03-22 15:57:47 +00:00
Marc Bonnici
f175e63bc5 Parsers: Fixed spelling and error message 2017-03-22 15:57:47 +00:00
Marc Bonnici
5c01e84077 Parsers: Corrected parameter name. 2017-03-22 15:57:47 +00:00
Marc Bonnici
1043569170 Descriptor: Added import and corrected spelling 2017-03-22 15:57:47 +00:00
setrofim
b6faab6abc Merge pull request #371 from setrofim/next
Result processors, resource resolvers,  plus minor fixes
2017-03-22 15:54:50 +00:00
Sergei Trofimov
9c091f5339 Misc minor fixes. 2017-03-22 15:17:14 +00:00
Sergei Trofimov
ebf917a8a9 Added filer, http and user directory resource getters. 2017-03-22 15:16:37 +00:00
Sergei Trofimov
84c1fc2bcf Updated dhrystone to use the new resource resoultion mechanics. 2017-03-22 15:16:37 +00:00
Sergei Trofimov
15886ffa29 Streamline resource resolution mechanics. 2017-03-22 15:16:37 +00:00
Sergei Trofimov
1d0db35e04 Fix timstampts to be UTC. 2017-03-22 15:14:44 +00:00
Sergei Trofimov
31a5e5b5fe Implment output processing
- Implemented result processor infrastructured
- Corrected some status tracking issues (differed between states
  and output).
- Added "csv" and "status" result processors (these will be the default
  enabled).
2017-03-22 15:14:44 +00:00
Sergei Trofimov
ff990da96c Removing duplicate log line 2017-03-20 16:28:21 +00:00
setrofim
efaaf6b7c8 Merge pull request #370 from setrofim/next
Initial implementation of state tracking and output handling.
2017-03-20 14:45:30 +00:00
Sergei Trofimov
9ba126d46d dhrystone: fixed taskset_mask description. 2017-03-20 14:44:34 +00:00
Sergei Trofimov
1c4eef54d6 Tidying run_config config points 2017-03-20 14:40:13 +00:00
Sergei Trofimov
482a936639 Implement job skipping on abort 2017-03-17 17:29:30 +00:00
Sergei Trofimov
24ade78c36 The old Runner can die now; RIP 2017-03-17 17:10:30 +00:00
Sergei Trofimov
326ab827ed Implement Executor's postamble 2017-03-17 17:05:40 +00:00
Sergei Trofimov
add6dafa2d job: upped logging level of loading message to info 2017-03-17 16:30:11 +00:00
Sergei Trofimov
c5cd2b9298 Initial priority implementation
- Fixed up some of the signal map for instrumentation
- Changed how priorites are specified -- no longer method name prefixes
  but dedicated decorators, including an easy way of specifying a custom
  priority level (no longer need to manually connect signals)
- Updated ExecutionTimeInstrument to work with the new system
- Also removed some dead code
2017-03-17 16:21:14 +00:00
Sergei Trofimov
4287e90153 dhrystone tidy 2017-03-17 09:36:35 +00:00
Sergei Trofimov
24402660c4 Initial implementation of state tracking and output handling. 2017-03-17 09:15:43 +00:00
setrofim
6e13c96d9c Merge pull request #369 from setrofim/next
Fixing previous pull request.
2017-03-15 17:23:16 +00:00
Sergei Trofimov
a60e8b0ba6 log: fixing file logger format
The file logger format mistakenly fixed message width to 10 chars,
whereas logger name should have been fixed and message unconstrained.
2017-03-15 17:18:13 +00:00
Sergei Trofimov
87560550d9 Revert "New target description + moving target stuff under "framework""
This reverts commit 6eb5c3681d.

was commited in error.
2017-03-15 17:16:59 +00:00
setrofim
b2e5840a63 Merge pull request #368 from setrofim/next
Next
2017-03-15 14:36:35 +00:00
Sergei Trofimov
ec109f5d0b fixing "params" handling in section entries
"params" is interpreted differently in section vs workload entires in
the agenda; previously, this was handled in the generic entry
construciton function by examining the ID prefix of the entry to
distinguish between the two.

This is unreliable as the user may specify their own IDs that won't have
the expected prefixes. To handle this, the "params" alias resolution for
sections is now handled in section specific part of entry processing
(workloads are handled autmatically because that is the default for
the corresponding JobConfig config point).
2017-03-15 14:34:31 +00:00
Sergei Trofimov
ccdc3492e7 Handle retry failed 2017-03-15 14:34:31 +00:00
Sergei Trofimov
547ae1c10e Job output dir handling. 2017-03-15 14:34:23 +00:00