bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#79299: nproc-quota test failure


From: Collin Funk
Subject: bug#79299: nproc-quota test failure
Date: Sun, 24 Aug 2025 02:56:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Bruno Haible via GNU coreutils Bug Reports <bug-coreutils@gnu.org>
writes:

> Today's CI run produces a
>   FAIL: tests/nproc/nproc-quota
> on CentOS 7 and on Alpine Linux.
>
> Here are the two relevant log file portions.

Thanks. The Alpine one fails because sched_getscheduler is a stub that
always fails. I'm fine with just skipping that one with the attached
patch. This causes cpu_quota to always return ULONG_MAX.

The CentOS 7 one fails because SCHED_DEADLINE is not defined by
sched.h. But it is defined in linux/sched.h. The second patch, which is
for Gnulib, fixed it in my CentOS 7 container.

Will let others check before pushing. I don't know much about cgroups
and whether CentOS 7 is too old for this test to matter.

Collin

Attachment: 0001-tests-nproc-skip-test-for-cgroup-quotas-on-systems-u.patch
Description: Text Data

Attachment: 0001-nproc-Fix-missing-SCHED_DEADLINE-definition-on-CentO.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]