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

fix listen syscall backlog field size #1200

Closed
wants to merge 2 commits into from

Conversation

oheifetz
Copy link
Contributor

Reported by: github issue #515

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap-engine-udig

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it: fix listen syscall backlog field size

Which issue(s) this PR fixes: issue 515 listen bullet

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@poiana
Copy link
Contributor

poiana commented Jul 14, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: oheifetz
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link

Please double check driver/SCHEMA_VERSION file. See versioning.

@incertum
Copy link
Contributor

incertum commented Jul 14, 2023

@oheifetz thank you! Will help with the tests if needed. Also let us plan and coordinate this one with the loginuid fix PR as there will be a merge conflict depending on the order. Both of them will likely go into the release after 0.12.0 (due ~ July 21) aka they'll both have to wait 1-2 weeks.

Also don't worry about the driver schema version, we will coordinate that as well.

@incertum
Copy link
Contributor

incertum commented Jul 14, 2023

@oheifetz could you use rebase instead of merge, see our contributor guidelines in the CONTRIBUTING.md

In addition, those are all the unit tests you can try locally, plus we have e2e tests, hope the READMEs give even more info and let us know if you have questions.

make -j 16 unit-test-libsinsp; make run-unit-test-libsinsp;
make -j 16 libscap_test; sudo ./test/libscap/libscap_test;
make -j 16 drivers_test; sudo ./test/drivers/drivers_test -b driver/bpf/probe.o  # works with -k or -m as well

@incertum
Copy link
Contributor

re #1200 (comment) would you prefer checking on the failing tests first or would you prefer us directly helping?

@oheifetz
Copy link
Contributor Author

oheifetz commented Jul 15, 2023

@incertum, thanks for sharing the local test list, I ran the driver_tests til now and got the impression that it suffices, now I am fixing the issues. Strange that there is no single commits that changed the SCHEMA and modified all files that I see failing.
Also I could not decide if I should bump the SCHEMA_VERSION for the same reason.

Regarding make libscap_test; sudo ./test/libscap/libscap_test, I could not run this command on my source code, but I did manage to run: make unit-test-libscap; sudo libscap/test/unit-test-libscap

Are these runs equivalent?

@oheifetz oheifetz force-pushed the issue_515_listen branch 2 times, most recently from 25b72e4 to f8f4742 Compare July 16, 2023 13:44
@incertum
Copy link
Contributor

incertum commented Jul 16, 2023

https://github.com/falcosecurity/libs/tree/master/test/libscap
https://github.com/falcosecurity/libs/tree/master/userspace/libscap/test

Apologies that's on us with having started migrating out test suites to libs/test ...

We are working on updating developer docs everywhere, I'll keep this in mind when we get here.

We bump the schema versions manually and there are other PRs that are already bumping them, let's see where we once we are ready to merge this one.

@FedeDP
Copy link
Contributor

FedeDP commented Jul 17, 2023

/milestone driver-backlog

Reported by: github issue falcosecurity#515

Signed-off-by: Ofer Heifetz <oheifetz@gmail.com>
@incertum
Copy link
Contributor

@oheifetz we did reach new consensus, see here #1192 (comment) and will not require a new event type in cases like here.

Please accept our apologies for the unnecessary work we caused. Would you be willing to adjust these changes? If it's a consolation, I will also have to squash my changes in the loginuid PR ...

@poiana
Copy link
Contributor

poiana commented Jul 29, 2023

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • 1a6e81f Merge branch 'falcosecurity:master' into issue_515_listen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

1 similar comment
@poiana
Copy link
Contributor

poiana commented Jul 29, 2023

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • 1a6e81f Merge branch 'falcosecurity:master' into issue_515_listen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@poiana
Copy link
Contributor

poiana commented Jul 29, 2023

Adding label do-not-merge/contains-merge-commits because PR contains merge commits, which are not allowed in this repository.
Use git rebase to reapply your commits on top of the target branch. Detailed instructions for doing so can be found here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@oheifetz oheifetz closed this Jul 29, 2023
@oheifetz oheifetz deleted the issue_515_listen branch July 29, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants