[pypy-issue] [issue726] django-cms tests fail using pypy 1.5 but pass under CPython 2.5, 2.6 and 2.7

Jonas Obrist tracker at bugs.pypy.org
Tue May 31 17:38:50 CEST 2011


Jonas Obrist <jonas.obrist at divio.ch> added the comment:

with the current pypy-nightly, it fails differntly now:


jonas at jonas-Serval-Professional:~/workspace/django-cms$ ./runtests.sh --python 
pypy-nightly
using python at: pypy-nightly
reusing current buildout environment
Running complete cms testsuite.
/home/jonas/workspace/django-cms/cms/tests/__init__.py:40: UserWarning: 
JavascriptTestCase cannot be run: Traceback (most recent call last):
  File "/home/jonas/workspace/django-cms/cms/tests/__init__.py", line 35, in 
<module>
    from cms.tests.javascript import JavascriptTestCase
  File "/home/jonas/workspace/django-cms/cms/tests/javascript.py", line 2, in 
<module>
    from cms.test_utils.js_testcases import BaseJavascriptTestCase
  File "/home/jonas/workspace/django-cms/cms/test_utils/js_testcases.py", line 
4, in <module>
    from spidermonkey import Runtime
ImportError: No module named spidermonkey

  warnings.warn("JavascriptTestCase cannot be run: %s" % exc)
Creating test database 'default'...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table django_site
Creating table cms_placeholder
Creating table cms_cmsplugin
Creating table cms_page_placeholders
Creating table cms_page
Creating table cms_pagemoderator
Creating table cms_pagemoderatorstate
Creating table cms_globalpagepermission_sites
Creating table cms_globalpagepermission
Creating table cms_pagepermission
Creating table cms_pageuser
Creating table cms_pageusergroup
Creating table cms_title
Creating table menus_cachekey
Creating table cmsplugin_text
Creating table cmsplugin_picture
Creating table cmsplugin_file
Creating table cmsplugin_flash
Creating table cmsplugin_link
Creating table snippet_snippet
Creating table cmsplugin_snippetptr
Creating table cmsplugin_googlemap
Creating table cmsplugin_teaser
Creating table cmsplugin_video
Creating table cmsplugin_twitterrecententries
Creating table cmsplugin_twittersearch
Creating table cmsplugin_inheritpageplaceholder
Creating table sampleapp_category
Creating table sampleapp_picture
Creating table placeholderapp_example1
Creating table placeholderapp_example2
Creating table placeholderapp_example3
Creating table placeholderapp_example4
Creating table placeholderapp_example5
Creating table pluginapp_section
Creating table pluginapp_article
Creating table manytomany_rel_articlepluginmodel_sections
Creating table cmsplugin_articlepluginmodel
Creating table fakemlng_mainmodel
Creating table fakemlng_translations
Creating table south_migrationhistory
Creating table reversion_revision
Creating table reversion_version
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_groups model
Installing index for auth.User_user_permissions model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for cms.Placeholder model
Installing index for cms.CMSPlugin model
Installing index for cms.Page_placeholders model
Installing index for cms.Page model
Installing index for cms.PageModerator model
Installing index for cms.PageModeratorState model
Installing index for cms.GlobalPagePermission_sites model
Installing index for cms.GlobalPagePermission model
Installing index for cms.PagePermission model
Installing index for cms.PageUser model
Installing index for cms.PageUserGroup model
Installing index for cms.Title model
Installing index for picture.Picture model
Installing index for link.Link model
Installing index for snippet.SnippetPtr model
Installing index for teaser.Teaser model
Installing index for inherit.InheritPagePlaceholder model
Installing index for sampleapp.Category model
Installing index for sampleapp.Picture model
Installing index for placeholderapp.Example1 model
Installing index for placeholderapp.Example2 model
Installing index for placeholderapp.Example3 model
Installing index for placeholderapp.Example4 model
Installing index for placeholderapp.Example5 model
Installing index for pluginapp.Article model
Installing index for manytomany_rel.ArticlePluginModel_sections model
Installing index for fakemlng.Translations model
Installing index for reversion.Revision model
Installing index for reversion.Version model
No fixtures found.

Running tests...
----------------------------------------------------------------------
.......................RPython traceback:
  File "implement_7.c", line 60840, in BuiltinCode_funcrun_obj
  File "implement_7.c", line 63940, in PyFrame_execute_frame
  File "implement_13.c", line 61265, in ExecutionContext_leave
  File "implement_7.c", line 34070, in force_virtual
  File "implement_7.c", line 64412, in 
ResumeGuardForcedDescr_handle_async_forcing
Fatal RPython error: AssertionError
./runtests.sh: line 118: 26378 Aborted                 ./bin/django test $suite 
$failfast
done
jonas at jonas-Serval-Professional:~/workspace/django-cms$ pypy-nightly --version
Python 2.7.1 (a97d08283ea7, May 31 2011, 02:14:26)
[PyPy 1.5.0-alpha0 with GCC 4.4.3]

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue726>
________________________________________


More information about the pypy-issue mailing list