Bug 1186282 - testsuite failures
Summary: testsuite failures
Keywords:
Status: CLOSED DUPLICATE of bug 1454652
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: util-linux
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1289485 1295396 1313485 1400961
TreeView+ depends on / blocked
 
Reported: 2015-01-27 10:57 UTC by Karel Volný
Modified: 2017-07-12 07:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-12 07:51:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2015-01-27 10:57:24 UTC
Description of problem:
Trying to run the internal testsuite, I'm getting some failures.

Version-Release number of selected component (if applicable):
util-linux-2.23.2-21.el7.src.rpm

How reproducible:
always

Steps to Reproduce:
1. install util-linux sources
2. compile the tests via make check
3. execute run.sh in tests subdirectory

Actual results:
...
       blkid: MD raid1 (last partition)      ... FAILED (blkid/md-raid1-part)
...
        fdisk: align 512/4K +MD               ... FAILED (fdisk/align-512-4K-md)
...
                : mount-uhelper-subvol        ... FAILED (libmount/context-utab-mount-uhelper-subvol)
                : umount-subvol               ... FAILED (libmount/context-utab-umount-subvol)
           ... FAILED (2 from 6 sub-tests)
...
         more: regexp                         ... FAILED (more/regexp)
...

  4 tests of 113 FAILED

Expected results:
All 113 tests PASSED.

Additional info:
there appears also selinux problem:
type=SYSCALL msg=audit(1422284639.871:110): arch=c000003e syscall=59 per=fbe0000 success=yes exit=0 a0=7fffbd26f21d a1=7fffbd26f3f8 a2=7fffbd26f410 a3=7fffbd26f090 items=0 ppid=3053 pid=3095 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="echo" exe="/usr/bin/echo" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1422284639.871:110): avc:  denied  { mmap_zero } for  pid=3095 comm="echo" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=memprotect

and there are additional failures on ppc

Comment 3 Karel Zak 2015-01-27 14:33:37 UTC
Thanks, notes:

- the tests we have in RHEL7 are not ready for ppc, the current upstream version should be better (for upstream we use travis-ci.org to test on all possible archs https://travis-ci.org/karelzak/util-linux)

- the btrfs tests (mount subvolume) is probably broken, there is undefined $TS_CMD_WIPEFS and it calls obsolete btrfsctl (now we use "btrfs")

For the rest I have to install RHEL7, on f21 the rest seems fine.


Note You need to log in before you can comment on or make changes to this bug.