#24717: Unit test model_regress.test_pickle.ModelPickleTestCase fails on RHEL6 
SCL
-----------------------------------+-----------------
     Reporter:  ddriddle           |      Owner:
         Type:  Bug                |     Status:  new
    Component:  Testing framework  |    Version:  1.8
     Severity:  Normal             |   Keywords:
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+-----------------
 We are running RHEL6 with Python 2.7 running in a Software Collection. To
 use Python 2.7 on RHEL6 it is necessary to use RedHat Software
 Collections. This bug effects both the master branch and version 1.8. Here
 is the error message I am receiving:

 {{{
 ~/Django-1.8/tests$ scl enable python27 bash
 ~/Django-1.8/tests$ PYTHONPATH=..:$PYTHONPATH ./runtests.py
 model_regress.test_pickle
 Testing against Django installed in
 '/services/scratch/ddriddle/tmp/Django-1.8/django'
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 ./opt/rh/python27/root/usr/bin/python: error while loading shared
 libraries: libpython2.7.so.1.0: cannot open shared object file: No such
 file or directory
 F.
 ======================================================================
 FAIL: test_unpickling_when_appregistrynotready
 (model_regress.test_pickle.ModelPickleTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/services/scratch/ddriddle/tmp/Django-1.8/tests/model_regress/test_pickle.py",
 line 100, in test_unpickling_when_appregistrynotready
     self.fail("Unable to reload model pickled data")
 AssertionError: Unable to reload model pickled data

 ----------------------------------------------------------------------
 Ran 3 tests in 0.017s

 FAILED (failures=1)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24717>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.bf96556f097a0bc570edc9cebe024b67%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to