Summary: | dev-libs/protobuf-3.15.8 fails tests protobuf-test:AnyTest.TestPackFromSerializationExceedsSizeLimit, protobuf-test:ArenaTest.BlockSizeSmallerThanAllocation and protobuf-test:ArenaTest.SpaceAllocated_and_Used on 32-bit architectures | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, paolo.pedroni |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://github.com/protocolbuffers/protobuf/issues/8460 https://github.com/protocolbuffers/protobuf/issues/8459 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 787887 | ||
Attachments: |
build.log
protobuf-test.log.bz2 test-suite.log.bz2 |
Description
Sam James
2021-05-05 23:54:50 UTC
Created attachment 706260 [details]
protobuf-test.log.bz2
[==========] 2183 tests from 198 test suites ran. (16934 ms total)
[ PASSED ] 2180 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AnyTest.TestPackFromSerializationExceedsSizeLimit
[ FAILED ] ArenaTest.SpaceAllocated_and_Used
[ FAILED ] ArenaTest.BlockSizeSmallerThanAllocation
Created attachment 706263 [details]
test-suite.log.bz2
[ RUN ] AnyTest.TestPackFromSerializationExceedsSizeLimit
unknown file: Failure
C++ exception with description "basic_string::_M_replace_aux" thrown in the test body.
[ FAILED ] AnyTest.TestPackFromSerializationExceedsSizeLimit (1 ms)
----
[ RUN ] ArenaTest.SpaceAllocated_and_Used
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1217: Failure
Expected equality of these values:
0
arena_2.SpaceUsed()
Which is: 4
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1221: Failure
Expected equality of these values:
Align8(55)
Which is: 56
arena_2.SpaceUsed()
Which is: 60
[ FAILED ] ArenaTest.SpaceAllocated_and_Used (0 ms)
[ RUN ] ArenaTest.BlockSizeDoubling
[ OK ] ArenaTest.BlockSizeDoubling (0 ms)
[ RUN ] ArenaTest.Alignment
[ OK ] ArenaTest.Alignment (0 ms)
[ RUN ] ArenaTest.BlockSizeSmallerThanAllocation
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1260: Failure
Expected equality of these values:
8
arena.SpaceUsed()
Which is: 12
/var/tmp/portage/dev-libs/protobuf-3.15.8/work/protobuf-3.15.8/src/google/protobuf/arena_unittest.cc:1264: Failure
Expected equality of these values:
16
arena.SpaceUsed()
Which is: 20
[ FAILED ] ArenaTest.BlockSizeSmallerThanAllocation (2 ms)
----
It's not ARM only: I have the exact same errors in the abi_x86_32 portion of a multilib amd64 system. The same failures on PPC32? (In reply to Arfrever Frehtes Taifersar Arahesis from comment #4) > The same failures on PPC32? Same exact failures. I will probably disable these 3 tests on 32-bit ABIs. Also apparently ProtoBuf 3.16.0 was released today. It is unlikely to fix problem, but I will add it firstly to allow you to test it. These 3 tests fail in ProtoBuf 3.16.0 on x86_32. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929e2ffe3708f6c6d2f409fa50b6a222874d4319 commit 929e2ffe3708f6c6d2f409fa50b6a222874d4319 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2021-05-26 00:00:00 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-05-31 23:01:39 +0000 dev-libs/protobuf: Disable tests failing on 32-bit architectures. Closes: https://bugs.gentoo.org/788436 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-libs/protobuf/protobuf-3.15.0.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.1.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.2.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.3.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.4.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.5.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.6.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.7.ebuild | 9 +++++++++ dev-libs/protobuf/protobuf-3.15.8.ebuild | 9 +++++++++ 9 files changed, 81 insertions(+) |