Skip to content

TST: test_read_pickles_0_10_1 and test_read_pickles_0_11_0 failures on sparc #3894

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

Closed
yarikoptic opened this issue Jun 13, 2013 · 9 comments · Fixed by #3898 or #3906
Closed

TST: test_read_pickles_0_10_1 and test_read_pickles_0_11_0 failures on sparc #3894

yarikoptic opened this issue Jun 13, 2013 · 9 comments · Fixed by #3898 or #3906
Labels
Testing pandas testing functions or related to the test suite
Milestone

Comments

@yarikoptic
Copy link
Contributor

was happening with 0.11 and now with v0.11.0-492-gb204e14:

======================================================================
FAIL: test_read_pickles_0_10_1 (pandas.io.tests.test_pickle.TestPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pickle.py", line 64, in test_read_pickles_0_10_1
    self.compare(vf)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pickle.py", line 57, in compare
    comparator(result,expected)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 238, in assert_frame_equal
    check_less_precise=check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 197, in assert_series_equal
    assert_almost_equal(left.values, right.values, check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 141, in assert_almost_equal
    assert_almost_equal(a[i], b[i], check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 172, in assert_almost_equal
    assert a == b, "%s != %s" % (a, b)
AssertionError: 1970-01-01T00:00:00.000000000+0000 != 2009-01-01T00:00:00.000000000+0000

======================================================================
FAIL: test_read_pickles_0_11_0 (pandas.io.tests.test_pickle.TestPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pickle.py", line 71, in test_read_pickles_0_11_0
    self.compare(vf)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pickle.py", line 57, in compare
    comparator(result,expected)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 238, in assert_frame_equal
    check_less_precise=check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 197, in assert_series_equal
    assert_almost_equal(left.values, right.values, check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 141, in assert_almost_equal
    assert_almost_equal(a[i], b[i], check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 172, in assert_almost_equal
    assert a == b, "%s != %s" % (a, b)
AssertionError: 1970-01-01T00:00:00.000000000+0000 != 2009-01-01T00:00:00.000000000+0000
@jreback
Copy link
Contributor

jreback commented Jun 13, 2013

is there a sparc machine on vagrant so I can build this?
or somewhere I can ssh to?

@jreback
Copy link
Contributor

jreback commented Jun 14, 2013

@yarikoptic let me know if you are still having problems...thanks

@yarikoptic
Copy link
Contributor Author

unfortunately KnownFailureTest is "no good" as is -- it is signaled as the error by nose


======================================================================
ERROR: test_read_pickles_0_10_1 (pandas.io.tests.test_pickle.TestPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/decorators.py", line 178, in knownfailer
    raise KnownFailureTest(msg)
KnownFailureTest: known failure of test_read_pickles_0_10_1 on non-little endian

======================================================================
ERROR: test_read_pickles_0_11_0 (pandas.io.tests.test_pickle.TestPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/decorators.py", line 178, in knownfailer
    raise KnownFailureTest(msg)
KnownFailureTest: known failure of test_read_pickles_0_11_0 on non-little endian

======================================================================
ERROR: test_write_dta5 (pandas.io.tests.test_stata.StataTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/decorators.py", line 178, in knownfailer
    raise KnownFailureTest(msg)
KnownFailureTest: known failure of test_write_dta5 on non-little endian

======================================================================
ERROR: test_write_dta6 (pandas.io.tests.test_stata.StataTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/decorators.py", line 178, in knownfailer
    raise KnownFailureTest(msg)
KnownFailureTest: known failure of test_write_dta6 on non-little endian

----------------------------------------------------------------------
Ran 3500 tests in 2842.798s

FAILED (SKIP=121, errors=4)

on a good side -- all other failures I have reported for sparc before -- are "gone" now with v0.11.0-529-gcca1b7e

@jreback
Copy link
Contributor

jreback commented Jun 14, 2013

is there a way to make this pass known test failure? I guess equivalent of a skip? (or should I just skip)?

@jreback
Copy link
Contributor

jreback commented Jun 14, 2013

http://mail.scipy.org/pipermail/numpy-discussion/2010-October/053186.html

apparently known failure is a nose plugin loaded by numpy; I'll just skip these then

unless you tell me otherwise....

@yarikoptic
Copy link
Contributor Author

yeah -- sorry for the confusion -- I have forgotten that it requires a nose plugin and not just magically works ;) indeed mandating loading of a nose plugin might be too much - skip should be enough

@jreback
Copy link
Contributor

jreback commented Jun 14, 2013

np...had never used knowntestfailure (which is a good idea!) and didn't know if its 'standard' in nose, guess not (though should be!)

@yarikoptic
Copy link
Contributor Author

yes -- it is not standard -- grows out from numpy (used in ipython etc)

np...had never used knowntestfailure (which is a good idea!) and didn't
know if its 'standard' in nose, guess not (though should be!)

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

@jreback
Copy link
Contributor

jreback commented Jun 14, 2013

all fixed up...thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
2 participants