-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fork_test.go:55] Return error <nil> #3148
Labels
kind/bug
Something isn't working
Comments
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 21, 2024
Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID Signed-off-by: Tristan d'Audibert <[email protected]>
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 21, 2024
…user Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID Signed-off-by: Tristan d'Audibert <[email protected]>
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 21, 2024
…user Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID Signed-off-by: Tristan d'Audibert <[email protected]>
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 21, 2024
…user Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID Signed-off-by: Tristan d'Audibert <[email protected]>
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 22, 2024
…user Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID. As `make test` uses sudo rights, you need to pass your local `MANAGERPID` env var to sudo. If the variable is not set, the flag is ignored Signed-off-by: Tristan d'Audibert <[email protected]>
ScriptSathi
added a commit
to ScriptSathi/tetragon
that referenced
this issue
Nov 22, 2024
…user Fix [cilium#3148](cilium#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID. As `make test` uses sudo rights, you need to pass your local `MANAGERPID` env var to sudo. If the variable is not set, the flag is ignored Signed-off-by: Tristan d'Audibert <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
While running
make test
on a PR, the tests crashing at fork_test.go:55 with the following linehttps://github.com/cilium/tetragon/blob/main/pkg/sensors/exec/fork_test.go#L55
This occurs because
ctx.Err()
is displayed before it is done.Tetragon Version
git source
More logs
The text was updated successfully, but these errors were encountered: