| commit | 6cb00ed6d867466d824ee5e3464f707787ed035c | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Thu Feb 08 17:49:19 2024 +0100 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Mon Feb 12 18:10:28 2024 +0000 |
| tree | fd7f6a1340634ed4233f6f9ec1bad479f17b5ec6 | |
| parent | acdfba5e65701520a23e3b3a90c5cb17c0cf3ac2 [diff] |
m/node: panic on unknown NMIs Configure the kernel to panic in case it receives an unknown NMI. This can be used to induce a crash in a hanging kernel, allowing crash diagnostics (pstore currently, maybe kdump in the future) to be used to diagnose the hang. This can have false positives on some badly-configured client systems, but is expected to be fine on servers as other server kernels like ESXi's vmkernel behave the same. Change-Id: Ie41e7b816be8492636b6fa596c1c299c0a7a0fc2 Reviewed-on: https://review.monogon.dev/c/monogon/+/2754 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch --config dbg
Launch an ephemeral test node:
bazel test //:launch --config dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test --config dbg //...