Git Product home page Git Product logo

rngtest.jl's Issues

[PkgEval] RNGTest may have a testing issue on Julia 0.4 (2014-09-21)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-09-20 the testing status was Tests pass.
  • On 2014-09-21 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("RNGTest")' log
cc -std=c99 -shared -fPIC -O2 -I TestU01/include TestU01/src/unif01.c TestU01/src/swrite.c TestU01/src/bbattery.c TestU01/src/scomp.c TestU01/src/sknuth.c TestU01/src/smarsa.c TestU01/src/smultin.c TestU01/src/snpair.c TestU01/src/sres.c TestU01/src/sspectral.c TestU01/src/sstring.c TestU01/src/svaria.c TestU01/src/swalk.c TestU01/src/ufile.c TestU01/src/vectorsF2.c TestU01/src/chrono.c TestU01/src/gdef.c TestU01/src/num.c TestU01/src/util.c TestU01/src/bitset.c TestU01/src/mystr.c TestU01/src/tables.c TestU01/src/num2.c TestU01/src/gofw.c TestU01/src/fbar.c TestU01/src/fdist.c TestU01/src/gofs.c TestU01/src/fmass.c TestU01/src/statcoll.c TestU01/src/wdist.c TestU01/src/extractors.c -o libtestu01wrapper.so
INFO: Installing RNGTest v0.0.3
INFO: Building RNGTest
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of RNGTest
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using RNGTest' log
Julia Version 0.4.0-dev+712
Commit 4eb631e (2014-09-21 04:29 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

>>> test log
ERROR: test failed: all(hcat(RNGTest.swalk_RandomWalk1(f,1,1000000,0,30,150,150)...) .> pval)
 in expression: all(hcat(RNGTest.swalk_RandomWalk1(f,1,1000000,0,30,150,150)...) .> pval)
 in error at error.jl:21
 in default_handler at test.jl:25
 in do_test at test.jl:50
 in include at ./boot.jl:246
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:246
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_3605 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/RNGTest/test/tests.jl, in expression starting on line 51
while loading /home/idunning/pkgtest/.julia/v0.4/RNGTest/run_tests.jl, in expression starting on line 4
Test: BirthdaySpacings: OK
Test: Collision: OK
Test: Gap: OK
Test: SimpPoker: OK
Test: CouponCollector: OK
Test: MaxOft: OK
Test: WeightDistrib: OK
Test: MatrixRank: OK
Test: HammingIndep: OK
Test: RandomWalk: 

>>> end of log

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Tests possibly fail

I got this info when running a test just now, and it sometimes occurs:

ERROR: LoadError: LoadError: test failed: 0.000874804346016389 > 0.001
in expression: (RNGTest.sstring_HammingIndep(f,1,500000,20,10,300,0))[:Mean] > pval
in default_handler at test.jl:30
in do_test at test.jl:53

RNGTest.crush problem

When I invoke

julia> using Distributions

julia> gf = cdf(Gamma(), rand(Gamma()));

julia> RNGTest.crush(gf)
ERROR: no method crush(Float64,)

julia> 

I get a 'no method error'.

What's the problem?

[PkgEval] RNGTest may have a testing issue on Julia 0.3 (2015-08-12)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2015-08-03 the testing status was No tests detected.
  • On 2015-08-12 the testing status changed to Tests fail.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("RNGTest")' log
INFO: Installing RNGTest v0.0.4
INFO: Building RNGTest
cc -std=c99 -shared -fPIC -O2 -I TestU01/include TestU01/src/unif01.c TestU01/src/swrite.c TestU01/src/bbattery.c TestU01/src/scomp.c TestU01/src/sknuth.c TestU01/src/smarsa.c TestU01/src/smultin.c TestU01/src/snpair.c TestU01/src/sres.c TestU01/src/sspectral.c TestU01/src/sstring.c TestU01/src/svaria.c TestU01/src/swalk.c TestU01/src/ufile.c TestU01/src/vectorsF2.c TestU01/src/chrono.c TestU01/src/gdef.c TestU01/src/num.c TestU01/src/util.c TestU01/src/bitset.c TestU01/src/mystr.c TestU01/src/tables.c TestU01/src/num2.c TestU01/src/gofw.c TestU01/src/fbar.c TestU01/src/fdist.c TestU01/src/gofs.c TestU01/src/fmass.c TestU01/src/statcoll.c TestU01/src/wdist.c TestU01/src/extractors.c -o libtestu01wrapper.so
TestU01/src/swrite.c: In function ‘swrite_Chi2SumTest’:
TestU01/src/swrite.c:152:4: warning: format not a string literal and no format arguments [-Wformat-security]
    printf (str);
    ^
TestU01/src/swrite.c: In function ‘swrite_Chi2SumTestb’:
TestU01/src/swrite.c:166:4: warning: format not a string literal and no format arguments [-Wformat-security]
    printf (str);
    ^
In file included from /usr/include/string.h:640:0,
                 from TestU01/src/svaria.c:53:
In function ‘strncat’,
    inlined from ‘svaria_CollisionArgMax_00’ at TestU01/src/svaria.c:697:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^
In function ‘strncat’,
    inlined from ‘svaria_SumLogs’ at TestU01/src/svaria.c:434:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^
In function ‘strncat’,
    inlined from ‘svaria_WeightDistrib’ at TestU01/src/svaria.c:554:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^
In function ‘strncat’,
    inlined from ‘svaria_SumCollector’ at TestU01/src/svaria.c:905:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^
TestU01/src/gofw.c: In function ‘printMath2’:
TestU01/src/gofw.c:99:4: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf (f, S);
    ^
TestU01/src/gofw.c:109:4: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf (f, S);
    ^
TestU01/src/gofw.c: In function ‘gofw_WriteActiveTests2’:
TestU01/src/gofw.c:629:7: warning: format not a string literal and no format arguments [-Wformat-security]
       printf (S);
       ^
INFO: Package database updated

>>> 'Pkg.test("RNGTest")' log
Julia Version 0.3.11
Commit 483dbf5* (2015-07-27 06:18 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
INFO: Testing RNGTest
ERROR: IntTypes not defined
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/vagrant/.julia/v0.3/RNGTest/src/RNGTest.jl, in expression starting on line 23
while loading /home/vagrant/.julia/v0.3/RNGTest/test/runtests.jl, in expression starting on line 2
===============================[ ERROR: RNGTest ]===============================

failed process: Process(`/home/vagrant/julia/bin/julia /home/vagrant/.julia/v0.3/RNGTest/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: RNGTest had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:718
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354

>>> End of log

Calling bigcrushTestU01 multiple times results in crash

Ran into this using Revise; interrupting the procedure and trying to re-start resulted in an abort:

julia> RNGTest.bigcrushTestU01(rng)
^CERROR: InterruptException

julia> RNGTest.bigcrushTestU01(rng)


******************************************
ERROR in file unif01.c   on line  1233

unif01_CreateExternGenBits:   only 1 such generator can be in use
******************************************

Binary dependency for Windows?

I'd like to use this package on Windows.
Unfortunately I don't have the required environment setup to build the dependencies.
Would it be possible to provide a pre-compiled binary for Windows users?

[PkgEval] RNGTest may have a testing issue on Julia 0.4 (2014-09-24)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

  • On 2014-09-23 the testing status was Tests pass.
  • On 2014-09-24 the testing status changed to Tests fail, but package loads.

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("RNGTest")' log
cc -std=c99 -shared -fPIC -O2 -I TestU01/include TestU01/src/unif01.c TestU01/src/swrite.c TestU01/src/bbattery.c TestU01/src/scomp.c TestU01/src/sknuth.c TestU01/src/smarsa.c TestU01/src/smultin.c TestU01/src/snpair.c TestU01/src/sres.c TestU01/src/sspectral.c TestU01/src/sstring.c TestU01/src/svaria.c TestU01/src/swalk.c TestU01/src/ufile.c TestU01/src/vectorsF2.c TestU01/src/chrono.c TestU01/src/gdef.c TestU01/src/num.c TestU01/src/util.c TestU01/src/bitset.c TestU01/src/mystr.c TestU01/src/tables.c TestU01/src/num2.c TestU01/src/gofw.c TestU01/src/fbar.c TestU01/src/fdist.c TestU01/src/gofs.c TestU01/src/fmass.c TestU01/src/statcoll.c TestU01/src/wdist.c TestU01/src/extractors.c -o libtestu01wrapper.so
INFO: Installing RNGTest v0.0.3
INFO: Building RNGTest
INFO: Package database updated
INFO: METADATA is out-of-date a you may not have the latest version of RNGTest
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'using RNGTest' log
Julia Version 0.4.0-dev+745
Commit e67da0e (2014-09-24 07:26 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

>>> test log
ERROR: test failed: (0.0005405672127088978 > 0.001)
 in expression: RNGTest.smarsa_MatrixRank(f,1,20000,20,10,60,60) > pval
 in error at error.jl:21
 in default_handler at test.jl:25
 in do_test at test.jl:50
 in include at ./boot.jl:246
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:246
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_3620 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/RNGTest/test/tests.jl, in expression starting on line 41
while loading /home/idunning/pkgtest/.julia/v0.4/RNGTest/run_tests.jl, in expression starting on line 4
Test: BirthdaySpacings: OK
Test: Collision: OK
Test: Gap: OK
Test: SimpPoker: OK
Test: CouponCollector: OK
Test: MaxOft: OK
Test: WeightDistrib: OK
Test: MatrixRank: 

>>> end of log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.