Commit Graph

1794 Commits

Author SHA1 Message Date
Tim 'mithro' Ansell 20ca1ee3aa infra: Remove some stuff in the host setup.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 910bc688c3 infra: Working on better diff output.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell d34c210c1d infra: Run database download in script.
Means the details about the download are captured.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 2927f1c572 Don't remove the database.
Why was the download-latest-db.sh doing a clone and then removing all
the stuff it just cloned?

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 7412a1b695 infra: Only collect log files for now.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell c12d3a02b1 infra: ptybandage wasn't needed in the end.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 8d65b6921d infra: Rework the artifact capture.
* Should capture logs / build directory output on failure.
 * Should capture the database output on success.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 863621ca14 infra: Disable checkdb.
At the moment `make checkdb` seems to get stuck and never finish
sometimes. See issue #583.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell c3f6ba5c7c infra: Detect no changes.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell d144c9d2c8 fuzzers: Disable the DSP fuzzer for the moment.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 5543fc579c infra: Make sure all fuzzers complete.
If they don't output debugging information.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell c038539f4c infra: Only formatdb / checkdb for part currently running.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 655af51539 infra: Run kokoro build inside script.
This fixes the issue with make not output status as things run (instead
waiting until a whole command has finished).

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell fd40839830 infra: Install some custom deb packages.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 1991669e8c infra: Reworking kokoro scripts.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell e6d737896f infra: Install pstree
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell bea995b5ea infra: Output cpu info
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell c8f7480cb8 infra: Remove --output-sync=master
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 2d8d4832f1 infra: Remove quick/full split.
Full should be fast enough now.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell d27dfd541a infra: More aggressive compile.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell fc1f36f3c0 infra: Restructure.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell f61695585b infra: Install xsltproc
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 656bbd55c5 infra: Increase timeouts.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 745965d4de infra: Capture test results in Kokoro.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell f7724d9157 infra: Adding kokoro configs.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 39098dc79e utils: Output path when assert fails.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 4bb8ff9ebf make: Split the formatdb / checkdb into part specific targets.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim Ansell 3ae078e98e
Merge pull request #596 from mithro/quiet-please
Adding wrapper to get understandable output.
2019-02-07 21:58:10 +11: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 d21433b3de Fixing gitignore.
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 6249f24fd2 fuzzers: Use make directly when VERBOSE=Y
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
Tim 'mithro' Ansell 378e5f40b1 make: Add `+` so make passes down job information.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 7985d0c58c make: Pass the jobserver info down.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell bb97c81832 make: Rework clean target in database/Makefile
* Have targets for only removing the database and not the harness /
   gridinfo tool.
 * Have seperate targets for cleaning each database.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
litghost f3a8ee2bb9
Merge pull request #619 from litghost/fix_frame_init_regression
Fix frame initialization regression.
2019-02-06 23:13:22 -08:00
Keith Rothman 8acbf97b49 Make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 23:07:19 -08:00
Keith Rothman c830c27357 Fix frame initialization regression.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 22:18:33 -08:00
Tim Ansell 4794fe574d
Merge pull request #617 from mithro/non_canonical_sorting
Install FASM into environment correctly
2019-02-07 14:02:14 +11:00
Keith Rothman 1e3a136ce1 Install FASM into environment properly.
This will make sure that any requirements for the FASM library are
correctly installed into the environment too.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 13:50:39 +11:00
litghost 8e70e4e9ce
Merge pull request #616 from litghost/non_canonical_sorting
Non-canonical sorting for bit2fasm
2019-02-06 18:15:36 -08:00