Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST test failure on Ubuntu, random.seed #1682

Closed
josef-pkt opened this issue May 22, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@josef-pkt
Copy link
Member

commented May 22, 2014

test failure on Ubuntu pythonxy testing introduced in #1679

https://launchpadlibrarian.net/176078294/buildlog_ubuntu-saucy-i386.statsmodels_0.6.0~ppa18~revno-1649~ubuntu13.10.1_UPLOADING.txt.gz

64bit version is green
seed too large ?

======================================================================
ERROR: statsmodels.genmod.tests.test_glm.TestGlmPoissonOffset.test_offset_exposure
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/buildd/statsmodels-0.6.0~ppa18~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/genmod/tests/test_glm.py", line 499, in test_offset_exposure
    np.random.seed(38230482384)
  File "mtrand.pyx", line 600, in mtrand.RandomState.seed (numpy/random/mtrand/mtrand.c:5270)
ValueError: object of too small depth for desired array

======================================================================
ERROR: statsmodels.genmod.tests.test_glm.TestGlmPoissonOffset.test_predict
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/buildd/statsmodels-0.6.0~ppa18~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/genmod/tests/test_glm.py", line 512, in test_predict
    np.random.seed(38230482384)
  File "mtrand.pyx", line 600, in mtrand.RandomState.seed (numpy/random/mtrand/mtrand.c:5270)
ValueError: object of too small depth for desired array

same test failure on both Debian nipy testing machines with different error message, and breaks on a different line

======================================================================
ERROR: statsmodels.genmod.tests.test_glm.TestGlmPoissonOffset.test_offset_exposure
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-sid/statsmodels-py2_x-sid-sparc/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/nd-bb-slave-sparc-sid/statsmodels-py2_x-sid-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/genmod/tests/test_glm.py", line 499, in test_offset_exposure
    np.random.seed(38230482384)
  File "mtrand.pyx", line 606, in mtrand.RandomState.seed (numpy/random/mtrand/mtrand.c:5712)
OverflowError: long int too large to convert

======================================================================
ERROR: statsmodels.genmod.tests.test_glm.TestGlmPoissonOffset.test_predict
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-sid/statsmodels-py2_x-sid-sparc/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/nd-bb-slave-sparc-sid/statsmodels-py2_x-sid-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/genmod/tests/test_glm.py", line 512, in test_predict
    np.random.seed(38230482384)
  File "mtrand.pyx", line 606, in mtrand.RandomState.seed (numpy/random/mtrand/mtrand.c:5712)
OverflowError: long int too large to convert

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

@josef-pkt josef-pkt changed the title TST test failure on Ubuntu in TST test failure on Ubuntu, random.seed May 22, 2014

@josef-pkt josef-pkt closed this in 9fbe277 May 22, 2014

josef-pkt added a commit that referenced this issue May 22, 2014

Merge pull request #1683 from josef-pkt/TST_fix_seed
TST: GLM shorten random seed closes #1682

Padarn added a commit to Padarn/statsmodels that referenced this issue May 23, 2014

PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this issue Sep 2, 2014

PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this issue Sep 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.