-
-
Save bak1an/434d884425f3354896b2 to your computer and use it in GitHub Desktop.
parallel tests crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./runtests.py -I- | |
Testing against Django installed in '/home/bak1an/workspaces/django/django/django' | |
Creating test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Creating test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
............................................s..........ss.................sssss......s...............s..................................s..s.s.....s.......................s....................................................................................................s.......s.................................................s..........................................................................................................................................................................................................................................................................s..............sss........................................s............................................................................................................................................................................................................................................................sssssssssssssssssssssssss.........................................................................................................................................................................................................................................................................Traceback (most recent call last): | |
File "./runtests.py", line 455, in <module> | |
options.debug_sql, options.parallel) | |
File "./runtests.py", line 272, in django_tests | |
extra_tests=extra_tests, | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 524, in run_tests | |
result = self.run_suite(suite) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 485, in run_suite | |
).run(suite) | |
File "/usr/lib64/python2.7/unittest/runner.py", line 151, in run | |
test(result) | |
File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ | |
return self.run(*args, **kwds) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 318, in run | |
subsuite_index, events = test_results.next(timeout=0.1) | |
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 668, in next | |
raise value | |
AttributeError: 'module' object has no attribute 'indent' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./tests/runtests.py -I- | |
Testing against Django installed in '/home/bak1an/workspaces/django/django/django' | |
Creating test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Cloning test database for alias 'default'... | |
Creating test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
Cloning test database for alias 'other'... | |
......................................................s..........ss.......sssss......s...............s..................................s..s.s.....s.......................s.....................................................................................s.......s................................................................s..........................................................................................................................................................................................................................................................................s..............sss........................................s...........................................................................................................................................................................................................................................................sssssssssssssssssssssssss............................................................................................................................................................................................................................................................s......... | |
test_inheritance_values_joins (model_inheritance_regress.tests.ModelInheritanceTest) failed: | |
AssertionError('2 != 1',) | |
Unfortunately, tracebacks cannot be pickled, making it impossible for the | |
parallel test runner to handle this exception cleanly. | |
In order to see the traceback, you should install tblib: | |
pip install tblib | |
multiprocessing.pool.RemoteTraceback: | |
""" | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.4/multiprocessing/pool.py", line 119, in worker | |
result = (True, func(*args, **kwds)) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 253, in _run_subsuite | |
result = runner.run(subsuite) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 202, in run | |
test(result) | |
File "/usr/lib64/python3.4/unittest/suite.py", line 87, in __call__ | |
return self.run(*args, **kwds) | |
File "/usr/lib64/python3.4/unittest/suite.py", line 125, in run | |
test(result) | |
File "/home/bak1an/workspaces/django/django/django/test/testcases.py", line 214, in __call__ | |
super(SimpleTestCase, self).__call__(result) | |
File "/usr/lib64/python3.4/unittest/case.py", line 663, in __call__ | |
return self.run(*args, **kwds) | |
File "/usr/lib64/python3.4/unittest/case.py", line 627, in run | |
self._addExpectedFailure(result, outcome.expectedFailure) | |
File "/usr/lib64/python3.4/unittest/case.py", line 566, in _addExpectedFailure | |
addExpectedFailure(self, exc_info) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 176, in addExpectedFailure | |
self.check_pickleable(test, err) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 95, in check_pickleable | |
pickle.dumps(err) | |
_pickle.PicklingError: Can't pickle <class 'traceback'>: attribute lookup traceback on builtins failed | |
""" | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "./tests/runtests.py", line 455, in <module> | |
options.debug_sql, options.parallel) | |
File "./tests/runtests.py", line 272, in django_tests | |
extra_tests=extra_tests, | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 524, in run_tests | |
result = self.run_suite(suite) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 485, in run_suite | |
).run(suite) | |
File "/usr/lib64/python3.4/unittest/runner.py", line 168, in run | |
test(result) | |
File "/usr/lib64/python3.4/unittest/suite.py", line 87, in __call__ | |
return self.run(*args, **kwds) | |
File "/home/bak1an/workspaces/django/django/django/test/runner.py", line 318, in run | |
subsuite_index, events = test_results.next(timeout=0.1) | |
File "/usr/lib64/python3.4/multiprocessing/pool.py", line 689, in next | |
raise value | |
_pickle.PicklingError: Can't pickle <class 'traceback'>: attribute lookup traceback on builtins failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment