-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
when we moved to github actions we deleted memory sanitise tests #3609
Comments
The points are
I agree these points. @niedbalski Could you check the sanitizing configuration? @edsiper How about blocking direct push to master ? |
i guess no comments |
most of the recent commits were directly to master w/o PR. 5 of the most recent 25 PR don't have passing tests, but those that are passing, the memory tests were commented out in the workflow, so its not really running all of them (which was the original intent of this issue). so i guess, is there a govenance model for this project? https://github.com/fluent/fluent-bit/blob/master/GOVERNANCE.md doesn't have anthing to say on best practices like:
i did the original work to get the unit tests online, and then did that again after they were disregarded and broke, so i'm loathe to step in again if its just not important to the maintainers. My last 3 rebase from the upstream of this project have all resulted in broken code (in 1 case it did not even compile). |
actually, all of them have a PR that was rebased and merged after CI passed (except one config file that added a comment). https://github.com/fluent/fluent-bit/pulls?q=is%3Apr+is%3Aclosed+ |
I agree with the points to be added to GOVERNANCE and be more strict about that. |
can you take a look at the missing sanitizers mentioned above ? |
Let me know your thoughts on this. |
Yeah, let's move forward with that
…On Wed, Jul 7, 2021, 10:09 Jorge Niedbalski ***@***.***> wrote:
The points are
1. Reinstate -DFLB_SANITIZE_MEMORY=On and -DFLB_SANITIZE_THREAD=On
2. We block master for PUSH for 100% of users. All code should go
through PR, and pass UT
I agree these points.
@niedbalski <https://github.com/niedbalski> Could you check the
sanitizing configuration?
@edsiper <https://github.com/edsiper> How about blocking direct push to
master ?
I believe it is better for this project to go to next step.
1. I will fix this
2. We can add a branch rule that disallows push for master (including
repository admins) without review/pr.
Let me know your thoughts on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2INXTVJ2YYBXGGNO7FQLTWR32JANCNFSM46KBVYGQ>
.
|
* Re-enable the FLB_SANITIZE_MEMORY and FLB_SANITIZE_THREAD on flags on unit tests. Fixes #3609
* Re-enable the FLB_SANITIZE_MEMORY and FLB_SANITIZE_THREAD on flags on unit tests. Fixes #3609
@nokute78 @edsiper I made the following changes:
That should fix this requirement |
@niedbalski Thank you for updating. By the way, is "Require branches to be up to date before merging" enabled? In my understanding, if one pull request is merged, any other pull requests can't be merged since they are out-of-date branch. |
* Re-enable the FLB_SANITIZE_MEMORY and FLB_SANITIZE_THREAD on flags on unit tests. Fixes fluent#3609
Bug Report
In
.github/workflows/unit-tests.yaml
we do not have -DFLB_SANITIZE_MEMORY=On nor -DFLB_SANITIZE_THREAD=OnWe now have code which is committed that fails and causes SIGSEGV that these tests correctly identify as failed. (see e.g. #3585, #3588)
In our CI, which does have these enabled, master no longer passes, showing things like:
In these 3 commits:
I had added support. This was removed for github workflow, please reinstate.
https://github.com/fluent/fluent-bit/pulls?q=is%3Apr+is%3Aclosed
shows that we still merge pull requests even when the existing tests fail. IMHO this is bad practice, bad governance.
We also have direct commits to master, w/ no PR, that fail the CI
e.g.
03f3339
suggest that:
a: we block master for PUSH for 100% of users. All code should go through PR, and pass UT
b: we reinstate the memory tests, we currently have crashes in released code that the tests are finding
c: if it doesn't pass the test, it doesn't merge.
The text was updated successfully, but these errors were encountered: