[tilo][resultstore] Implement resultstore.Context

This was previously named 'EntityNameCache'

Fuchsia recipes execute tests in a distributed fashion:
1. A parent recipe builds Fuchsia and produces test shards
2. Child test tasks execute tests from those shards.

The parent needs to create the invocation and log the tests that will run.
The test tasks need to report the results for each of those tests.

The parent must be the one to create the tests in result store, because some
tests may run in multiple test shards. If each of the test shards attempted
to create its set of tests in resultstore, there would be overlap, and
ResultStore would return an error. logging in this parent-child fashion is
useful anyway, since it allows us to see the progress of the invocation in
ResultStore before all test tasks have finished.

IN-699 #comment

Change-Id: Ife0cf172a04da84813c03ff542b5a5524f260527
3 files changed
tree: 5ffb374316fd1b47bb1b98c5ad2f3ca85d94e7e5
  1. botanist/
  2. cmd/
  3. fastboot/
  4. fuchsia/
  5. fxctx/
  6. fxtesting/
  7. fxtime/
  8. gerrit-policy/
  9. netboot/
  10. pdu/
  11. qemu/
  12. retry/
  13. secrets/
  14. serial/
  15. telnet/
  16. tftp/
  17. tilo/
  18. tools/
  19. .gitignore
  20. AUTHORS
  21. Gopkg.lock
  22. Gopkg.toml
  23. LICENSE
  24. MAINTAINERS
  25. manifest
  26. PATENTS
  27. README.md
  28. testsharder
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}