Ticket #1356 (new defect)

Opened 5 months ago

Last modified 7 weeks ago

WHIRLPOOL tests fail on arm7

Reported by: steffen86 Owned by:
Priority: MinorRelease Milestone:
Component: core/paludis Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

I'm running gentoo with a recent mainline kernel and paludis on an odroid xu4 (arm7). A few month ago after some updates I suddenly couldn't install any packages as the whirlpool check after the download always failed with any package. Temporary I can make it work again by removing the whirlpool hash from the Manifest file in the portage tree but of course with every cave sync the problem is back again.

First thing I tried was to build another version of paludis without success. Then I enabled the test use flag and voila 3 of the tests failed including the whirlpool test.

Then I cloned the main paludis repo and compiled paludis directly from source. After building everything without any problems, I also built the tests and got the same three errornous tests.

The last thing I tried was to upgrade my gcc to 6.3.0 which didn't change anything.

As I haven't found anything on google and the fact that it worked before, I suspect a library which might be broken but after reading some of the source code of paludis I think the whirlpool algorithm doesn't rely on any other lib thus it might be something with the architecture?

...

        Start  56: tail_output_stream
 56/130 Test  #56: tail_output_stream ...............   Passed    0.12 sec
        Start  57: thread_pool
 57/130 Test  #57: thread_pool ......................   Passed    0.14 sec
        Start  58: tokeniser
 58/130 Test  #58: tokeniser ........................   Passed    0.21 sec
        Start  59: tribool
 59/130 Test  #59: tribool ..........................   Passed    0.21 sec
        Start  60: whirlpool
 60/130 Test  #60: whirlpool ........................***Failed    1.06 sec
        Start  61: wrapped_forward_iterator
 61/130 Test  #61: wrapped_forward_iterator .........   Passed    0.24 sec
        Start  62: wrapped_value
 62/130 Test  #62: wrapped_value ....................   Passed    0.15 sec
        Start  63: config_file
 63/130 Test  #63: config_file ......................   Passed    0.46 sec
        Start  64: fs_iterator
 64/130 Test  #64: fs_iterator ......................   Passed    0.27 sec

...

        Start  79: vdb_repository
 79/130 Test  #79: vdb_repository ...................   Passed  319.42 sec
        Start  80: vdb_repository_eapis
 80/130 Test  #80: vdb_repository_eapis .............   Passed  943.71 sec
        Start  81: vdb_repository_cache
 81/130 Test  #81: vdb_repository_cache .............   Passed  200.30 sec
        Start  82: e_repository
 82/130 Test  #82: e_repository .....................***Failed  120.51 sec
        Start  83: e_repository_0
 83/130 Test  #83: e_repository_0 ...................   Passed  366.88 sec
        Start  84: e_repository_1
 84/130 Test  #84: e_repository_1 ...................   Passed   85.28 sec
        Start  85: e_repository_2
 85/130 Test  #85: e_repository_2 ...................   Passed  176.62 sec

...

        Start  87: e_repository_4
 87/130 Test  #87: e_repository_4 ...................   Passed  301.95 sec
        Start  88: e_repository_5
 88/130 Test  #88: e_repository_5 ...................   Passed  541.49 sec
        Start  89: e_repository_6
 89/130 Test  #89: e_repository_6 ...................***Failed  765.30 sec
        Start  90: e_repository_ever
 90/130 Test  #90: e_repository_ever ................   Passed  113.82 sec
        Start  91: e_repository_exheres_0
 91/130 Test  #91: e_repository_exheres_0 ...........   Passed  632.29 sec

...

98% tests passed, 3 tests failed out of 130

Total Test time (real) = 6305.31 sec

The following tests FAILED:
         60 - whirlpool (Failed)
         82 - e_repository (Failed)
         89 - e_repository_6 (Failed)
Errors while running CTest
make: *** [Makefile:130: test] Error 8

Attachments

0001-use-correct-type-when-stringifying-whirlpool-checksu.patch Download (797 bytes) - added by filko_ 5 months ago.
correction

Change History

Changed 5 months ago by filko_

correction

comment:1 follow-up: ↓ 3 Changed 5 months ago by filko_

Submitting correction here as gerrit hates me.

comment:2 Changed 5 months ago by steffen86

I tried that patch on the current master. Two of the three tests now pass but the No 89 still fails:

        Start  87: e_repository_4
 87/130 Test  #87: e_repository_4 ...................   Passed  308.20 sec
        Start  88: e_repository_5
 88/130 Test  #88: e_repository_5 ...................   Passed  568.10 sec
        Start  89: e_repository_6
 89/130 Test  #89: e_repository_6 ...................***Failed  869.19 sec
        Start  90: e_repository_ever
 90/130 Test  #90: e_repository_ever ................   Passed  112.10 sec
        Start  91: e_repository_exheres_0
 91/130 Test  #91: e_repository_exheres_0 ...........   Passed  698.20 sec

...

99% tests passed, 1 tests failed out of 130

Total Test time (real) = 6663.51 sec

The following tests FAILED:
         89 - e_repository_6 (Failed)
Errors while running CTest
make: *** [Makefile:130: test] Error 8

comment:3 in reply to: ↑ 1 Changed 5 months ago by sss123next

Replying to filko_:

Submitting correction here as gerrit hates me.

does not "uint64_t" more appropriate ?

comment:4 Changed 7 weeks ago by MageSlayer

Same issue under Gentoo x32 with paludis-3.0.0_pre20170219

Patching with uint64_t solves the issue. Please commit it.

Last edited 7 weeks ago by MageSlayer (previous) (diff)
Note: See TracTickets for help on using tickets.