Commit Graph

33 Commits

Author SHA1 Message Date
Alessandro Comodi a77a6a3e44 run_fuzzer: replace semicolon with dash in stderr and stdout names
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-02-03 18:14:58 +01:00
Alessandro Comodi 3d4c9addf0 environment: fix environment set up
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 11:28:56 +01:00
Daniel Schultz 54808f48fb fuzzers: Set part information to env
Loads the part specific mapping information and stores them in the env.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-12 22:36:58 +01:00
Keith Rothman af6700a692 Limit failure logging to output, but ensure that full logs are available.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-09 10:34:44 -07:00
Tomasz Michalak 950d7534ec Add licensing header to fuzzers' python scripts
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Keith Rothman fabae5eb64 Fix some bugs in makefile work tracking.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman d6e4c28323 Report full untruncated log upon failure.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman f4fd84625f Add part to run_fuzzer output.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman 80add259ed Fix some parallelism issues.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman 2678e7a3a7 Handle both jobserver-fds and jobserver-auth flags.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-10 14:50:46 -08:00
Tomasz Michalak de763a309c fuzzers: Add support for KiB, MiB and GiB units
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-01-29 12:33:13 +01:00
Tomasz Michalak b5a4e6932e run_fuzzer.py: Adjust unit names output by free tool
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-05-09 09:33:22 +02:00
Tim 'mithro' Ansell fbec529926 Less verbose memory usage info.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-05-08 10:09:45 +02:00
Tim 'mithro' Ansell 1ca3f55b05 Fix doctest for Logger.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-05-08 10:09:45 +02:00
Tim 'mithro' Ansell 02cd21f4ba fuzzers: Disable retries by default.
Retries can be re-enabled when #635 is fixed.

Currently the retries are just causing CI to take a long time.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-04-10 16:56:47 -07:00
Keith Rothman d7116a86cb Lower retry count to avoid taking a long time to fail when the fuzzer is broken.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-06 13:15:48 -08:00
Tim 'mithro' Ansell f973cf2b20 Fix running without -j
Fixes #680.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-03-01 12:44:38 -08:00
Keith Rothman 85c87eb648 Put memory on own line.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 19:01:26 -08:00
Keith Rothman a37b64fdfd Move memory usage to first line.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 18:57:45 -08:00
Keith Rothman da244e36ac Add RAM usage to output.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 18:56:59 -08:00
Keith Rothman c47746476d Make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-08 10:50:03 -08:00
Keith Rothman 1145e9a270 Dup jobserver fd's for retry.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-08 10:33:18 -08:00
Tim 'mithro' Ansell c590cce721 Write each run into seperate file.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 7c5103e7f3 Only save the last 1000 lines to XML file.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell ec6be41482 Don't close jobserver fd so retries work.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 80f3f0ec04 Adding support for writing junit.xml files.
* Fixes #494.
 * Includes multiple runs in output.
 * Includes stdout / stderr in output.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell fa2bf16acc Add retries to run_fuzzer.py
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 772c5cad44 Add success trailer too.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 4f8ba05073 Use a class rather than a global.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 09ae28be13 Adding timestamp to log line output.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell a82882a4c0 Always print minutes if displaying hours.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 314ee62b3f Fixing number of review comments.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell f8c3ada041 Adding wrapper to get understandable output.
* Saves stdout / stderr to log files.
 * Prefixes all messages with fuzzer name.
 * Gives regular status updates.
 * Successfully passes jobserver details down.
 * Correctly handles dry-run and question options.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00