Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817908 - games-emulation/dosbox-staging-0.77.1 - fails gtest soft_limiter
Summary: games-emulation/dosbox-staging-0.77.1 - fails gtest soft_limiter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-10-12 22:18 UTC by ernsteiswuerfel
Modified: 2021-10-22 22:06 UTC (History)
0 users

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


Attachments
build.log (dosbox-staging-0.77.1:20211012-213738.log,143.99 KB, text/plain)
2021-10-12 22:18 UTC, ernsteiswuerfel
Details
testlog.txt (testlog.txt,28.03 KB, text/plain)
2021-10-12 22:19 UTC, ernsteiswuerfel
Details
emerge --info (file_817908.txt,5.94 KB, text/plain)
2021-10-12 22:19 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-10-12 22:18:46 UTC
Created attachment 744639 [details]
build.log

[...]
>>> Test phase: games-emulation/dosbox-staging-0.77.1
meson test -C /var/tmp/portage/games-emulation/dosbox-staging-0.77.1/work/dosbox-staging-0.77.1-build --num-processes 4
ninja: Entering directory `/var/tmp/portage/games-emulation/dosbox-staging-0.77.1/work/dosbox-staging-0.77.1-build'
ninja: no work to do.
1/7 gtest example             EXPECTEDFAIL    0.13s   exit status 1
2/7 gtest fs_utils            OK              0.21s
3/7 gtest string_utils        OK              0.35s
4/7 gtest setup               OK              0.40s
5/7 gtest support             OK              0.20s
6/7 gtest rwqueue             OK              2.00s
7/7 gtest soft_limiter        FAIL            1.99s   killed by signal 6 SIGABRT
>>> MALLOC_PERTURB_=163 /var/tmp/portage/games-emulation/dosbox-staging-0.77.1/work/dosbox-staging-0.77.1-build/tests/soft_limiter



Ok:                 5   
Expected Fail:      1   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /var/tmp/portage/games-emulation/dosbox-staging-0.77.1/work/dosbox-staging-0.77.1-build/meson-logs/testlog.txt
Comment 1 ernsteiswuerfel archtester 2021-10-12 22:19:06 UTC
Created attachment 744642 [details]
testlog.txt
Comment 2 ernsteiswuerfel archtester 2021-10-12 22:19:50 UTC
Created attachment 744645 [details]
emerge --info
Comment 3 Bernard Cafarelli gentoo-dev 2021-10-19 20:05:55 UTC
This seems to be limited to some 32-bit platforms:
https://github.com/dosbox-staging/dosbox-staging/issues/1230
(and it does pass locally with amd64)

I guess we could skip the test overall as it may turn up on other arches/systems too
Comment 4 ernsteiswuerfel archtester 2021-10-19 21:07:30 UTC
(In reply to Bernard Cafarelli from comment #3)
> This seems to be limited to some 32-bit platforms:
> https://github.com/dosbox-staging/dosbox-staging/issues/1230
> (and it does pass locally with amd64)
> 
> I guess we could skip the test overall as it may turn up on other
> arches/systems too
Thanks for the research! Yes, it really seems a 32bit thing. This test passes on ppc64 but fails on ppc too as I discovered recently.
Comment 5 Bernard Cafarelli gentoo-dev 2021-10-22 20:58:48 UTC
All right, for now I added a note and similar sed command as per upstream bug to skip this test (I also fixed automagic gtest dependency)
Comment 6 Larry the Git Cow gentoo-dev 2021-10-22 20:59:55 UTC
The bug has been closed via the following commit(s):

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

commit e404d6818cb47382e09284a27b576830f1d01175
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2021-10-22 20:59:28 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-10-22 20:59:45 +0000

    games-emulation/dosbox-staging: skip test failing on some platforms
    
    Also add USE=test logic for gtest dependency
    
    Closes: https://bugs.gentoo.org/817908
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Comment 7 ernsteiswuerfel archtester 2021-10-22 22:06:55 UTC
(In reply to Bernard Cafarelli from comment #5)
> All right, for now I added a note and similar sed command as per upstream
> bug to skip this test (I also fixed automagic gtest dependency)
Thanks!