Skip to content

Extend system and bundled native library tests - #447

Merged
omajid merged 1 commit into
redhat-developer:mainfrom
omajid:system-or-bundled-libraries
Nov 11, 2026
Merged

omajid merged 1 commit into
redhat-developer:mainfrom
omajid:system-or-bundled-libraries

Conversation

@omajid

@omajid omajid commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Add two new tests

  1. Test system library declarationso n packages

Ensure that, for every library in the VMR, we explicitly bundle it or use the system copy.

This means that a new library being introduced, or an existing library being removed upstream would be caught by this and require the package to mark it as bundled or system.

Discover native library candidates from the VMR release branch matching the runtime being tested. For each candidate, check direct ELF dependencies resolved outside the .NET installation and bundled provides in installed .NET RPMs.

Skip known header-only (eg rapidjson) libraries and non-library directories (eg patches).

  1. Verify that all the expected system-libraries are correct

Check the expected libraries, including brotli, zstd, and zlib are all linked against the system.

Assisted-by: GPT-6.1 Terra noreply@openai.com

@omajid
omajid force-pushed the system-or-bundled-libraries branch 5 times, most recently from c9afc77 to 6bfd0e4 Compare November 5, 2026 16:24
@omajid omajid changed the title Test system and bundled native library declarations Extend system and bundled native library tests Nov 5, 2026
@omajid
omajid marked this pull request as ready for review November 5, 2026 17:09
@omajid

omajid commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

Like CI results show, every .NET 10 and 11 package we currently ship fails at least one new test. That's a packaging bug that needs to be fix on the packaging side.

@omajid
omajid requested review from nicrowe00 and tmds November 5, 2026 17:11
Add two new tests

1. Test system library declarationso n packages

Ensure that, for every library in the VMR, we explicitly bundle it or
use the system copy.

This means that a new library being introduced, or an existing library
being removed upstream would be caught by this and require the package
to mark it as bundled or system.

Discover native library candidates from the VMR release branch matching
the runtime being tested. For each candidate, check direct ELF dependencies
resolved outside the .NET installation and bundled provides in installed
.NET RPMs.

Skip known header-only (eg rapidjson) libraries and non-library
directories (eg patches).

2. Verify that all the expected system-libraries are correct

Check the expected libraries, including brotli, zstd, and zlib are all
linked against the system.

Assisted-by: GPT-6.1 Terra <noreply@openai.com>
@omajid
omajid force-pushed the system-or-bundled-libraries branch from 6bfd0e4 to df086b5 Compare November 5, 2026 22:20
@omajid

omajid commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

The fixes for .NET 11 should be staged everywhere, except for RHEL 8, already. I have re-targeted the test to require .NET 11.

I will extend this to .NET 10 later.

Comment thread .github/workflows/ci.yml
use_preview_copr: true
- container_image: registry.access.redhat.com/ubi8
dotnet_version: "11.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we remove .NET 8 and 9 from the matrix too?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah. Let me do a separate PR for that cleanup.

@omajid omajid Nov 11, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

PR is here: #44

Thanks!

Comment thread system-openssl/test.sh

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why was this deleted? Was it not supposed to be included?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@omajid
omajid merged commit 6a2ebc8 into redhat-developer:main Nov 11, 2026
24 of 34 checks passed
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