Print instance UUID to log

This macro allows a job running on a cloud-based instance to print the
UUID of that instance to the build log.  By the time it is determined
that a test failed due to a system or networking error, the instance
has already been deleted.  The UUID can be used to locate the physical
system the instance ran on so that analysis can be done at that level.
By providing it in the build log, users will not have to find someone
with access to the nodepool logs to get this level of support for this
type of issue.

Depends-On: Ib84ec30b5c4c5de5d5be80cae2b4230c1aba3bc6
Change-Id: Iddcd56e2e2f2a942573a9868d1c009106b38564a
This commit is contained in:
Timothy Chavez
2015-02-16 09:28:40 -06:00
parent 0e9a113f6f
commit c5b0cd6e1b
2 changed files with 9 additions and 0 deletions

View File

@@ -106,6 +106,7 @@
builders:
- link-logs
- print-node-uuid
- net-info
- devstack-checkout
- shell: |