aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/rt-migrate-test
AgeCommit message (Collapse)Author
2021-09-15rt-migrate-test: Upload JSON file to artifactorialDaniel Wagner
rt-migrate-test stores all results into a JSON file. Upload it to the artifactorial for post processing, e.g. long time trends of the performance numbers. Signed-off-by: Daniel Wagner <dwagner@suse.de>
2021-09-15rt-migrate-test: Do exit shell script prematureDaniel Wagner
Drop the '-e' shell option. The shell option '-e' will terminate the shell script on any error. rt-migrate-test returns error codes when the test fails. Hence the log parsing wont be executed. Signed-off-by: Daniel Wagner <dwagner@suse.de>
2021-09-15rt-tests: Enable JSON test reportDaniel Wagner
All rt-tests learned to output all results in JSON format. This makes it possible the replace the really awkward log parser (it has to handle subtle differences how a rt-tests logs on the console) and just rely on a generic JSON parser implementation. Signed-off-by: Daniel Wagner <dwagner@suse.de>
2021-09-15rt-migrate-test: use quiet outputDaniel Wagner
rt-migrate-test output is meant for interactive terminals. On dumb terminals, it creates lots of noise resulting in massive logs. Use quiet output (-q) to silence and just print a summary at the end of the test. Signed-off-by: Daniel Wagner <dwagner@suse.de>
2021-09-15rt-tests: Update binaries to version v2.2Daniel Wagner
Update all rt-test binaries to version v2.2. All binaries have been build in a Debian 11 (Bullseye) root file system using "CFLAGS=-static make" on the matching architecture. Though it's recommended install the latest version of the rt-tests in the testing root filesystem. These binaries here are only fallbacks. Signed-off-by: Daniel Wagner <wagi@monom.org>
2021-08-10Remove extra whitespace in the value of variable 'r'Vidyasagar G C
The variable 'r' contains " pass" value with an extra whitespace added. To keep the results in an organized manner, extra whitespace should be avoided in between columns of result.txt file Before the patch applied: --------------------------------- t0-p51-max pass 20110 us t0-p51-min pass 63 us t0-p51-tot pass 244614 us t0-p51-avg pass 4892 us After the patch applied: --------------------------------- t0-p51-max pass 20110 us t0-p51-min pass 63 us t0-p51-tot pass 244614 us t0-p51-avg pass 4892 us Signed-off-by: Vidyasagar G C <vidyasagar_gc@mentor.com>
2020-09-01rt-migrate-test: set priority to 51Daniel Wagner
The test creates per core a thread. Each thread with a higher priority than the previous one. By starting with priority 51 we make sure on a system with more than a couple of cores test is able to create all the threads with the correct priority. Signed-off-by: Daniel Wagner
2020-08-27rt-migrate-test: Add background commandDaniel Wagner
Start a background process to create load on the system while running the test. Signed-off-by: Daniel Wagner <wagi@monom.org>
2020-06-30automated: manual: update format string to match LAVA expectationsMilosz Wasilewski
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2019-07-30rt-migrate-test: Add priority optionDaniel Wagner
rt-migrate-test starts 3 threads, assigning each a priority. The default starts at 0 which is too low for consistent results. Set the default to 96. Signed-off-by: Daniel Wagner <wagi@monom.org>
2019-07-29rt-tests: Update binaries to v1.4Daniel Wagner
Update all rt-tests with the current upstream v1.4 release. The x86_64 and armeabi architecture binaries are build using a Debian stretch root filesystem. arm64 binaries were build using a Debian buster root filesystem. The command to build the binaries is: "CLFAGS=-static make" Signed-off-by: Daniel Wagner <wagi@monom.org>
2019-07-22rt-migrate-test: Introduce duration optionDaniel Wagner
Add duration command line to rt-migrate-test. rt-tests v1.4 added to many tools the option '-D'/'--duration'. Remove the loops argument in favor of duration. Signed-off-by: Daniel Wagner <wagi@monom.org>
2019-07-22rt-migrate-test: Parse pass/fail resultDaniel Wagner
rt-migrate-test tests the scheduler migrates the threads correctly when they run in the real time scheduling class. Therefore, the performance numbers are a nice to have side result but we are intersted if the migration works as expected. rt-migrate-test only reports the pass/fail result if provided the -c option. Signed-off-by: Daniel Wagner <wagi@monom.org>
2017-10-23rt-migrate-test: use pre-installed binary if already installedLei Yang
Change-Id: Ia764778dc41839653da489bcdf8890a1d535d865 Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
2017-02-18automated: use create_out_dir where appropriateDaniel Díaz
Change-Id: I10181a7d1ebc53491085d80d67f0cd8f9e43071d Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
2017-01-24automated: linux: add rt-migrate-testChase Qi
Change-Id: I03da01b64b5cded668c86feab952e9d5731d30da Signed-off-by: Chase Qi <chase.qi@linaro.org>