Skip to content

Command for Testing Local Install #4

@JamesTimothyMeech

Description

@JamesTimothyMeech

I am running this command python3 test_rng_example.py | ../build/bin/testu01_gateway -s as an attempt to test my local install of testu01_gateway using the included python script. I get this output from testu01 which seems to say that all of the tests have failed:

james@james-Laptop-13th-Gen-Intel-Core:~/Desktop/testu01_gateway/examples$ python3 test_rng_example.py | ../build/bin/testu01_gateway -s
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                 Starting SmallCrush
                 Version: TestU01 1.2.3
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


smarsa_BirthdaySpacings test:
-----------------------------------------------
   N =  1,  n = 5000000,  r =  0,    d = 1073741824,    t = 2,    p = 1


      Number of cells = d^t = 1152921504606846976
      Lambda = Poisson mean =      27.1051


----------------------------------------------------
Total expected number = N*Lambda      :      27.11
Total observed number                 : 4999998
p-value of test                       :   eps      *****


-----------------------------------------------
CPU time used                    :  00:00:00.20

Generator state:
10000000



***********************************************************
Test sknuth_Collision calling smultin_Multinomial

***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


smultin_Multinomial test:
-----------------------------------------------
   N =  1,  n = 5000000,  r =  0,   d = 65536,   t =  2,
       Sparse =   TRUE

       GenerCell = smultin_GenerCellSerial
       Number of cells = d^t =         4294967296
       Expected number per cell =  1 /  858.99346
       EColl = n^2 / (2k) =  2910.383046
       Hashing =   TRUE

       Collision test,    Mu =      2909.2534,    Sigma =    53.8957

-----------------------------------------------
Test Results for Collisions

Expected number of collisions = Mu    :     2909.25
Observed number of collisions         :  4999999
p-value of test                       :   eps      *****

-----------------------------
Total number of cells containing j balls

  j =  0                              :       4294967295
  j =  1                              :                0
  j =  2                              :                0
  j =  3                              :                0
  j =  4                              :                0
  j =  5                              :                0

-----------------------------------------------
CPU time used                    :  00:00:00.14

Generator state:
20000000



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


sknuth_Gap test:
-----------------------------------------------
   N =  1,  n = 200000,  r = 22,   Alpha =        0,   Beta  = 0.00390625

*********  WARNING in file  sknuth.c  on line  290
*********  sknuth_Gap:   one gap of length > n
*********  Interrupting the test



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


sknuth_SimpPoker test:
-----------------------------------------------
   N =  1,  n = 400000,  r = 24,   d =   64,   k =   64


-----------------------------------------------
Number of degrees of freedom          :   19
Chi-square statistic                  : 3.39e+9
p-value of test                       :   eps      *****

-----------------------------------------------
CPU time used                    :  00:00:00.13

Generator state:
45800001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


sknuth_CouponCollector test:
-----------------------------------------------
   N =  1,  n = 500000,  r = 26,   d =   16


-----------------------------------------------
Number of degrees of freedom          :   44
Chi-square statistic                  : 1.29e+6
p-value of test                       :   eps      *****

-----------------------------------------------
CPU time used                    :  00:00:00.14

Generator state:
76300001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


sknuth_MaxOft test:
-----------------------------------------------
   N =  1,  n = 2000000,  r =  0,   d = 100000,   t =  6

      Number of categories = 100000
      Expected number per category  = 20.00


-----------------------------------------------
Number of degrees of freedom          : 99999
Chi-square statistic                  :2.00e+11
p-value of test                       :   eps      *****


-----------------------------------------------
Anderson-Darling statistic            :   0.000
p-value of test                       : 1 - eps1    *****


-----------------------------------------------
CPU time used                    :  00:00:00.15

Generator state:
88300001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


svaria_WeightDistrib test:
-----------------------------------------------
   N =  1,  n = 200000,  r = 27,  k = 256,  Alpha =      0,  Beta =  0.125


-----------------------------------------------
Number of degrees of freedom          :   41
Chi-square statistic                  : 3.66e+9
p-value of test                       :   eps      *****

-----------------------------------------------
CPU time used                    :  00:00:00.22

Generator state:
139500001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


smarsa_MatrixRank test:
-----------------------------------------------
   N =  1,  n = 20000,  r = 20,    s = 10,    L = 60,    k = 60


-----------------------------------------------
Number of degrees of freedom          :    3
Chi-square statistic                  : 3.76e+6
p-value of test                       :   eps      *****

-----------------------------------------------
CPU time used                    :  00:00:00.07

Generator state:
146700001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


sstring_HammingIndep test:
-----------------------------------------------
   N =  1,  n = 500000,  r = 20,   s = 10,   L = 300,   d = 0



Counters with expected numbers >= 10
-----------------------------------------------
Number of degrees of freedom          : 2209
Chi-square statistic                  : 2.36e+8
p-value of test                       :   eps      *****

-----------------------------------------------
CPU time used                    :  00:00:00.21

Generator state:
176700001



***********************************************************
HOST = james-Laptop-13th-Gen-Intel-Core, Linux

UnknownRng


swalk_RandomWalk1 test:
-----------------------------------------------
   N =  1,  n = 1000000,  r =  0,   s = 30,   L0 =  150,   L1 =  150



-----------------------------------------------
Test on the values of the Statistic H

Number of degrees of freedom          :   52
ChiSquare statistic                   : 2.04e+7
p-value of test                       :   eps      *****


-----------------------------------------------
Test on the values of the Statistic M

Number of degrees of freedom          :   52
ChiSquare statistic                   : 2.38e+7
p-value of test                       :   eps      *****


-----------------------------------------------
Test on the values of the Statistic J

Number of degrees of freedom          :   75
ChiSquare statistic                   : 8.03e+7
p-value of test                       :   eps      *****


-----------------------------------------------
Test on the values of the Statistic R

Number of degrees of freedom          :   44
ChiSquare statistic                   : 1.77e+7
p-value of test                       :   eps      *****


-----------------------------------------------
Test on the values of the Statistic C

Number of degrees of freedom          :   26
ChiSquare statistic                   : 1.05e+7
p-value of test                       :   eps      *****


-----------------------------------------------
CPU time used                    :  00:00:00.30

Generator state:
181700001




========= Summary results of SmallCrush =========

 Version:          TestU01 1.2.3
 Generator:        UnknownRng
 Number of statistics:  15
 Total CPU time:   00:00:01.58
 The following tests gave p-values outside [0.001, 0.9990]:
 (eps  means a value < 1.0e-300):
 (eps1 means a value < 1.0e-15):

       Test                          p-value
 ----------------------------------------------
  1  BirthdaySpacings                 eps  
  2  Collision                        eps  
  3  Gap                              eps  
  4  SimpPoker                        eps  
  5  CouponCollector                  eps  
  6  MaxOft                           eps  
  6  MaxOft AD                      1 - eps1
  7  WeightDistrib                    eps  
  8  MatrixRank                       eps  
  9  HammingIndep                     eps  
 10  RandomWalk1 H                    eps  
 10  RandomWalk1 M                    eps  
 10  RandomWalk1 J                    eps  
 10  RandomWalk1 R                    eps  
 10  RandomWalk1 C                    eps  
 ----------------------------------------------



Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

What is they best way for me to debug this? Presumably not all tests should fail with the test script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions