Skip to content

glibc: raise the test timeout so the huge page malloc test passes - #18396

Open
kgodara912 wants to merge 2 commits into
3.0-devfrom
kgodara/3.0-dev/glibc_ptest
Open

glibc: raise the test timeout so the huge page malloc test passes#18396
kgodara912 wants to merge 2 commits into
3.0-devfrom
kgodara/3.0-dev/glibc_ptest

Conversation

@kgodara912

@kgodara912 kgodara912 commented Aug 12, 2026

Copy link
Copy Markdown

malloc/tst-malloc-too-large-malloc-hugetlb2 was the only %check failure not covered by the expected failure list, so the whole test run was reported as failed. It is not a wrong result: the test is killed at the 20s default timeout while it needs about 35s, nearly all of it kernel time because the glibc.malloc.hugetlb=2 tunable exercises automatic huge pages. The plain and hugetlb1 variants of the same test pass.

Set TIMEOUTFACTOR=10 so it runs to completion and actually asserts, rather than adding it to the tolerated failures. Verified locally: the only remaining failures are the ones already listed, plus two WSL specific misc/tst-preadvwritev2 failures that do not occur in the pipeline.

Update the glibc NVRs in the toolchain and pkggen_core manifests for the release bump.

malloc/tst-malloc-too-large-malloc-hugetlb2 was the only %check failure not
covered by the expected failure list, so the whole test run was reported as
failed. It is not a wrong result: the test is killed at the 20s default
timeout while it needs about 35s, nearly all of it kernel time because the
glibc.malloc.hugetlb=2 tunable exercises automatic huge pages. The plain and
hugetlb1 variants of the same test pass.

Set TIMEOUTFACTOR=10 so it runs to completion and actually asserts, rather
than adding it to the tolerated failures. Verified locally: the only
remaining failures are the ones already listed, plus two WSL specific
misc/tst-preadvwritev2 failures that do not occur in the pipeline.

Update the glibc NVRs in the toolchain and pkggen_core manifests for the
release bump. The packages that BuildRequire glibc-static use a >= floor of
2.38-20, which 2.38-21 still satisfies, and the library itself is unchanged,
so no dependent packages need rebuilding.
@kgodara912

Copy link
Copy Markdown
Author

Buddy build

@kgodara912 kgodara912 added the ptest package testing (%check section in spec) label Aug 12, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Aug 12, 2026
check_static_glibc.py requires every spec with a glibc-static BuildRequires
to name the current glibc release exactly, so the release bump has to be
mirrored in all 16 consumers. Bump their releases and add changelog entries.

libcap is also pinned in the toolchain and pkggen_core manifests, so update
its NVRs there to match its own release bump.
@microsoft-github-policy-service microsoft-github-policy-service Bot added the specs-extended PR to fix SPECS-EXTENDED label Aug 12, 2026
@kgodara912
kgodara912 marked this pull request as ready for review August 12, 2026 05:26
@kgodara912
kgodara912 requested review from a team as code owners August 12, 2026 05:26
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 ptest package testing (%check section in spec) specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant