New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage: add patch to debug transient issue #65802
Conversation
aa6d72f
to
69d9700
Compare
Local failing run on this commit: sage-tests.log |
Okay, that was unexpected. I didn't expect anyone to review this, much less discover a failure. Thanks a lot for testing! I'm close to 100% sure that the issue isn't caused by this PR. I didn't run the whole test suite, but this only touches one doctest and I ran the doctests for the relevant file. If you have some spare compute capacity, it would help me a lot if you could run further tests. Its most likely that this is either an impurity issue that manifests itself on your machine or a transient error.
|
I don't have access to that 32-threaded machine ATM, so I tried the same with a 16-threaded one:
********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/doc/en/prep/Quickstarts/Multivariable-Calculus.rst", line 123, in doc.en.prep.Quickstarts.Multivariable-Calculus Failed example: plot_vector_field3d((x*cos(z),-y*cos(z),sin(z)), (x,0,pi), (y,0,pi), (z,0,pi),colors=['red','green','blue']) Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in plot_vector_field3d((x*cos(z),-y*cos(z),sin(z)), (x,Integer(0),pi), (y,Integer(0),pi), (z,Integer(0),pi),colors=['red','green','blue']) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/1622/dir_UTCyaO/preview.png', see '/build/sage-home/.sage/temp/localhost/1622/tmp_AJ_aof.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/doc/en/thematic_tutorials/geometry/visualization.rst", line 37, in doc.en.thematic_tutorials.geometry.visualization Failed example: Cube.render_wireframe() Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in Cube.render_wireframe() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/2703/dir_RKMhRD/preview.png', see '/build/sage-home/.sage/temp/localhost/2703/tmp_OjdnyP.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/graphs/generic_graph.py", line 20678, in sage.graphs.generic_graph.GenericGraph.? Failed example: G.show3d(vertex_size=0.03, edge_size=0.01, edge_size2=0.02, vertex_colors={(1,1,1): list(G)}, bgcolor=(0,0,0), color_by_label=True, iterations=200) # long time Expected nothing Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in G.show3d(vertex_size=RealNumber('0.03'), edge_size=RealNumber('0.01'), edge_size2=RealNumber('0.02'), vertex_colors={(Integer(1),Integer(1),Integer(1)): list(G)}, bgcolor=(Integer(0),Integer(0),Integer(0)), color_by_label=True, iterations=Integer(200)) # long time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/graphs/generic_graph.py", line 20703, in show3d color_by_label=color_by_label, **kwds).show() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/16641/dir_7Q6WYb/preview.png', see '/build/sage-home/.sage/temp/localhost/16641/tmp_hQFP_n.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/arrow.py", line 453, in sage.plot.arrow.arrow Failed example: arrow((0,0,1), (1,1,1)) Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in arrow((Integer(0),Integer(0),Integer(1)), (Integer(1),Integer(1),Integer(1))) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/25862/dir_7CubaQ/preview.png', see '/build/sage-home/.sage/temp/localhost/25862/tmp_rVOXKM.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/base.pyx", line 713, in sage.plot.plot3d.base.Graphics3d.rotateX Failed example: G.show(aspect_ratio=1) Exception raised: Traceback (most recent call last): File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in G.show(aspect_ratio=Integer(1)) File "sage/plot/plot3d/base.pyx", line 1482, in sage.plot.plot3d.base.Graphics3d.show (build/cythonized/sage/plot/plot3d/base.c:19860) dm.display_immediately(self, **kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 836, in display_immediately self._backend.display_immediately(plain_text, rich_output) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/backend_doctest.py", line 212, in display_immediately self.validate(rich_output) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/backend_doctest.py", line 285, in validate assert rich_output.preview_png.get().startswith(b'\x89PNG') AssertionError ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/implicit_plot3d.py", line 364, in sage.plot.plot3d.implicit_plot3d.implicit_plot3d Failed example: implicit_plot3d(abs(x) + abs(y) + abs(z) - 1, (x,-1,1), (y,-1,1), (z,-1,1), color='olive') Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in implicit_plot3d(abs(x) + abs(y) + abs(z) - Integer(1), (x,-Integer(1),Integer(1)), (y,-Integer(1),Integer(1)), (z,-Integer(1),Integer(1)), color='olive') File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/26848/dir_QW_B4g/preview.png', see '/build/sage-home/.sage/temp/localhost/26848/tmp_3Ee5B7.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/parametric_plot3d.py", line 793, in sage.plot.plot3d.parametric_plot3d.? Failed example: parametric_plot3d([u*cos(v), u*sin(v), u^2], (u,0,1), (v,0,2*pi+0.4), plot_points=[50,50]) Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in parametric_plot3d([u*cos(v), u*sin(v), u**Integer(2)], (u,Integer(0),Integer(1)), (v,Integer(0),Integer(2)*pi+RealNumber('0.4')), plot_points=[Integer(50),Integer(50)]) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/27853/dir_mSoE0U/preview.png', see '/build/sage-home/.sage/temp/localhost/27853/tmp_Lo3ZqH.txt' for details Graphics3d Object ********************************************************************** I tried each of these in isolation (running at most two at once), each several times, but never reproduced a failure. Later I'll post results of further full attempt(s). |
File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/graphs/generic_graph.py", line 20678, in sage.graphs.generic_graph.GenericGraph.? Failed example: G.show3d(vertex_size=0.03, edge_size=0.01, edge_size2=0.02, vertex_colors={(1,1,1): list(G)}, bgcolor=(0,0,0), color_by_label=True, iterations=200) # long time Expected nothing Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in G.show3d(vertex_size=RealNumber('0.03'), edge_size=RealNumber('0.01'), edge_size2=RealNumber('0.02'), vertex_colors={(Integer(1),Integer(1),Integer(1)): list(G)}, bgcolor=(Integer(0),Integer(0),Integer(0)), color_by_label=True, iterations=Integer(200)) # long time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/graphs/generic_graph.py", line 20703, in show3d color_by_label=color_by_label, **kwds).show() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/16636/dir_2CquqT/preview.png', see '/build/sage-home/.sage/temp/localhost/16636/tmp_9jrT8K.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/revolution_plot3d.py", line 96, in sage.plot.plot3d.revolution_plot3d.revolution_plot3d Failed example: (sur1+sur2).show() Expected nothing Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in (sur1+sur2).show() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/30828/dir__gGfXN/preview.png', see '/build/sage-home/.sage/temp/localhost/30828/tmp_EFm_qk.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/texture.py", line 442, in sage.plot.plot3d.texture.Texture_class.jmol_str Failed example: sum([dodecahedron(center=[2.5*x, 0, 0], color=(1, 0, 0, x/10)) for x in range(11)]).show(aspect_ratio=[1,1,1], frame=False, zoom=2) Exception raised: Traceback (most recent call last): File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in sum([dodecahedron(center=[RealNumber('2.5')*x, Integer(0), Integer(0)], color=(Integer(1), Integer(0), Integer(0), x/Integer(10))) for x in range(Integer(11))]).show(aspect_ratio=[Integer(1),Integer(1),Integer(1)], frame=False, zoom=Integer(2)) File "sage/plot/plot3d/base.pyx", line 1482, in sage.plot.plot3d.base.Graphics3d.show (build/cythonized/sage/plot/plot3d/base.c:19860) dm.display_immediately(self, **kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 583, in _call_rich_repr return obj._rich_repr_(self, **rich_repr_kwds) File "sage/plot/plot3d/base.pyx", line 151, in sage.plot.plot3d.base.Graphics3d._rich_repr_ (build/cythonized/sage/plot/plot3d/base.c:5392) return self._rich_repr_jmol(**opts) File "sage/plot/plot3d/base.pyx", line 276, in sage.plot.plot3d.base.Graphics3d._rich_repr_jmol (build/cythonized/sage/plot/plot3d/base.c:7404) jdata.export_image(targetfile=preview_png, datafile=script, File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/interfaces/jmoldata.py", line 181, in export_image raise RuntimeError("Jmol failed to create file %s, see %s for details"%(repr(targetfile), repr(scratchout))) RuntimeError: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/1403/dir_KLrDLp/preview.png', see '/build/sage-home/.sage/temp/localhost/1403/tmp_mplSpA.txt' for details ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/shapes2.py", line 111, in sage.plot.plot3d.shapes2.line3d Failed example: show(t1+t2+t3+t4+t5, frame=False) Exception raised: Traceback (most recent call last): File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in show(t1+t2+t3+t4+t5, frame=False) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/pretty_print.py", line 258, in show pretty_print(*args, **kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/pretty_print.py", line 229, in pretty_print dm.display_immediately(*args, **kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 583, in _call_rich_repr return obj._rich_repr_(self, **rich_repr_kwds) File "sage/plot/plot3d/base.pyx", line 151, in sage.plot.plot3d.base.Graphics3d._rich_repr_ (build/cythonized/sage/plot/plot3d/base.c:5392) return self._rich_repr_jmol(**opts) File "sage/plot/plot3d/base.pyx", line 276, in sage.plot.plot3d.base.Graphics3d._rich_repr_jmol (build/cythonized/sage/plot/plot3d/base.c:7404) jdata.export_image(targetfile=preview_png, datafile=script, File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/interfaces/jmoldata.py", line 181, in export_image raise RuntimeError("Jmol failed to create file %s, see %s for details"%(repr(targetfile), repr(scratchout))) RuntimeError: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/532/dir_IUJGAn/preview.png', see '/build/sage-home/.sage/temp/localhost/532/tmp_1H_MWK.txt' for details ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/shapes.pyx", line 410, in sage.plot.plot3d.shapes.Cylinder Failed example: G.show(aspect_ratio=1, frame=False) Exception raised: Traceback (most recent call last): File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in G.show(aspect_ratio=Integer(1), frame=False) File "sage/plot/plot3d/base.pyx", line 1482, in sage.plot.plot3d.base.Graphics3d.show (build/cythonized/sage/plot/plot3d/base.c:19860) dm.display_immediately(self, **kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 835, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 583, in _call_rich_repr return obj._rich_repr_(self, **rich_repr_kwds) File "sage/plot/plot3d/base.pyx", line 151, in sage.plot.plot3d.base.Graphics3d._rich_repr_ (build/cythonized/sage/plot/plot3d/base.c:5392) return self._rich_repr_jmol(**opts) File "sage/plot/plot3d/base.pyx", line 276, in sage.plot.plot3d.base.Graphics3d._rich_repr_jmol (build/cythonized/sage/plot/plot3d/base.c:7404) jdata.export_image(targetfile=preview_png, datafile=script, File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/interfaces/jmoldata.py", line 181, in export_image raise RuntimeError("Jmol failed to create file %s, see %s for details"%(repr(targetfile), repr(scratchout))) RuntimeError: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/466/dir_nHExUY/preview.png', see '/build/sage-home/.sage/temp/localhost/466/tmp_eu6_f6.txt' for details ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/implicit_plot3d.py", line 326, in sage.plot.plot3d.implicit_plot3d.implicit_plot3d Failed example: implicit_plot3d(F, (x,-6,6), (y,-6,6), (z,-6,6), color='seashell') Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in implicit_plot3d(F, (x,-Integer(6),Integer(6)), (y,-Integer(6),Integer(6)), (z,-Integer(6),Integer(6)), color='seashell') File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/26845/dir_4H0xz9/preview.png', see '/build/sage-home/.sage/temp/localhost/26845/tmp_j8XF5f.txt' for details Graphics3d Object ********************************************************************** ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/implicit_plot3d.py", line 364, in sage.plot.plot3d.implicit_plot3d.implicit_plot3d Failed example: implicit_plot3d(abs(x) + abs(y) + abs(z) - 1, (x,-1,1), (y,-1,1), (z,-1,1), color='olive') Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in implicit_plot3d(abs(x) + abs(y) + abs(z) - Integer(1), (x,-Integer(1),Integer(1)), (y,-Integer(1),Integer(1)), (z,-Integer(1),Integer(1)), color='olive') File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/26845/dir_9BzCGn/preview.png', see '/build/sage-home/.sage/temp/localhost/26845/tmp_6R4qJT.txt' for details Graphics3d Object ********************************************************************** |
With ********************************************************************** File "/nix/store/xjvgrrzr766c2hrsxfjncavbdv7cfi6i-sage-src-8.8/src/sage/plot/plot3d/plot3d.py", line 111, in sage.plot.plot3d.plot3d Failed example: plot3d(lambda x, y: x^2 + y^2, (-2,2), (-2,2), opacity=8/10) Expected: Graphics3d Object Got: doctest:warning File "/nix/store/g9yvdxvml050zhi769bzir0hhbcmjazs-sage-with-env-8.8/bin/sage-runtests", line 179, in err = DC.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 1227, in run self.run_doctests() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/control.py", line 928, in run_doctests self.dispatcher.dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2018, in dispatch self.parallel_dispatch() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1915, in parallel_dispatch w.start() # This might take some time File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2201, in start super(DocTestWorker, self).start() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 130, in start self._popen = Popen(self) File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/forking.py", line 126, in __init__ code = process_obj._bootstrap() File "/nix/store/9v0c8ain7p85lqxhwz1y91g7h8347jjr-python-2.7.16/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2157, in run task(self.options, self.outtmpfile, msgpipe, self.result_queue) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2495, in __call__ doctests, extras = self._run(runner, options, results) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 2544, in _run result = runner.run(test) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 879, in run return self._run(test, compileflags, out) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 681, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/doctest/forker.py", line 1113, in compile_and_execute exec(compiled, globs) File "", line 1, in plot3d(lambda x, y: x**Integer(2) + y**Integer(2), (-Integer(2),Integer(2)), (-Integer(2),Integer(2)), opacity=Integer(8)/Integer(10)) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 809, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 625, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/nix/store/jpwg3wippgq01qksv9r2xx6200ar33g1-python-2.7.16-env/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 592, in _call_rich_repr RichReprWarning, : RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol failed to create file '/build/sage-home/.sage/temp/localhost/32384/dir_8GwThj/preview.png', see '/build/sage-home/.sage/temp/localhost/32384/tmp_w5lTOF.txt' for details Graphics3d Object ********************************************************************** |
Second attempt with |
Thanks! I don't think we can chalk it up to parallelism alone though, since I have never encountered this during a lot of 4-threaded builds and a few 12-threaded ones. But it seems like its almost deterministic for you (and even for two different machines? very curious). Never seen it on hydra either, though I don't know how much parallelism it uses. Doesn't look like upstream has ever seen it either. Can you reproduce it with Its possible that you can reproduce it quicker by running a subset of the tests in parallel -- for example all those related to plotting:
|
OK, that works for a quick reproducer (native 16 threads). sage-tests-plot.log Unfortunately, the files with more information are not there:
and in the log I see lines like
Perhaps you know (easily) how to disable the cleaning? It actually doesn't make much sense to me to clean logs of failed tests, but what do I know about this... |
I think the reason that the cleanup is not specific for the tests. Its actually jmol that prints that line, and sage just cleans up after every subprocess it launches. I've pushed a commit to this PR that patches sage to disable cleanup. |
OK. All of the logs are basically the same:
Note that this machine had at least roughly 16G free RAM for the whole duration of the tests. EDIT: well, in most of the logs the allocated chunk is larger, but that's probably an irrelevant detail. |
hs_err_pid10643.log EDIT: I have basically no Java knowledge, so perhaps we'd need someone like that, possibly through upstream sage. From the log it seems very likely that |
Interesting. I think issues with java running out of memory are pretty common, since java allocates a fixed amount of memory for its VM at startup and then cannot extend it at runtime. I dug up this post to the upstream mailing list, so we're probably not the first to see this. It wasn't resolved though and there is no additional useful info. Its a weird error. Every call to jmol should have its own memory allocated, so I don't know how that could have to do with parallelism. Or maybe the issue is exactly that: every call to jmol needs 512MB (the size sage sets) up front, so if you somehow get 32 of them in close succession it can't reserve enough space. I'm hazy about how exactly that works too. Anyway I've pushed another commit that doubles the space allocated to the java heap. Either that should fix it or make it worse, depending on which hypothesis is true. Can you test? |
I tried the usual 16-threaded run, which isn't finished yet, but there are multiple failures. I looked at most of them, and all were just
|
I can't understand why native malloc should fail. Global limits doesn't seem likely. I suspected hitting _overcommit_ limit even though there was plenty free memory, but according to the
hs_err_pid${PID}.log files there's roughly 20G left in that metric at the moment of crash, and I also ran a script printing the data every second and the reserve never goes significantly below that.
Now, cgroups are my best suspect.
with docs saying
... now 16G apparently is never used by the group (in terms of RSS at least), but it might be possible that overcommit limit is hit within the cgroup (but I don't know how that combination works), if the JVM and/or other processes in there are aggressive with that (allocating lots of memory from OS even though not needing it). Still, I don't understand why the nix-daemon group should get this particular limit (by default); this system currently has much more available: 32G RAM + 16G zram swap. |
Apparently, committing too much unused memory was the problem. I still don't understand why I get that 16G limit in cgroup, but in any case I'd think it's better to lower this approach in sage tests. I successfully tested
and also 256 (all with the same machine, |
I have close to no experience with cgroups, so just making sure I understand it correctly: Your hypothesis is that the memory of the nix-daemon is for some reason limited to 16G and too many JVMs with big memories take up all that space? But you've been able to reproduce the issue even with just 4 threads? Seems weird to me, especially since the limit is much lower for me:
And I've never seen this with 4 threads. The limit is for jmol interaction in general, not just tests. Still, if we have good reason for it I can propose a reduction upstream. Not sure if the 512M limit has any particular reason. |
Well, they do not really use 16G (not even 8G when |
Mh, sounds plausible. What are your overcommit settings? For me:
|
Which apparently means that the kernel can overcommit however much it deems okay (http://engineering.pivotal.io/post/virtual_memory_settings_in_linux_-_the_problem_with_overcommit/) |
I have the same. I'm not aware of changing any defaults (except for running a 5.1 kernel). But the global |
This pull request has been mentioned on Nix community. There might be relevant details there: |
I think this is due to glibc memory fragmentation. It could be tested like |
Oh, so the reason why this happens "only" with sage/java is that they use lots of (p)threads in each process? (and we run lots of those processes) Clearly the glibc defaults regress quiate a bit in this special case... and we've had even 96-cores on Hydra, but it's great to know about this problem at least. I confirm the build is fine on that 16-thread, using 942fbd329 (basically master) and --- a/pkgs/applications/science/math/sage/sage-tests.nix
+++ b/pkgs/applications/science/math/sage/sage-tests.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
installCheckPhase = ''
export HOME="$TMPDIR/sage-home"
mkdir -p "$HOME"
-
+ export GLIBC_TUNABLES=glibc.malloc.arena_max=4 # https://github.com/NixOS/nixpkgs/pull/65802
echo "Running sage tests with arguments ${timeSpecifier} ${patienceSpecifier} ${testArgs}"
"sage" -t --nthreads "$NIX_BUILD_CORES" --optional=sage ${timeSpecifier} ${patienceSpecifier} ${testArgs}
''; (I used the new form according to docs) EDIT: re-confirmed also on the previous machine (32 threads, 32G RAM). |
I'm only speculating, and it also seems to happen with ruby or the occasional native app, but I think Java may be especially bad because so much stuff is CPU core based: common thread pool, compiler threads, GC and if they all get their own arena it's probably too much. |
From my limited (and just aquired, mostly from here) knowledge about how memory areas are used, I don't quite understand why this would cause a problem. Since @vcunat's machine has dynamic overcommit, shouldn't the virtual memory size be more or less irrelevant? Another data point: I cannot reproduce the issue when setting |
The amount of allowed overcommit is limited (by default), but I have no proof what exactly is being hit (except for this parameter certainly helping it). |
You said that you have a
So basically overcommit is unlimited and the kernel only stops if the actual physical memory is exhausted. Am I misunderstanding something? |
For one thing, I would say more arenas means worse fragmentation on average (this should be clear because even if you need only 1 byte, the memory of all other arenas are off limits contrasted with the 1 arena case, where all threads share "holes"). Regarding that link it's quite interesting. I have two comments though:
So the problem is there (since we're OOMing), but maybe there are cooler options, although I'm not sure which ones he means. You could reduce your memory until failure or maybe evaluate with pmap, then find a different option set for research purposes :) |
Mh. I guess I'm not quite convinced that this will lead to 16G used memory or confuse the kernel enough to forbid further overcommit. It should mean that only one page per area is actually mapped to physical memory, right? But there may be some complex interplay of memory virtualization, overcommit and fragmentation. And apparently reducing it does fix the problem (but so does reducing the JVMs memory, so it may only be part or symptom of a problem). So should we just limit the amount of areas during sage tests? Or propose the limit to upstream sage? Or limit it in nix in general?
Good point. Sage creating a jmol subprocess in each thread, which probably again forks multiple subprocesses or threads is probably a big factor here.
Well he says that its generally not advantageous for performance to have more than 2c threads in a single application, which is probably true in most cases. But that doesn't say anything about the fragmentation issue. I just increased the threads to try to reproduce the problem, but your argument that jmol may still limit its thread usage by the amount of cores is a good one. |
No, I don't think that really means unlimited.
|
In any case, can you see any disadvantage in pushing something similar to the diff I posted to nixpkgs master? |
Can you try disabling the "heuristic" as well with
? At least that would conclusively proof that it is overcommit related.
No, not at all. Its just that that feels like patching up the symptoms without understanding the cause. With our current best hypothesis, this could happen just as well in any other package that makes heavy use of parallelism and maybe uses subprocesses. If that were the case, people would have to debug it anew every time if we only fix it locally. But lacking any better option, that is what I'll do. At least its very unlikely to happen during normal sage usage (as opposed to tests) because I don't think there is a situation where it would spawn multiple jmol subprocesses at the same time. |
@vcunat ping :) |
Oh, I somehow missed that there's something for me to try. It still fails (commit 942fbd3). I'd surely like to understand these things better, but I don't have the capacity. (human capacity; I do have quite some spare machine time) |
700e934
to
41bb319
Compare
Motivation for this change
A transient failure in configuration.py has occurred on hydra twice now. Unfortunately the error message is not helpful in debugging, so here I'm abusing the build servers a little to track this issue down.
The list of past failures is an experiment, doesn't seem worth creating a separate PR for.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc me