Open ScriptSathi opened 1 day ago
While running make test on a PR, the tests crashing at fork_test.go:55 with the following line
make test
fork_test.go:55: command failed with exit status 1. Context error: <nil>
https://github.com/cilium/tetragon/blob/main/pkg/sensors/exec/fork_test.go#L55
This occurs because ctx.Err() is displayed before it is done.
ctx.Err()
git source
... logcapture.go:25: time="2024-11-21T12:56:40+01:00" level=info msg="Listening for events..." cmd.go:100: stdout>: parent: (pid:86725, ppid:85754) starts cmd.go:100: stdout>: child 1 (pid:86726) exits cmd.go:100: stdout>: parent: (pid:86725, ppid:85754) starts cmd.go:100: stdout>: parent: (pid:86725) child (86726) exited with: 0 cmd.go:100: stderr>: got an alarm, bailing out cmd.go:100: stderr>: giving up on waiting our parent to die cmd.go:100: stdout>: parent: (pid:86725, ppid:85754) starts fork_test.go:55: command failed with exit status 1. Context error: <nil> logcapture.go:25: time="2024-11-21T12:57:10+01:00" level=info msg="Listening for events completed." error="context canceled" ...
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