Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835687 - net-irc/weechat-3.4.1 - fails unit test
Summary: net-irc/weechat-3.4.1 - fails unit test
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-03-20 17:30 UTC by ernsteiswuerfel
Modified: 2022-06-17 23:45 UTC (History)
0 users

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


Attachments
build.log (weechat-3.4.1:20220320-152839.log,326.90 KB, text/plain)
2022-03-20 17:30 UTC, ernsteiswuerfel
Details
LastTest.log (LastTest.log,76.25 KB, text/plain)
2022-03-20 17:30 UTC, ernsteiswuerfel
Details
emerge --info (file_835687.txt,6.46 KB, text/plain)
2022-03-20 17:31 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-03-20 17:30:22 UTC
Created attachment 767451 [details]
build.log

[...]
1: 
1: Errors (91 failures, 598 tests, 598 ran, 7405 checks, 0 ignored, 0 filtered out, 1051 ms)
1: 
1: 
1/1 Test #1: unit .............................***Failed    1.15 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   1.21 sec

The following tests FAILED:
	  1 - unit (Failed)
Errors while running CTest
Comment 1 ernsteiswuerfel archtester 2022-03-20 17:30:55 UTC
Created attachment 767452 [details]
LastTest.log
Comment 2 ernsteiswuerfel archtester 2022-03-20 17:31:29 UTC
Created attachment 767453 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 23:25:00 UTC
If you can still hit this w/ 3.5 could you report it upstream?
Comment 4 Georgy Yakovlev archtester gentoo-dev 2022-06-17 18:04:58 UTC
it's pretty picky about locale/LANG

can you retry with LANG=en_US.UTF-8 ?

I get only 3 failures on ppc64be with 3.4.1 and 3.5 with us locale.

CoreInfolist
TotpValidate
TotpGenerate
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-17 18:10:14 UTC
(In reply to Georgy Yakovlev from comment #4)
> it's pretty picky about locale/LANG
> 
> can you retry with LANG=en_US.UTF-8 ?
> 
> I get only 3 failures on ppc64be with 3.4.1 and 3.5 with us locale.
> 
> CoreInfolist
> TotpValidate
> TotpGenerate

the latter two are the ones I'm worried about because crypto
Comment 6 Georgy Yakovlev archtester gentoo-dev 2022-06-17 23:36:37 UTC
that's just totp

https://blog.weechat.org/post/2019/01/14/Support-of-TOTP

rarely used feature, it's used by running weechat in relay mode.

so unless someone runs weechat in relay mode on ppc64be, with totp - they are fine =)


I see code doing some funky shifting, probably does not account for byte order.

https://github.com/weechat/weechat/blob/c44b79dce7f2f2dec9e802b001dcf0acdfa049d0/src/core/wee-crypto.c#L315
Comment 7 Georgy Yakovlev archtester gentoo-dev 2022-06-17 23:45:03 UTC
yeah need to take it upstream.
will do a bit later unless someone else beats me to it.