[roll] Roll fuchsia [kernel][test] Convert an ASSERT to an OOPS.

When the kernel unittest framework runs a test suite, it used to
record which CPUs were online/active before the test suite started,
and again after it was finished.  Then, it would ASSERT (kernel-panic
assert, not test-assert) that sets had not changed (IOW - if a test
took a CPU offline, it turned it back on again before returning from
the test).

The trouble with this is that if a test fails and does not clean up
after itself, this ASSERT fires typically well before the DLOG drains,
and we loose the test results, making analysis tricky.  Did the test
fail, or think it succeeded?  If it failed, why did it think it
failed?

So, change this behavior.  Instead of performing this check per test
suite, instead perform it individually for every test in the suite
(helping to isolate which test may have messed things up).  In
addition, instead of ASSERTing, print a KERNEL OOPS if the
before/after online/active counts don't match, and _also_ force the
test status to failed (even if the test would have otherwise thought
it succeeded), making sure that things like CI/CQ are sure to pick up
on the failure.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/896005
Original-Revision: 5735805036a18c2eb8de0bac9d056319748085f1
GitOrigin-RevId: 99ce8dea720bb61a6896833c44d5f9011c021275
Change-Id: Ica2a89653671534cfb0aad98de750538fb8951ed
1 file changed
tree: e9dd8b7b075008a69d78d1f757f5ed16264fa37d
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.