Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876613 - x11-libs/wxGTK-3.0.5.1 fails tests
Summary: x11-libs/wxGTK-3.0.5.1 fails tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-10-10 17:32 UTC by Jonathan Lovelace
Modified: 2022-10-10 23:52 UTC (History)
1 user (show)

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


Attachments
x11-libs:wxGTK-3.0.5.1:20221010-165850.log.gz (x11-libs:wxGTK-3.0.5.1:20221010-165850.log.gz,73.82 KB, application/gzip)
2022-10-10 17:33 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.27 KB, text/plain)
2022-10-10 17:33 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-10-10 17:32:36 UTC
When rebuilding (because of flac dependency subslot change), =x11-libs/wxGTK-3.0.5.1 fails two tests. All tests passed when wxGTK was last built, back in July.

The test suite reported these assertion failures:

/var/tmp/portage/x11-libs/wxGTK-3.0.5.1/work/wxWidgets-3.0.5.1/tests/intl/intltest.cpp:206:Assertion
Test name: IntlTestCase::DateTimeFmtFrench
equality assertion failed
- Expected: %a %d %b %Y %H:%M:%S %Z
- Actual  : %a %d %b %Y %H:%M:%S
- French date and time

/var/tmp/portage/x11-libs/wxGTK-3.0.5.1/work/wxWidgets-3.0.5.1/tests/misc/dynamiclib.cpp:76:Assertion
Test name: DynamicLibraryTestCase::Load
assertion failed
- Expression: lib.IsLoaded()

Failures !!!
Comment 1 Jonathan Lovelace 2022-10-10 17:33:35 UTC
Created attachment 823498 [details]
x11-libs:wxGTK-3.0.5.1:20221010-165850.log.gz
Comment 2 Jonathan Lovelace 2022-10-10 17:33:53 UTC
Created attachment 823501 [details]
emerge-info.txt
Comment 3 matoro archtester 2022-10-10 20:36:46 UTC
Can't repro the DateTime one (we probably just need to set locale) but the DynamicLibrary one does repro on amd64 - trying to find how I missed this.  I did all my testing on sparc and I'm positive everything passed there.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 20:37:45 UTC
(In reply to matoro from comment #3)
> Can't repro the DateTime one (we probably just need to set locale) but the
> DynamicLibrary one does repro on amd64 - trying to find how I missed this. 
> I did all my testing on sparc and I'm positive everything passed there.

*complete* guess would be that it doesn't like sandbox and LD_PRELOAD ordering affects it.
Comment 5 matoro archtester 2022-10-10 23:52:59 UTC
This is looking even uglier than I thought.  I tested on ppc64le out of curiosity, and it does NOT fail the DynamicLibrary test but does have a signed/unsigned char failure!

/var/tmp/portage/x11-libs/wxGTK-3.0.5.1/work/wxWidgets-3.0.5.1/tests/strings/vararg.cpp:136:Assertion
Test name: VarArgTestCase::CharPrintf
equality assertion failed
- Expected: value is -16 (int)
- Actual  : value is 240 (int)

Failures !!!
Run: 1242   Failure total: 1   Failures: 1   Errors: 0


And this isn't even half of the test suite for 3.0, this is just the ones that can run without a GUI.  I didn't even bring in the GUI tests because they didn't work.

Shouldn't have brought this in without testing across more architectures.

Plus we can't report anything to upstream because they've moved on from 3.0 and the test framework in 3.2 is completely different.

Maybe we should just give up, revert and say no tests until we're caught up with upstream?  It's pretty bad to be this far behind.