Skip to content
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

tetragon: TestCopyFd test failing on 4.19 kernel #152

Closed
olsajiri opened this issue Jun 10, 2022 · 2 comments · Fixed by #168
Closed

tetragon: TestCopyFd test failing on 4.19 kernel #152

olsajiri opened this issue Jun 10, 2022 · 2 comments · Fixed by #168

Comments

@olsajiri
Copy link
Contributor

TestCopyFd test is failing on 4.19 kernel. It looks like it does not get read event from 'dup' fd.
test.log
tetragon.gotest.TestCopyFd.720014031.json.log

@tpapagian
Copy link
Member

Yes, I can repro that on 5.10 and 5.4 as well. Out of dup, dup2, and dup3 it seems that dup does not generate an event as you said. The strange thing here is that dup uses FollowFD at fd_install and not CopyFD. FollowFD at fd_install seems to work from the initial open call. Still looking at it.

@tpapagian
Copy link
Member

Created #161 to unblock that. Still dup system call needs fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants