Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843656 - dev-util/umockdev-0.17.10 fails tests
Summary: dev-util/umockdev-0.17.10 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/martinpitt/umockde...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-11 06:04 UTC by Agostino Sarubbo
Modified: 2022-05-23 19:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,84.90 KB, text/plain)
2022-05-11 06:04 UTC, Agostino Sarubbo
Details
1-testlog.txt (1-testlog.txt,55.56 KB, text/plain)
2022-05-11 06:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-11 06:04:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/umockdev-0.17.10 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-11 06:04:39 UTC
Created attachment 777992 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-05-11 06:04:41 UTC
Created attachment 777995 [details]
1-testlog.txt

1-testlog.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-05-11 06:04:41 UTC
Error(s) that match a know pattern:


3/4 umockdev / umockdev-run FAIL             0.34s   killed by signal 6 SIGABRT
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 06:09:03 UTC
3/4 umockdev / umockdev-run FAIL             0.34s   killed by signal 6 SIGABRT
20:20:07 GI_TYPELIB_PATH=/var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10-abi_x86_64.amd64 G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly TOP_SRCDIR=/var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10 MALLOC_CHECK_=3 PATH=/var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10-abi_x86_64.amd64:/var/tmp/portage/dev-util/umockdev-0.17.10/temp/python3.10/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin LD_LIBRARY_PATH=/var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10-abi_x86_64.amd64 MALLOC_PERTURB_=92 /var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10/src/umockdev-wrapper /var/tmp/portage/dev-util/umockdev-0.17.10/work/umockdev-0.17.10-abi_x86_64.amd64/test-umockdev-run
----------------------------------- output -----------------------------------
stdout:
# random seed: R02S7cdd458d2f30e7ef2f63be562b8a7d88
1..16
# Start of umockdev-run tests
ok 1 /umockdev-run/exit_code
ok 2 /umockdev-run/version
ok 3 /umockdev-run/pipes
ok 4 /umockdev-run/udevadm-block
ok 5 /umockdev-run/invalid-args
ok 6 /umockdev-run/invalid-device
[SKIP: gphoto2 not installed] [SKIP: gphoto2 not installed] [SKIP: gphoto2 not installed] [SKIP: gphoto2 not installed] ok 7 /umockdev-run/invalid-ioctl
ok 8 /umockdev-run/invalid-script
ok 9 /umockdev-run/invalid-program
Bail out! ERROR:test-umockdev-run.p/tests/test-umockdev-run.c:425:check_program_out: assertion failed (_tmp7_ == expected_out): ("" == "/dev/null character special file 1 3\n")
stderr:
sh: line 1: type: gphoto2: not found
sh: line 1: type: gphoto2: not found
sh: line 1: type: gphoto2: not found
sh: line 1: type: gphoto2: not found
**
ERROR:test-umockdev-run.p/tests/test-umockdev-run.c:425:check_program_out: assertion failed (_tmp7_ == expected_out): ("" == "/dev/null character special file 1 3\n")
------------------------------------------------------------------------------
Comment 5 Larry the Git Cow gentoo-dev 2022-05-23 19:45:46 UTC
The bug has been closed via the following commit(s):

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

commit b1ad5fd3e3a9ed71f4fa80c9d38a5954f70f3335
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-05-23 19:23:06 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-05-23 19:45:31 +0000

    dev-util/umockdev: Version bump to 0.17.12
    
    * Add upstream patch to skip test that fails under sandbox (bug #843656)
    
    Closes: https://bugs.gentoo.org/843656
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/umockdev/Manifest                         |  1 +
 ...umockdev-run-umockdev-record-null-roundtr.patch | 35 +++++++++++++
 dev-util/umockdev/umockdev-0.17.12.ebuild          | 57 ++++++++++++++++++++++
 3 files changed, 93 insertions(+)