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: Assorted fixes #2906

Merged
merged 2 commits into from
Sep 13, 2024
Merged

tetragon: Assorted fixes #2906

merged 2 commits into from
Sep 13, 2024

Commits on Sep 10, 2024

  1. tetragon: Enable loader tests for 6.1 and bpf-next

    With updated kernel it works again, let's enable it
    and hope it fails again.
    
    Signed-off-by: Jiri Olsa <[email protected]>
    olsajiri committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    33649c1 View commit details
    Browse the repository at this point in the history
  2. tetragon: Fix delayed sensor unblock code

    The delayed sensor is used in TestPolicyListingWhileLoadUnload
    to check on loaded sensors states with following code path.
    
      - one go routine is periodically listing sensors and when found
        it calls unblock on delayed sensor that sends data on sensor's
        channel
    
      - another go routine is adding sensor and calls Load on delayed
        sensor to receive data from the sensors channel
    
    Currently the test can fail in delayed sensor's unblock if the
    receiving side is not ready yet, which is completely ok, because
    sensor is first added in the collections and only after the Load
    method is called.
    
    Instead of failing immediately adding 10 seconds timer on
    delayed sensor's unblock select.
    
    Fixes: #2576
    Signed-off-by: Jiri Olsa <[email protected]>
    olsajiri committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ccdfd2b View commit details
    Browse the repository at this point in the history