Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1186282

Summary: testsuite failures
Product: Red Hat Enterprise Linux 7 Reporter: Karel Volný <kvolny>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: harald, jscotka, lmiksik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 07:51:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1289485, 1295396, 1313485, 1400961    

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.