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

Bug 720078

Summary: sys-apps/util-linux misc: mountpoint test fails
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 720024    
Attachments: build.log.bz2
mountpoint-default
mountpoint-mutually-exclusive
mountpoint-mutually-exclusive.err
mountpoint-nofollow

Description Agostino Sarubbo gentoo-dev 2020-04-30 06:45:14 UTC
This is an auto-filled bug because sys-apps/util-linux fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-30 06:45:21 UTC
Created attachment 635282 [details]
build.log.bz2

build log and emerge --info
Comment 2 Mike Gilbert gentoo-dev 2020-04-30 16:52:24 UTC
> misc: mountpoint: [01] default ... FAILED (misc/mountpoint-default)
> misc: mountpoint               ... FAILED (1 from 3 sub-tests)
Comment 3 Mike Gilbert gentoo-dev 2020-04-30 16:59:20 UTC
I cannot reproduce this.
Comment 4 Mike Gilbert gentoo-dev 2020-04-30 17:04:21 UTC
Please attach files matching the pattern below.

/var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1-abi_x86_64.amd64/tests/output/misc/mountpoint*
Comment 5 Agostino Sarubbo gentoo-dev 2020-05-01 13:11:54 UTC
(In reply to Mike Gilbert from comment #4)
> Please attach files matching the pattern below.
> 
> /var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1-
> abi_x86_64.amd64/tests/output/misc/mountpoint*

I have:
$ file mountpoint*
mountpoint:                        empty
mountpoint-default:                ASCII text
mountpoint-default.err:            empty
mountpoint.err:                    empty
mountpoint-mutually-exclusive:     ASCII text
mountpoint-mutually-exclusive.err: ASCII text
mountpoint-nofollow:               ASCII text
mountpoint-nofollow.err:           empty

I will attach only non empty files.
Comment 6 Agostino Sarubbo gentoo-dev 2020-05-01 13:12:44 UTC
Created attachment 635492 [details]
mountpoint-default

mountpoint-default
Comment 7 Agostino Sarubbo gentoo-dev 2020-05-01 13:12:46 UTC
Created attachment 635494 [details]
mountpoint-mutually-exclusive

mountpoint-mutually-exclusive
Comment 8 Agostino Sarubbo gentoo-dev 2020-05-01 13:12:48 UTC
Created attachment 635496 [details]
mountpoint-mutually-exclusive.err

mountpoint-mutually-exclusive.err
Comment 9 Agostino Sarubbo gentoo-dev 2020-05-01 13:12:51 UTC
Created attachment 635498 [details]
mountpoint-nofollow

mountpoint-nofollow
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-05-11 23:09:12 UTC
ago: I cannot reproduce this on infra's amd64 or remaining x86 boxes.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-13 07:18:06 UTC
I can reproduce this on arm64.

         misc: mountpoint: [01] default                      ... FAILED (misc/mountpoint-default)
         misc: mountpoint                                    ... FAILED (1 from 3 sub-tests)

# cat /var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1-.arm64/tests/output/misc/mountpoint*
./symlink-to-root is not a mountpoint
1
1
mountpoint: --devno and --nofollow are mutually exclusive
./symlink-to-root is not a mountpoint
1

----
Using https://github.com/trofi/gentoo-chrootiez to enter the chroot which may be relevant somehow.
Comment 12 Mike Gilbert gentoo-dev 2020-05-13 19:12:44 UTC
Does this test fail with the current stable version of util-linux?
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-14 06:21:16 UTC
(In reply to Mike Gilbert from comment #12)
> Does this test fail with the current stable version of util-linux?

No, can't seem to get it on =sys-apps/util-linux-2.33.2.