aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/testing
diff options
context:
space:
mode:
authorGravatar jcgregorio <jcgregorio@google.com>2016-09-07 06:23:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-07 06:23:44 -0700
commite050555bf32b472da12603350ae81730555c650d (patch)
tree4180a730e26c51538a4e2fade60351308dbe20a8 /site/dev/testing
parent522bcd99fa65a8abd130880f59b500cf367d0845 (diff)
docs: Add instructions on how to download isolated intermediaries.
Diffstat (limited to 'site/dev/testing')
-rw-r--r--site/dev/testing/Isolate.pngbin0 -> 30189 bytes
-rw-r--r--site/dev/testing/Status.pngbin0 -> 44431 bytes
-rw-r--r--site/dev/testing/download.md32
3 files changed, 32 insertions, 0 deletions
diff --git a/site/dev/testing/Isolate.png b/site/dev/testing/Isolate.png
new file mode 100644
index 0000000000..b6330b9f68
--- /dev/null
+++ b/site/dev/testing/Isolate.png
Binary files differ
diff --git a/site/dev/testing/Status.png b/site/dev/testing/Status.png
new file mode 100644
index 0000000000..4b835eb2da
--- /dev/null
+++ b/site/dev/testing/Status.png
Binary files differ
diff --git a/site/dev/testing/download.md b/site/dev/testing/download.md
new file mode 100644
index 0000000000..ef56f9f3c4
--- /dev/null
+++ b/site/dev/testing/download.md
@@ -0,0 +1,32 @@
+Downloading Isolates
+====================
+
+The intermediate and final build products from running tests are all stored in
+[Isolate](https://github.com/luci/luci-py/blob/master/appengine/isolate/doc/Design.md),
+and can be downloaded to the desktop for inspection and debugging.
+
+First install the client:
+
+ git clone https://github.com/luci/client-py.git
+
+Add the checkout location to your $PATH.
+
+To download the isolated files for a test first visit
+the build status page and find the "isolated output" link:
+
+<img src="Status.png" style="margin-left:30px" width=576 height=271 >
+
+
+Follow that link to find the hash of the isolated outputs:
+
+
+<img src="Isolate.png" style="margin-left:30px" width=451 height=301 >
+
+Then run `isolateserver.py` with --isolated set to that hash:
+
+ $ isolateserver.py \
+ download \
+ --isolate-server=https://isolateserver.appspot.com \
+ --isolated=5b85b7c382ee2a34530e33c7db20a07515ff9481 \
+ --target=./download/
+