Skip to content

[Work Item #19887] Resolved ptests failure in util-linux package#17226

Open
SumitJenaHCL wants to merge 1 commit into
microsoft:3.0-devfrom
Kanishk-Bansal:topic_util-linux-3.0
Open

[Work Item #19887] Resolved ptests failure in util-linux package#17226
SumitJenaHCL wants to merge 1 commit into
microsoft:3.0-devfrom
Kanishk-Bansal:topic_util-linux-3.0

Conversation

@SumitJenaHCL
Copy link
Copy Markdown
Contributor

@SumitJenaHCL SumitJenaHCL commented May 14, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?
The package has regressed ptests under util-linux. The lslocks ofd--w ptest was flaky because proc exposed lock holders from unrelated host processes, intermittently breaking the row-count assertion. Running %check inside unshare --pid --fork --mount-proc gives the test a fresh PID namespace, so lslocks only sees the test's own processes — making the result deterministic.

Change Log
  • SPECS/util-linux/util-linux.spec
  • toolkit/resources/manifests/package/pkggen_core_aarch64.txt
  • toolkit/resources/manifests/package/pkggen_core_x86_64.txt
  • toolkit/resources/manifests/package/toolchain_aarch64.txt
  • toolkit/resources/manifests/package/toolchain_x86_64.txt
Does this affect the toolchain?

YES

Associated issues
  • #xxxx
Links to CVEs
Test Methodology

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels May 14, 2026
@SumitJenaHCL SumitJenaHCL force-pushed the topic_util-linux-3.0 branch 2 times, most recently from 869eb8b to 32934f7 Compare May 14, 2026 19:39
@SumitJenaHCL SumitJenaHCL force-pushed the topic_util-linux-3.0 branch from 32934f7 to 7748d91 Compare May 14, 2026 22:12
@SumitJenaHCL SumitJenaHCL marked this pull request as ready for review May 15, 2026 12:11
@SumitJenaHCL SumitJenaHCL requested a review from a team as a code owner May 15, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant