From 8d072a85fcc948c03bcc169527faf0367095d9d1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Sat, 12 Apr 2014 02:09:06 +0000 Subject: [PATCH] Docs: add some example log lines that indicate a lack of memory when running the test suite Docker-DCO-1.1-Signed-off-by: Jean-Baptiste Barth (github: jbbarth) Upstream-commit: 26845ef1ae97be3904b2fd85fa06f9a97ccee67c Component: engine --- .../engine/docs/sources/contributing/devenvironment.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/engine/docs/sources/contributing/devenvironment.rst b/components/engine/docs/sources/contributing/devenvironment.rst index 42e6f9be84..fbd47cbed7 100644 --- a/components/engine/docs/sources/contributing/devenvironment.rst +++ b/components/engine/docs/sources/contributing/devenvironment.rst @@ -127,6 +127,15 @@ You can use this to select certain tests to run, eg. TESTFLAGS='-run ^TestBuild$' make test +If the output indicates "FAIL" and you see errors like this: + +.. code-block:: text + + server.go:1302 Error: Insertion failed because database is full: database or disk is full + + utils_test.go:179: Error copy: exit status 1 (cp: writing '/tmp/docker-testd5c9-[...]': No space left on device + +Then you likely don't have enough memory available the test suite. 2GB is recommended. Step 6: Use Docker -------------------