Skip to content

Instantly share code, notes, and snippets.

@apelliciari
Created March 7, 2013 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apelliciari/5106439 to your computer and use it in GitHub Desktop.
Save apelliciari/5106439 to your computer and use it in GitHub Desktop.
Building in workspace /var/lib/jenkins/jobs/xxx-trunk/workspace
Updating file:///var/www/svn/opineo/trunk
U core/tests/seleniums.py
At revision 1542
[workspace] $ /bin/sh -xe /tmp/hudson3605367030319804237.sh
+ export DISPLAY=:99
+ export PYTHONPATH=:/var/www/vhosts/beta.xxx.it
+ python manage.py jenkins core --liveserver=www.xxx.local:9900-9999
....ss..............s...ssssssss.
----------------------------------------------------------------------
Ran 33 tests in 35.253s
OK (skipped=11)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Traceback (most recent call last):
File "manage.py", line 14, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.6/dist-packages/django_jenkins/management/commands/__init__.py", line 81, in handle
if test_runner.run_tests(test_labels):
File "/usr/local/lib/python2.6/dist-packages/django/test/simple.py", line 384, in run_tests
self.teardown_test_environment()
File "/usr/local/lib/python2.6/dist-packages/django_jenkins/runner.py", line 253, in teardown_test_environment
signals.teardown_test_environment.send(sender=self)
File "/usr/local/lib/python2.6/dist-packages/django/dispatch/dispatcher.py", line 172, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.6/dist-packages/django_jenkins/tasks/run_sloccount.py", line 34, in teardown_test_environment
['sloccount', "--duplicates", "--wide", "--details"] + locations)
File "/usr/local/lib/python2.6/dist-packages/django_jenkins/functions.py", line 42, in check_output
process = subprocess.Popen(stdout=subprocess.PIPE, stderr=subprocess.PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Build step 'Execute shell' marked build as failure
Skipping Cobertura coverage report as build was not UNSTABLE or better ...
Recording test results
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment