Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669208 - sys-libs/glibc-2.28-r5: 4 tests fail on ppc64
Summary: sys-libs/glibc-2.28-r5: 4 tests fail on ppc64
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-10-21 14:56 UTC by ernsteiswuerfel
Modified: 2020-03-15 08:02 UTC (History)
0 users

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


Attachments
build.log.xz (glibc-2.28:20181021-141706.log.xz,507.15 KB, application/x-xz)
2018-10-21 14:56 UTC, ernsteiswuerfel
Details
emerge --info (file_669208.txt,6.44 KB, text/plain)
2018-10-21 14:56 UTC, ernsteiswuerfel
Details
gcc-7.3.0-r3 build.log.xz (failed building with glibc-2.28-r2) (gcc-7.3.0-r3:20181028-233310.log.xz,110.62 KB, application/x-xz)
2018-10-29 02:12 UTC, ernsteiswuerfel
Details
build.log.xz (sys-libs:glibc-2.28-r3:20181220-021047.log.xz,512.23 KB, application/x-xz)
2018-12-20 10:33 UTC, ernsteiswuerfel
Details
emerge --info (file_669208.txt,6.53 KB, text/plain)
2018-12-20 10:35 UTC, ernsteiswuerfel
Details
.out files of failed tests (failed_tests.out.tar.xz,3.70 KB, application/x-xz)
2018-12-20 10:38 UTC, ernsteiswuerfel
Details
kernel .config (4.19.13, ppc64, Talos II) (config_41913ppc64_P9,87.08 KB, text/plain)
2019-01-05 12:44 UTC, ernsteiswuerfel
Details
build.log.xz (glibc-2.28-r5:20190111-093216.log.xz,513.77 KB, text/plain)
2019-01-11 13:50 UTC, ernsteiswuerfel
Details
.out files of failed tests (failed_tests_out.tar.xz,3.79 KB, application/x-xz)
2019-01-11 13:51 UTC, ernsteiswuerfel
Details
emerge --info (file_669208.txt,6.54 KB, text/plain)
2019-01-11 13:51 UTC, ernsteiswuerfel
Details
emerge --info (file_669208.txt,6.67 KB, text/plain)
2019-02-03 11:34 UTC, ernsteiswuerfel
Details
build.log.xz (glibc-2.28-r5:20190203-105751.log.xz,514.55 KB, application/x-xz)
2019-02-03 11:36 UTC, ernsteiswuerfel
Details
kernel .config (4.19.19, ppc64, Talos II) (config_41919-p9,87.25 KB, text/plain)
2019-02-03 11:39 UTC, ernsteiswuerfel
Details
.out files of failed tests (out.tar.xz,2.77 KB, application/x-xz)
2019-02-03 11:53 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-10-21 14:56:23 UTC
Created attachment 552124 [details]
build.log.xz

[...]
FAIL: conform/XPG42/sys/wait.h/linknamespace
FAIL: conform/XPG42/syslog.h/linknamespace
FAIL: conform/XPG42/termios.h/linknamespace
FAIL: conform/XPG42/time.h/linknamespace
FAIL: conform/XPG42/ucontext.h/linknamespace
FAIL: conform/XPG42/ulimit.h/linknamespace
FAIL: conform/XPG42/unistd.h/conform
FAIL: conform/XPG42/unistd.h/linknamespace
FAIL: conform/XPG42/utmpx.h/linknamespace
FAIL: conform/XPG42/wordexp.h/linknamespace
FAIL: elf/tst-debug1
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: io/tst-fallocate
UNSUPPORTED: io/tst-fallocate64
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
FAIL: math/test-ildouble-fma
FAIL: math/test-ldouble-fma
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nptl/tst-tss-basic
FAIL: resolv/tst-resolv-ai_idn
FAIL: resolv/tst-resolv-ai_idn-latin1
FAIL: resolv/tst-resolv-ai_idn-nolibidn2
Summary of test results:
    471 FAIL
   4588 PASS
     11 UNSUPPORTED
     17 XFAIL
      2 XPASS
Comment 1 ernsteiswuerfel archtester 2018-10-21 14:56:58 UTC
Created attachment 552126 [details]
emerge --info
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-10-23 21:33:16 UTC
> [...]
> FAIL: conform/XPG42/sys/wait.h/linknamespace
> FAIL: conform/XPG42/syslog.h/linknamespace
> FAIL: conform/XPG42/termios.h/linknamespace
[...]

Unfortunately these >400 failures seem to be a bug in the build system and/or test suite. The failures occur only when updating from 2.27 to 2.28, but not when rebuilding 2.28 (2.28 headers are installed and(?) gcc has been built against 2.28).

Not sure yet how to handle that. Doesnt look critical to me though.

> FAIL: elf/tst-debug1

bug 659776 	

> FAIL: math/test-ildouble-fma
> FAIL: math/test-ldouble-fma

https://sourceware.org/glibc/wiki/Release/2.28#PowerPC_.2864-bit_hard-float.29
^ see upstream, known

> FAIL: nptl/tst-tss-basic

no idea

> FAIL: resolv/tst-resolv-ai_idn
> FAIL: resolv/tst-resolv-ai_idn-latin1
> FAIL: resolv/tst-resolv-ai_idn-nolibidn2

are you sure you have libidn-2.0.5 installed?!
Comment 3 ernsteiswuerfel archtester 2018-10-29 02:08:34 UTC
(In reply to Andreas K. Hüttel from comment #2)

> Unfortunately these >400 failures seem to be a bug in the build system
> and/or test suite. The failures occur only when updating from 2.27 to 2.28,
> but not when rebuilding 2.28 (2.28 headers are installed and(?) gcc has been
> built against 2.28).

Tried to build gcc-7.3.0, after building glibc-2.28-r2 (and binutils-2.30-r4), but the build failed. Starting point was a ppc64 system built with (gcc-7.3.0-r3, binutils-2.30-r4, glibc-2.27-r6).
 
> > FAIL: resolv/tst-resolv-ai_idn
> > FAIL: resolv/tst-resolv-ai_idn-latin1
> > FAIL: resolv/tst-resolv-ai_idn-nolibidn2
> 
> are you sure you have libidn-2.0.5 installed?!

Yes, libidn-2.0.5 was pulled by glibc-2.28.

Perhaps I shall try a more recent toolchain (gcc-8.2.0 + binutils 2.31.1) for this glibc-2.28 test when I have time to...
Comment 4 ernsteiswuerfel archtester 2018-10-29 02:12:20 UTC
Created attachment 553582 [details]
gcc-7.3.0-r3 build.log.xz (failed building with glibc-2.28-r2)
Comment 5 ernsteiswuerfel archtester 2018-12-20 10:33:54 UTC
Created attachment 558210 [details]
build.log.xz

Updated test results with toolchain already built against glibc-2.28-r3, libidn-2.0.5 installed.

[...]
FAIL: elf/tst-debug1
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: io/tst-fallocate
UNSUPPORTED: io/tst-fallocate64
FAIL: math/test-fenv
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
FAIL: math/test-ildouble-fma
FAIL: math/test-ldouble-fma
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nptl/tst-tss-basic
FAIL: nss/tst-nss-files-alias-leak
FAIL: resolv/tst-resolv-ai_idn
FAIL: resolv/tst-resolv-ai_idn-latin1
FAIL: resolv/tst-resolv-ai_idn-nolibidn2
Summary of test results:
      9 FAIL
   5059 PASS
     11 UNSUPPORTED
     17 XFAIL
      2 XPASS
make[1]: *** [Makefile:348: tests] Error 1
Comment 6 ernsteiswuerfel archtester 2018-12-20 10:35:28 UTC
Created attachment 558212 [details]
emerge --info
Comment 7 ernsteiswuerfel archtester 2018-12-20 10:38:02 UTC
Created attachment 558214 [details]
.out files of failed tests
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2019-01-05 12:29:19 UTC
Could you please attach the *kernel* .config of this machine? TIA
Comment 9 ernsteiswuerfel archtester 2019-01-05 12:44:14 UTC
Created attachment 559994 [details]
kernel .config (4.19.13, ppc64, Talos II)
Comment 10 ernsteiswuerfel archtester 2019-01-05 12:47:48 UTC
(In reply to ernsteiswuerfel from comment #9)
> Created attachment 559994 [details]
> kernel .config (4.19.13, ppc64, Talos II)
At the time of testing it was Linux-4.19.10-gentoo-ppc64-POWER9. I reused this .config with make oldconfig for the posted 4.19.13 which I am running now. Could also retest with glibc-2.28-r4 if helpful.
Comment 11 ernsteiswuerfel archtester 2019-01-11 13:50:38 UTC
Created attachment 560684 [details]
build.log.xz

FAIL: elf/tst-debug1
FAIL: math/test-fenv
FAIL: math/test-float32x-finite-ctanh
FAIL: math/test-ildouble-fma
FAIL: math/test-ldouble-fma
FAIL: nptl/tst-eintr1
FAIL: nss/tst-nss-files-alias-leak
FAIL: rt/tst-cputimer1
FAIL: rt/tst-cputimer2
FAIL: rt/tst-cputimer3
Summary of test results:
     10 FAIL
   5064 PASS
     11 UNSUPPORTED
     17 XFAIL
      2 XPASS
Comment 12 ernsteiswuerfel archtester 2019-01-11 13:51:26 UTC
Created attachment 560686 [details]
.out files of failed tests
Comment 13 ernsteiswuerfel archtester 2019-01-11 13:51:58 UTC
Created attachment 560688 [details]
emerge --info
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2019-02-02 15:03:39 UTC
(In reply to ernsteiswuerfel from comment #11)
> Created attachment 560684 [details]
> build.log.xz
> 
> FAIL: elf/tst-debug1
> FAIL: math/test-fenv
> FAIL: math/test-float32x-finite-ctanh
> FAIL: math/test-ildouble-fma
> FAIL: math/test-ldouble-fma
> FAIL: nptl/tst-eintr1
> FAIL: nss/tst-nss-files-alias-leak
> FAIL: rt/tst-cputimer1
> FAIL: rt/tst-cputimer2
> FAIL: rt/tst-cputimer3
> Summary of test results:
>      10 FAIL
>    5064 PASS
>      11 UNSUPPORTED
>      17 XFAIL
>       2 XPASS

Special request for the daring or crazy: please try this again with 
FEATURES="-sandbox -ipc-sandbox -mount-sandbox -network-sandbox -pid-sandbox -usersandbox"

(You should probably read up in man make.conf what that does first...)

Some of the tests are broken by emerge's advanced features, and it's not always easy to figure out what or why...
Comment 15 ernsteiswuerfel archtester 2019-02-03 11:32:48 UTC
(In reply to Andreas K. Hüttel from comment #14)
> Special request for the daring or crazy: please try this again with 
> FEATURES="-sandbox -ipc-sandbox -mount-sandbox -network-sandbox -pid-sandbox
> -usersandbox"
> 
> (You should probably read up in man make.conf what that does first...)
> 
> Some of the tests are broken by emerge's advanced features, and it's not
> always easy to figure out what or why...

FAIL: elf/tst-debug1
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: io/tst-fallocate
UNSUPPORTED: io/tst-fallocate64
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
FAIL: math/test-ildouble-fma
FAIL: math/test-ldouble-fma
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nss/tst-nss-files-alias-leak
UNSUPPORTED: resolv/tst-resolv-ai_idn
UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
Summary of test results:
      4 FAIL
   5068 PASS
     13 UNSUPPORTED
     17 XFAIL
      2 XPASS
Comment 16 ernsteiswuerfel archtester 2019-02-03 11:34:22 UTC
Created attachment 563604 [details]
emerge --info
Comment 17 ernsteiswuerfel archtester 2019-02-03 11:36:08 UTC
Created attachment 563618 [details]
build.log.xz
Comment 18 ernsteiswuerfel archtester 2019-02-03 11:39:51 UTC
Created attachment 563620 [details]
kernel .config (4.19.19, ppc64, Talos II)
Comment 19 ernsteiswuerfel archtester 2019-02-03 11:53:28 UTC
Created attachment 563624 [details]
.out files of failed tests
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2019-02-24 01:45:48 UTC
OK I'm hereby declaring this harmless...
Comment 21 ernsteiswuerfel archtester 2020-03-15 08:02:40 UTC
Continued with glibc-2.29 in bug #685098.