commit | 3722025f8ed0b46eb7f48c7c0fbfc53de9e84340 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Jun 29 12:39:08 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Jun 29 10:46:39 2023 +0000 |
tree | 34c8a1fbe2a6996ace1fe1b9e893b550bffd9ba3 | |
parent | ca1cff0f214a1ed5ee967d421f5fe1fd5afa756d [diff] |
m/n/core/devmgr: load modules in separate goroutines If we spend too much time processing kobject uevents, we get an ENOBUFS error: root.devmgr: error receiving kobject uevent: no buffer space available This is a hot-fix for this issue. A better solution would be to have a single goroutine that handles all loading in order to avoid goroutine leaks. But this will do for now. Change-Id: Id085e1e489760c33b1f278dd7c17bf58c01bdad8 Reviewed-on: https://review.monogon.dev/c/monogon/+/1877 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 -c dbg
Launch an ephemeral test node:
bazel test //:launch -c 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 -c dbg //...