Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703836 - sys-apps/rng-tools-6.7-r2 fails rngtesturandom.sh test
Summary: sys-apps/rng-tools-6.7-r2 fails rngtesturandom.sh test
Status: UNCONFIRMED
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: 2019-12-26 13:00 UTC by Alexey
Modified: 2020-01-09 01:36 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_703836.txt,15.27 KB, text/plain)
2019-12-26 13:00 UTC, Alexey
Details
build.log (build.log,25.67 KB, text/plain)
2019-12-26 13:00 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2019-12-26 13:00:22 UTC
Created attachment 600628 [details]
emerge --info

=========================================
   rng-tools 6.7: tests/test-suite.log
=========================================

# TOTAL: 3
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: rngtesturandom.sh
=======================

rngtest: bits received from input: 2000064
rngtest: bits sent to output: 1980000
rngtest: FIPS 140-2 successes: 99
rngtest: FIPS 140-2 failures: 1
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 1
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=794.729; avg=2033.421; max=3814.697)Mibits/s
rngtest: FIPS tests speed: (min=16.984; avg=30.165; max=31.064)Mibits/s
rngtest: output channel speed: (min=1.693; avg=9.655; max=18.626)Gibits/s
rngtest: Program run time: 64926 microseconds
FAIL rngtesturandom.sh (exit status: 1)
Comment 1 Alexey 2019-12-26 13:00:46 UTC
Created attachment 600630 [details]
build.log
Comment 2 Göktürk Yüksek archtester gentoo-dev 2020-01-09 00:42:07 UTC
In the log it says "See tests/test-suite.log". So I need that file for further analysis. Can you consistently reproduce this? Were you running rngd already at the time of this merge? If you system was low on entropy, this test may fail. It's not an indication of the package failure however.
Comment 3 Alexey 2020-01-09 01:13:41 UTC
tests/test-suite.log is pasted in the first comment - that's its whole content.

This is not a new installation, but just a world update, so I think I had the package installed before. I don't know what is rngd is, and I don't have it in "ps aux", and I don't have it in /usr/bin

> If you system was low on entropy, this test may fail.

I think the tests should be hermetic and not depend on state of my system at that moment in time. I'll try to rebuild it to check whether it happens again.
Comment 4 Alexey 2020-01-09 01:20:03 UTC
Eh. I think in the installation guide I missed the step of adding it to the boot level... And it's in usr/sbin, which is why I didn't see it in bin
Comment 5 Alexey 2020-01-09 01:36:59 UTC
So, if the test relies on rngd running already, is it testing the rngd which is running, or the new version of the package which is being installed?