Skip to content

Test `ExecutionStatistics`

Santiago Gil requested to merge santigl/test-execution-stats into master

Before raising this MR, consider whether the following are required, and complete if so:

  • [ ] Unit tests
  • [ ] Metrics
  • [ ] Documentation update(s)

If not required, please explain in brief why not.

Description

buildbox-tools!36 adds support to casdownload to fetch and export ExecutionStats (execution_stats.proto) messages.

This enables the collection of those metrics by the runner, and checks that they are correctly propagated and successfully read by casdownload.

Changes proposed in this merge request:

  • buildbox-worker: add --runner-arg=--collect-execution-stats
  • run_casdownload_and_check_output(): assert that an execution_stats file is written

(MR based on the changes in !41 (merged). Depends on buildbox-tools!36.)

Edited by Santiago Gil

Merge request reports