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

Integration test flakiness #4028

Closed
NDStrahilevitz opened this issue May 7, 2024 · 1 comment
Closed

Integration test flakiness #4028

NDStrahilevitz opened this issue May 7, 2024 · 1 comment

Comments

@NDStrahilevitz
Copy link
Collaborator

Seems that we have some flakiness in the integration tests now. It might be related to the new tests i've added in #4016, but the logs don't seem related to it, but rather to leftover goroutines, which the new tests shouldn't spawn in parallel.

The results come from the filter tests and these are the logs:

=== NAME  Test_EventFilters
    event_filters_test.go:1776: found unexpected goroutines:
        [Goroutine 8 in state chan send, 5 minutes, with github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1 on top of the stack:
        github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1()
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:141 +0xcd
        created by github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1 in goroutine 7
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:136 +0x2c6
         Goroutine 278 in state chan send, 5 minutes, with github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1 on top of the stack:
        github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1()
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:141 +0xcd
        created by github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1 in goroutine 277
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:136 +0x2c6
         Goroutine 128 in state chan send, 5 minutes, with github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1 on top of the stack:
        github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1.1()
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:141 +0xcd
        created by github.com/aquasecurity/tracee/tests/testutils.ExecCmdBgWithSudoAndCtx.func1 in goroutine 127
        	/home/runner/work/tracee/tracee/tests/testutils/exec.go:136 +0x2c6
        ]
--- FAIL: Test_EventFilters (320.98s)
@yanivagman
Copy link
Collaborator

Done as part of #4044

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

No branches or pull requests

2 participants