Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836560 - sys-apps/dbus-1.12.22 fails test - FAIL: test-bus-launch-helper.sh 1 ../bus/test-bus-launch-helper (exit status 134)
Summary: sys-apps/dbus-1.12.22 fails test - FAIL: test-bus-launch-helper.sh 1 ../bus/t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-03-31 19:23 UTC by Toralf Förster
Modified: 2022-04-22 23:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2022-03-31 19:23 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,65.76 KB, application/x-bzip)
2022-03-31 19:23 UTC, Toralf Förster
Details
environment (environment,171.68 KB, text/plain)
2022-03-31 19:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,43.91 KB, application/x-bzip)
2022-03-31 19:23 UTC, Toralf Förster
Details
sys-apps:dbus-1.12.22:20220331-190001.log.bz2 (sys-apps:dbus-1.12.22:20220331-190001.log.bz2,28.81 KB, application/x-bzip)
2022-03-31 19:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,109.12 KB, application/x-bzip)
2022-03-31 19:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-31 19:23:46 UTC
	< /var/tmp/portage/sys-apps/dbus-1.12.22/work/dbus-1.12.22/test/tap-test.sh.in > test-bus.sh
PASS: test-bus.sh 1 ../bus/test-bus
sed -e 's![@]RUN[@]!../bus/test-bus-launch-helper!' \
	< /var/tmp/portage/sys-apps/dbus-1.12.22/work/dbus-1.12.22/test/tap-test.sh.in > test-bus-launch-helper.sh
FAIL: test-bus-launch-helper.sh 1 ../bus/test-bus-launch-helper (exit status 134)
sed -e 's![@]RUN[@]!../bus/test-bus-system!' \
	< /var/tmp/portage/sys-apps/dbus-1.12.22/work/dbus-1.12.22/test/tap-test.sh.in > test-bus-system.sh

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4_test-20220307-094637

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.59.0
  [2]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4 *
  [2]   php8.0
  [3]   php8.1

  HEAD of ::gentoo
commit d160b203b0550c406ba5aa1f5a5956d01a62dd8c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 31 18:34:40 2022 +0000

    2022-03-31 18:34:39 UTC

emerge -qpvO sys-apps/dbus
[ebuild  N    ] sys-apps/dbus-1.12.22  USE="X debug systemd test -doc (-elogind) (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-03-31 19:23:48 UTC
Created attachment 768317 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-31 19:23:53 UTC
Created attachment 768318 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-03-31 19:23:55 UTC
Created attachment 768319 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-31 19:23:59 UTC
Created attachment 768320 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-31 19:24:00 UTC
The file size of ./files/logs.tar.bz2 is too big (222M) for an upload. For about 8 weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_systemd-j4_test-20220307-094637/var/tmp/tb/issues/20220331-210407-sys-apps_dbus-1.12.22/files/logs.tar.bz2 is valid.
Comment 6 Toralf Förster gentoo-dev 2022-03-31 19:24:06 UTC
Created attachment 768321 [details]
sys-apps:dbus-1.12.22:20220331-190001.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-31 19:24:07 UTC
Created attachment 768322 [details]
temp.tar.bz2
Comment 8 Mike Gilbert gentoo-dev 2022-03-31 19:52:58 UTC
From the log:

dbus[452]: open(/proc/self/oom_score_adj): Permission denied
Comment 9 Mike Gilbert gentoo-dev 2022-03-31 19:58:06 UTC
I can reproduce with FEATURES="usersandbox".
Comment 10 Larry the Git Cow gentoo-dev 2022-03-31 21:25:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51cdff93cfe4206c60e7d595d75b177762b30f50

commit 51cdff93cfe4206c60e7d595d75b177762b30f50
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-03-31 21:24:43 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-03-31 21:25:19 +0000

    sys-apps/dbus: addwrite /proc/self/oom_score_adj for tests
    
    Closes: https://bugs.gentoo.org/836560
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/dbus/dbus-1.12.22.ebuild | 3 +++
 sys-apps/dbus/dbus-1.14.0.ebuild  | 3 +++
 2 files changed, 6 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2022-04-21 16:53:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9b38dd67833e1705e985af6ecb5d46a4cf3747

commit 6c9b38dd67833e1705e985af6ecb5d46a4cf3747
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-04-21 16:52:03 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-04-21 16:53:14 +0000

    sys-apps/dbus: addwrite /proc for tests
    
    addwrite /proc/self/oom_score_adj is insufficent, possibly due to a bug
    in how libsandbox resolves the /proc/self symlink.
    
    Bug: https://bugs.gentoo.org/836560
    Closes: https://bugs.gentoo.org/839828
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/dbus/dbus-1.12.22.ebuild | 2 +-
 sys-apps/dbus/dbus-1.14.0.ebuild  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2022-04-22 23:54:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c17fe616d1b710aa29c84bcc32c3f22417fb201

commit 7c17fe616d1b710aa29c84bcc32c3f22417fb201
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-04-22 23:51:44 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-04-22 23:54:14 +0000

    sys-apps/dbus: do not open /proc/self/oom_score_adj for writing
    
    Bug: https://bugs.gentoo.org/836560
    Closes: https://bugs.gentoo.org/839795
    Bug: https://bugs.gentoo.org/839807
    Closes: https://bugs.gentoo.org/839834
    Closes: https://bugs.gentoo.org/839837
    Closes: https://bugs.gentoo.org/840119
    Closes: https://bugs.gentoo.org/840125
    Closes: https://bugs.gentoo.org/840161
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...{dbus-1.12.22.ebuild => dbus-1.12.22-r1.ebuild} |   6 +-
 .../{dbus-1.14.0.ebuild => dbus-1.14.0-r1.ebuild}  |   6 +-
 .../dbus/files/dbus-1.14.0-oom_score_adj.patch     | 115 +++++++++++++++++++++
 3 files changed, 121 insertions(+), 6 deletions(-)