Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708230

Summary: sys-process/procps-3.3.16 fails tests: FAIL: ps SCHED_BATCH scheduler
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: matoro_bugzilla_gentoo, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 916095    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-process:procps-3.3.16:20200204-083947.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-04 17:09:15 UTC
Running ./ps.test/ps_personality.exp ...
Running ./ps.test/ps_sched_batch.exp ...
FAIL: ps SCHED_BATCH scheduler

		=== ps Summary ===


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)






repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 07:33:32 +0000

emerge -qpvO sys-process/procps
[ebuild     U ] sys-process/procps-3.3.16 [3.3.15-r1] USE="kill ncurses nls (split-usr) test* unicode -elogind -modern-top (-selinux) -static-libs -systemd"
Comment 1 Toralf Förster gentoo-dev 2020-02-04 17:09:18 UTC
Created attachment 611570 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-04 17:09:21 UTC
Created attachment 611572 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-04 17:09:24 UTC
Created attachment 611574 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-04 17:09:27 UTC
Created attachment 611576 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-04 17:09:30 UTC
Created attachment 611578 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-04 17:09:32 UTC
Created attachment 611580 [details]
sys-process:procps-3.3.16:20200204-083947.log
Comment 7 Toralf Förster gentoo-dev 2020-02-04 17:09:35 UTC
Created attachment 611582 [details]
temp.tbz2
Comment 8 Jannik Glückert 2020-06-09 08:46:12 UTC
I only get this error when the package is emerged with SCHED_IDLE scheduling policy, i.e. via 
PORTAGE_IONICE_COMMAND="chrt -i -p 0 \${PID}"
commenting that out / creating a seperate package.env fixes it - looks to me like the sched_batch test fails if it's not started as SCHED_RR

tested with both 3.3.15-r1 and 3.3.16-r2
Comment 9 Agostino Sarubbo gentoo-dev 2022-02-13 09:59:05 UTC
Update summary. [something] is used when something refers to an overlay
Comment 10 matoro archtester 2023-12-16 16:19:42 UTC
Is there any way to restrict PORTAGE_SCHEDULING_POLICY on a per-ebuild basis?  Even if it's just a bail-out in pkg_setup etc?