Skip to content

CI: always run sanitizers, fix ntf-core build#1186

Open
678098 wants to merge 4 commits intomainfrom
678098-patch-5
Open

CI: always run sanitizers, fix ntf-core build#1186
678098 wants to merge 4 commits intomainfrom
678098-patch-5

Conversation

@678098
Copy link
Collaborator

@678098 678098 commented Mar 8, 2026

No description provided.

@678098 678098 requested a review from a team as a code owner March 8, 2026 08:51
678098 added 2 commits March 8, 2026 11:11
Flaky tests should not prevent sanitizers from running.

Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net>
Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net>
@678098 678098 changed the title CI: always run sanitizers CI: always run sanitizers, fix ntf-core build Mar 8, 2026
678098 added 2 commits March 8, 2026 12:47
Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net>
Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net>
Copy link
Collaborator

@pniedzielski pniedzielski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need to consider consolidating the number of places and ways we build BDE and NTF. We sort of did this with build-ubuntu.yaml, but the prometheus build, build-ubuntu.sh, and build-darwin.sh have similar issues.

--without-warnings-as-errors \
--without-usage-examples \
--without-applications \
--with-zlib \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't really matter, but if we do it we should make it true across every place we build NTF in the repo (and Python SDK too), since that inconsistency was the source of the bug this PR fixes. I'd rather just keep it as is, no harm no foul.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we never use ntf-core level traffic compression, so it is not necessary to build it with zlib or any other compression library. We use zlib to compress payload before sending it to ntc

--without-zlib \
--without-zstd \
--without-lz4 \
--without-openssl \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Core issue of this PR was the build flags are different across every place we build NTF, and we missed one place. I think we should update everywhere to be the same if we update; or we should install openssl-dev everywhere.

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 this pull request may close these issues.

2 participants