result_flow

command
Version: v0.0.0-...-e560ebb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

README

Result Flow implementations.

This binary's subcommands transform the ChromeOS Test Platform implementation output to Skylab test results in a user friendly format and insert them into Bigquery.

Result Flow has below subcommands for different Recipes:

publish

Executed twice in cros_test_platform Recipe, publish pushes a CTP build ID to Pub/Sub:

  • before test execution: notify the subscriber that a new CTP build was kicked off, and its metadata is ready.
  • after test execution: notify the subscriber to update CTP build's status.

ctp

Run in Result Flow Recipe, ctp pulls a set of CTP Build IDs from the Pub/Sub topic. By calling Buildbucket API, ctp catches the CTP's metadata and status(whether the build is completed), transforms to test_platform/analyticsTestPlanRun and uploads to Bigquery.

skylab

Run in Result Flow Recipe, skylab catches the test runner build ID from the Test Runner Pub/Sub topic. Via Buildbucket's GetBuild call, it collects the test runner output, transforms it into test_platform/analytics/[TestRun|TestCaseResult], and inserts to Bigquery.

Documentation

Overview

Command result_flow implements the result flow recipe's steps.

Source Files

Directories

Path Synopsis
internal
bb
Package bb implements a BuildBucket.Client using calls to BuildBucket.
Package bb implements a BuildBucket.Client using calls to BuildBucket.
bq
cmd
site
Package site contains site local constants for the Result Flow.
Package site contains site local constants for the Result Flow.
transform
Package transform contains tools for transforming CTP build to test_platform/analytics/TestPlanRun proto.
Package transform contains tools for transforming CTP build to test_platform/analytics/TestPlanRun proto.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL