Summary: | media-libs/libvpx-1.7.0 - Test fails on BE arches, ByteAlignmentTest.SwitchByteAlignment, ExternalFrameBufferTest.MinFrameBuffers tests and segfaults VP9/AltRefAqSegmentTest.TestNoMisMatchAltRefAQ0/1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chromium, herrtimson, jstein, matoro_bugzilla_gentoo, ppc |
Priority: | Normal | Keywords: | PullRequest, TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.chromium.org/p/webm/issues/detail?id=1665 | ||
See Also: |
https://github.com/gentoo/gentoo/pull/25425 https://github.com/gentoo/gentoo/pull/33880 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525, 793890, 833741, 896132 | ||
Attachments: |
build.log
emerge --info build.log.bz2 (sparc, 1.11.0) build.log.xz (ppc, 1.11.0) build.log.xz (ppc64, 1.11.0) mips test log |
Created attachment 597112 [details]
emerge --info
Out of curiosity I run the full testsuite (built v1.8.1 from upstream git) and reported the bug upstream. [...] [----------] Global test environment tear-down [==========] 1196 tests from 84 test cases ran. (16615848 ms total) [ PASSED ] 585 tests. [ FAILED ] 611 tests, listed below: [ FAILED ] ByteAlignmentTest.SwitchByteAlignment [ FAILED ] VP9DecodeMultiThreadedTest.NoTilesNonFrameParallel [ FAILED ] Alignments/ByteAlignmentTest.TestAlignment/3, where GetParam() = 12-byte object <00-00 00-80 00-00 00-00 01-00 00-00> [ FAILED ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/7, where GetParam() = (0xdece94, 0xc9e6cc pointing to "vp90-2-00-quantizer-07.webm") [...] The alignment test also shows that this doesn't handle alignment properly as seen on sparc: [ RUN ] ByteAlignmentTest.SwitchByteAlignment make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.10.0/work/libvpx-1.10.0/libs.mk:707: test_shard.0] Bus error The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bb5c035a58480d2a455619a02f4097b1e58a10 commit 73bb5c035a58480d2a455619a02f4097b1e58a10 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-30 04:20:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-30 04:21:14 +0000 media-libs/libvpx: add 1.11.0 Notably now forcing specific targets only where we know libvpx works well and otherwise using the generic implementation due to runtime breakage (and extensive test failures). Closes: https://bugs.gentoo.org/830254 Bug: https://bugs.gentoo.org/814668 Bug: https://bugs.gentoo.org/700902 Bug: https://bugs.gentoo.org/746173 Bug: https://bugs.gentoo.org/499336 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libvpx/Manifest | 2 + media-libs/libvpx/libvpx-1.11.0.ebuild | 136 +++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) Created attachment 761191 [details]
build.log.bz2 (sparc, 1.11.0)
195 FAILED TESTS
make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.11.0/work/libvpx-1.11.0/libs.mk:713: test_shard.0] Error 1
make: *** [Makefile:17: .DEFAULT] Error 2
Created attachment 767537 [details]
build.log.xz (ppc, 1.11.0)
195 FAILED TESTS
make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.11.0/work/libvpx-1.11.0/libs.mk:713: test_shard.0] Error 1
make: *** [Makefile:17: .DEFAULT] Error 2
Created attachment 768344 [details]
build.log.xz (ppc64, 1.11.0)
195 FAILED TESTS
make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.11.0/work/libvpx-1.11.0/libs.mk:713: test_shard.0] Error 1
make: *** [Makefile:17: .DEFAULT] Error 2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec37bd2f41bc11c77866ea97a40d32715bf6dde commit 3ec37bd2f41bc11c77866ea97a40d32715bf6dde Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-10 17:00:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-11 00:49:04 +0000 media-libs/libvpx: drop to ~sparc Too many test failures. Unclear if it truly works at runtime. Bug: https://bugs.gentoo.org/833741 Bug: https://bugs.gentoo.org/700902 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libvpx/libvpx-1.11.0.ebuild | 2 +- media-libs/libvpx/libvpx-1.9.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ernsteiswuerfel, does it work OK at runtime or should we try drop it somehow for stable ppc? Created attachment 855422 [details]
mips test log
In extremely dire state on BE mips as well, see test log. No segfaults, but 192 failures out of 954 total.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ca0b32e692045a8bd64d247c6857fce3667eb3 commit 42ca0b32e692045a8bd64d247c6857fce3667eb3 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2023-11-17 08:06:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-14 04:17:43 +0000 profiles/features/big-endian: mask media-libs/libvpx Bug: https://bugs.gentoo.org/700902 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Sam James <sam@gentoo.org> profiles/features/big-endian/package.mask | 48 +++++++++++++++++++++++++++ profiles/features/big-endian/package.use.mask | 17 ++++++++++ 2 files changed, 65 insertions(+) Masked on BE now. |
Created attachment 597110 [details] build.log [...] Note: This is test shard 1 of 10. [==========] Running 457 tests from 34 test cases. [----------] Global test environment set-up. [----------] 1 test from ByteAlignmentTest [ RUN ] ByteAlignmentTest.SwitchByteAlignment /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/test/byte_alignment_test.cc:165: Failure Expected: VPX_CODEC_OK Which is: 0 To be equal to: DecodeOneFrame(byte_alignments[i]) Which is: 7 [ FAILED ] ByteAlignmentTest.SwitchByteAlignment (2017 ms) [----------] 1 test from ByteAlignmentTest (2020 ms total) [----------] 1 test from ExternalFrameBufferTest [ RUN ] ExternalFrameBufferTest.MinFrameBuffers /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/test/external_frame_buffer_test.cc:427: Failure Expected: VPX_CODEC_OK Which is: 0 To be equal to: DecodeRemainingFrames() Which is: 7 [ FAILED ] ExternalFrameBufferTest.MinFrameBuffers (1853 ms) [----------] 1 test from ExternalFrameBufferTest (1855 ms total) [----------] 1 test from VP9FrameSizeTestsLarge [ RUN ] VP9FrameSizeTestsLarge.TestInvalidSizes [ OK ] VP9FrameSizeTestsLarge.TestInvalidSizes (0 ms) [----------] 1 test from VP9FrameSizeTestsLarge (0 ms total) [----------] 1 test from VP9/ActiveMapTest [ RUN ] VP9/ActiveMapTest.Test/0 [ OK ] VP9/ActiveMapTest.Test/0 (25674 ms) [----------] 1 test from VP9/ActiveMapTest (25675 ms total) [----------] 3 tests from VP9/AltRefAqSegmentTest [ RUN ] VP9/AltRefAqSegmentTest.TestNoMisMatchAltRefAQ0/1 /bin/sh: line 1: 2565 Segmentation fault (core dumped) ./test_libvpx make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/libs.mk:553: test_shard.0] Error 139 make: *** [Makefile:17: .DEFAULT] Error 2 * ERROR: media-libs/libvpx-1.7.0::gentoo failed (test phase): * emake failed When built with debugsyms the segfault gives this coredump: [...] Reading symbols from /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0-.ppc/test_libvpx... [New LWP 2565] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `./test_libvpx'. Program terminated with signal SIGSEGV, Segmentation fault. #0 get_filter_level (mi=<optimized out>, lfi_n=<optimized out>) at /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/vp9/common/vp9_loopfilter.c:658 658 const int filter_level = get_filter_level(lfi_n, mi);