3

I'm using jenkins to run my django tests, with django-jenkins

since a few days (without changing confs), when i run django-jenkins i get the error

OSError: [Errno 12] Cannot allocate memory

even if my tests pass.

the complete error (from jenkins) is here https://gist.github.com/apelliciari/5106439

In my test i have some LiveServerTestCase with Selenium.

Searching for the error, i've found these

Python subprocess.Popen "OSError: [Errno 12] Cannot allocate memory"

http://bramp.net/blog/2010/05/python-close_fds-issue/

Hope they are useful, unfortunately my knowledge of python/unix is not so deep, and i can't grok how to fix it.

Is there a way to run tests avoiding the forks? I don't care if they take more time.

Community
  • 1
  • 1
apelliciari
  • 8,241
  • 9
  • 57
  • 92
  • Having the same issue with django-jenkins running Django's test suite. Did you find a way to solve this? – Simon Charette Sep 22 '13 at 00:35
  • Do your tests take longer than with the default test runner? I am noticing significant delays too in certain test cases. – Keshi Nov 15 '13 at 04:23
  • sorry i didn't found a solution. i've dropped jenkins :( and i've passed to nose (with django-nose) for the tests. – apelliciari Feb 27 '14 at 17:06

0 Answers0