Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660926 - sys-apps/rng-tools-6.3 : [TEST] FAIL: rngtesturandom.sh
Summary: sys-apps/rng-tools-6.3 : [TEST] FAIL: rngtesturandom.sh
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-07-11 16:46 UTC by Toralf Förster
Modified: 2019-06-05 18:55 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2018-07-11 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.91 KB, text/plain)
2018-07-11 16:46 UTC, Toralf Förster
Details
environment (environment,63.93 KB, text/plain)
2018-07-11 16:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.25 KB, application/x-bzip)
2018-07-11 16:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.26 KB, application/x-bzip)
2018-07-11 16:47 UTC, Toralf Förster
Details
sys-apps:rng-tools-6.3:20180711-120239.log (sys-apps:rng-tools-6.3:20180711-120239.log,10.75 KB, text/plain)
2018-07-11 16:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.17 KB, application/x-bzip)
2018-07-11 16:47 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,11.43 KB, application/x-bzip)
2018-07-11 16:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-11 16:46:48 UTC
make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.3/work/rng-tools-6.3/tests'
make[3]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.3/work/rng-tools-6.3/tests'
FAIL: rngtesturandom.sh
PASS: rngtestzero.sh
============================================================================
Testsuite summary for rng-tools 6

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl-abi32+64-test_20180707-092238

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)




emerge -qpv sys-apps/rng-tools
[ebuild  N    ] sys-apps/rng-tools-6.3  USE="-jitterentropy -nistbeacon (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2018-07-11 16:46:51 UTC
Created attachment 539140 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-11 16:46:55 UTC
Created attachment 539142 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-07-11 16:46:58 UTC
Created attachment 539144 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-07-11 16:47:01 UTC
Created attachment 539146 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-07-11 16:47:04 UTC
Created attachment 539148 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-11 16:47:07 UTC
Created attachment 539150 [details]
sys-apps:rng-tools-6.3:20180711-120239.log
Comment 7 Toralf Förster gentoo-dev 2018-07-11 16:47:10 UTC
Created attachment 539152 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-07-11 16:47:13 UTC
Created attachment 539154 [details]
tests.tbz2
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-12 00:05:09 UTC
From rngtesturandom.sh.log:

> rngtest: FIPS 140-2 failures: 1

Looks like a problem with your image/system. Your /dev/urandom source doesn't provide valid FIPS 140-2 randomness.
Comment 10 Toralf Förster gentoo-dev 2018-07-12 18:01:16 UTC
(In reply to Thomas Deutschmann from comment #9)
will investigate, but b/c it passes tests fine at 2 other (test) images and only failed at this particular image.

FWIW /dev is bind-mounted from the host: https://github.com/toralf/tinderbox/blob/master/bin/chr.sh#L22 and currently I have 11 images running in parallel, OTOH I do have timer_entropyd, haveged and rngd runnning at the host.
Comment 11 Göktürk Yüksek archtester gentoo-dev 2019-06-05 18:55:33 UTC
There haven't been any other bugs on this for the rng-tools releases following this one. 6.3 is not in the tree anymore. FIPS failure says more about the available entropy on your system. Bind mounting your /dev certainly helps but the other 10 images are also consuming from the same entropy pool. Feel free to reopen if the problem still persists.