infra.git

module
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

README

infra.git repository

Testing Welcome to the Chrome Infra repository!

Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.

Entry points

  • run.py: wrapper script to run programs contained in subdirectories without having to deal with sys.path modifications.
  • test.py: multi-purpose script to run tests.
  • packages/infra_libs/: generally useful functions and classes
  • infra/services/: standalone programs intended to be run as daemons.
  • infra/tools: command-line tools, intended to be run by developers.
  • appengine/: many Chrome-infra-managed AppEngine applications.
  • infra/experimental: for, well, experimental stuff. Once they are stabilized and reviewed, they should be moved in a more permanent place.

Miscellaneous technical stuff

  • bootstrap/: utilities to set up a proper Python virtual environment.
  • infra/path_hacks: submodules of this modules give access to modules in the build/ repository. from infra.path_hacks.common import <stg> is actually getting <stg> from build/scripts/common.
  • utils/: purpose? utils?
  • Need to bump infra/deployed to pick up changes?
    • git push origin <updated hash>:deployed
    • mail chrome-troopers@, include:
      • previously deployed hash (for quick rollback)
      • the hash you just pushed
      • the list of CLs that made this push necessary
      • the output of the git push command

Integrating tests with test.py

If you've added a new module, run your tests with test.py:

  1. Create a .coveragerc file in the root directory of the module you want to test. Take a look at another .coveragerc to see what to include in that.
  2. Create a "test" directory in the root directory of the module you want to test. Move your *_test.py files to this directory.

Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>.

Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py files in each directory of your module so Python recognizes it as a package.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores. Use yapf (git cl format) to autoformat new code.

Directories

Path Synopsis
go
src/infra/appengine/arquebus/app/appengine
Package arquebus is the entry point of this app.
Package arquebus is the entry point of this app.
src/infra/appengine/arquebus/app/backend
Package backend implements the core logic of Arquebus service.
Package backend implements the core logic of Arquebus service.
src/infra/appengine/arquebus/app/config
Package config implements interface for app-level configs for Arquebus.
Package config implements interface for app-level configs for Arquebus.
src/infra/appengine/arquebus/app/frontend
Package frontend implements Web interface for Arquebus.
Package frontend implements Web interface for Arquebus.
src/infra/appengine/arquebus/app/util
Package util implements helper functions that are used in other packages.
Package util implements helper functions that are used in other packages.
src/infra/appengine/chromium_build_stats/app
Package app implements chromium-build-stats.appspot.com services.
Package app implements chromium-build-stats.appspot.com services.
src/infra/appengine/chromium_build_stats/compilerproxylog
Package compilerproxylog provides compiler_proxy INFO log parser.
Package compilerproxylog provides compiler_proxy INFO log parser.
src/infra/appengine/chromium_build_stats/logstore
Package logstore provides an access to storage of ninja_log and compiler_proxy.INFO log.
Package logstore provides an access to storage of ninja_log and compiler_proxy.INFO log.
src/infra/appengine/chromium_build_stats/ninjalog
Package ninjalog provides ninja_log parser It support ninja log v5.
Package ninjalog provides ninja_log parser It support ninja log v5.
src/infra/appengine/cr-audit-commits/app
Package crauditcommits implements cr-audit-commits.appspot.com services.
Package crauditcommits implements cr-audit-commits.appspot.com services.
src/infra/appengine/cr-rev/backend
Frontend service handles home page, API and redirects.
Frontend service handles home page, API and redirects.
src/infra/appengine/cr-rev/backend/repoimport
Package repoimport is a generated GoMock package.
Package repoimport is a generated GoMock package.
src/infra/appengine/cr-rev/config
Package config implements interface for app-level configs for cr-rev.
Package config implements interface for app-level configs for cr-rev.
src/infra/appengine/cr-rev/frontend
Frontend service handles home page, API and redirects.
Frontend service handles home page, API and redirects.
src/infra/appengine/cr-rev/frontend/redirect
Package redirect contains logic for resovling ambiquios redirects and generic Git Web UI URLs.
Package redirect contains logic for resovling ambiquios redirects and generic Git Web UI URLs.
src/infra/appengine/cros/lab_inventory/api/bigquery
Package apibq contains the bigquery service API.
Package apibq contains the bigquery service API.
src/infra/appengine/cros/lab_inventory/api/v1
Package api contains the lab_inventory service API.
Package api contains the lab_inventory service API.
src/infra/appengine/cros/lab_inventory/app/config
Package config contains service configuration endpoints and data definition for lab_inventory.
Package config contains service configuration endpoints and data definition for lab_inventory.
src/infra/appengine/cros/lab_inventory/app/cron
Package cron implements handlers for appengine cron targets in this app.
Package cron implements handlers for appengine cron targets in this app.
src/infra/appengine/crosskylabadmin/api/fleet/v1
Package fleet contains service definitions for fleet management in crosskylabadmin.
Package fleet contains service definitions for fleet management in crosskylabadmin.
src/infra/appengine/crosskylabadmin/app/clients/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
src/infra/appengine/crosskylabadmin/app/config
Package config contains service configuration endpoints and data definition for crosskylabadmin.
Package config contains service configuration endpoints and data definition for crosskylabadmin.
src/infra/appengine/crosskylabadmin/app/cron
Package cron implements handlers for appengine cron targets in this app.
Package cron implements handlers for appengine cron targets in this app.
src/infra/appengine/crosskylabadmin/app/frontend/internal/datastore/deploy
Package deploy provides functions to store deployment status in datastore.
Package deploy provides functions to store deployment status in datastore.
src/infra/appengine/crosskylabadmin/app/frontend/internal/datastore/dronecfg
Package dronecfg implements datastore access for storing drone configs.
Package dronecfg implements datastore access for storing drone configs.
src/infra/appengine/crosskylabadmin/app/frontend/internal/datastore/freeduts
Package freeduts implements datastore access for caching free (removed) DUTs info.
Package freeduts implements datastore access for caching free (removed) DUTs info.
src/infra/appengine/crosskylabadmin/app/frontend/internal/datastore/inventory
Package inventory contains datastore operations for caching inventory data.
Package inventory contains datastore operations for caching inventory data.
src/infra/appengine/crosskylabadmin/app/frontend/internal/datastore/stableversion
Package stableversion provides functions to store stableversion info in datastore
Package stableversion provides functions to store stableversion info in datastore
src/infra/appengine/crosskylabadmin/app/frontend/internal/metrics
Package metrics contains functions to report tsmon metrics from app RPCs.
Package metrics contains functions to report tsmon metrics from app RPCs.
src/infra/appengine/crosskylabadmin/app/frontend/internal/swarming
Package swarming contains utilities for skylab swarming tasks.
Package swarming contains utilities for skylab swarming tasks.
src/infra/appengine/crosskylabadmin/app/frontend/inventory
Package inventory implements the fleet.Inventory service end-points of corsskylabadmin.
Package inventory implements the fleet.Inventory service end-points of corsskylabadmin.
src/infra/appengine/crosskylabadmin/app/queue
Package queue implements handlers for taskqueue jobs in this app.
Package queue implements handlers for taskqueue jobs in this app.
src/infra/appengine/depot_tools_metrics/metrics
Package main stores the reported JSON metrics from depot_tools into a BigQuery table.
Package main stores the reported JSON metrics from depot_tools into a BigQuery table.
src/infra/appengine/drone-queen/api
Package api contains the drone queen service API.
Package api contains the drone queen service API.
src/infra/appengine/drone-queen/internal/config
Package config contains the service configuration protos.
Package config contains the service configuration protos.
src/infra/appengine/drone-queen/internal/cron
Package cron implements handlers for appengine cron targets in this app.
Package cron implements handlers for appengine cron targets in this app.
src/infra/appengine/drone-queen/internal/entities
Package entities contains datastore entity kinds.
Package entities contains datastore entity kinds.
src/infra/appengine/drone-queen/internal/frontend
Package frontend implements the drone queen service.
Package frontend implements the drone queen service.
src/infra/appengine/drone-queen/internal/queries
Package queries contains convenient datastore queries.
Package queries contains convenient datastore queries.
src/infra/appengine/drone-queen/internal/testlogger
Package testlogger implements a logging.Logger for use in tests.
Package testlogger implements a logging.Logger for use in tests.
src/infra/appengine/rotation-proxy
package main implements the App Engine based HTTP server to handle request to Rotation Proxy
package main implements the App Engine based HTTP server to handle request to Rotation Proxy
src/infra/appengine/sheriff-o-matic/backend
Package main implements HTTP server that handles requests to the backend analyzer module.
Package main implements HTTP server that handles requests to the backend analyzer module.
src/infra/appengine/sheriff-o-matic/config
Package config is used temporarily as a kill switch when we disable automatic grouping.
Package config is used temporarily as a kill switch when we disable automatic grouping.
src/infra/appengine/sheriff-o-matic/frontend
Package main implements HTTP server that handles requests to default module.
Package main implements HTTP server that handles requests to default module.
src/infra/appengine/sheriff-o-matic/som/handler
Package handler implements HTTP server that handles requests to default module.
Package handler implements HTTP server that handles requests to default module.
src/infra/appengine/statsui/sql
The deploy command deploys Scheduled Queries into BigQuery
The deploy command deploys Scheduled Queries into BigQuery
src/infra/appengine/test-results/frontend
Program frontend implements the App Engine based HTTP server behind test-results.appspot.com.
Program frontend implements the App Engine based HTTP server behind test-results.appspot.com.
src/infra/appengine/test-results/masters
Package masters provides a list of known masters.
Package masters provides a list of known masters.
src/infra/appengine/test-results/model
Package model provides types that represent Chromium test result files such as "results.json", "full_results.json", etc.
Package model provides types that represent Chromium test result files such as "results.json", "full_results.json", etc.
src/infra/chromeperf/alert_groups
Package alert_groups includes all proto/service definitions for the AlertGroup service.
Package alert_groups includes all proto/service definitions for the AlertGroup service.
src/infra/chromeperf/pinpoint
Package pinpoint includes all proto/service definitions for the Pinpoint service.
Package pinpoint includes all proto/service definitions for the Pinpoint service.
src/infra/chromeperf/pinpoint/assertions
Package assertions contains GoConvey assertions used by pinpoint.
Package assertions contains GoConvey assertions used by pinpoint.
src/infra/chromeperf/pinpoint/server/convert
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.
src/infra/chromeperf/workflows
Package workflows includes all proto/service definitions for the Workflows service.
Package workflows includes all proto/service definitions for the Workflows service.
src/infra/chromeperf/workflows_server
Package workflows includes all proto/service definitions for the Workflows service.
Package workflows includes all proto/service definitions for the Workflows service.
src/infra/cmd/bqexport
bqexport loads a BigQuery struct definition from Go source and exports a table definition protobuf suitable for "bqschemaupdater" to instantiate and process.
bqexport loads a BigQuery struct definition from Go source and exports a table definition protobuf suitable for "bqschemaupdater" to instantiate and process.
src/infra/cmd/bqupload
Command bqupload inserts rows in a BigQuery table.
Command bqupload inserts rows in a BigQuery table.
src/infra/cmd/cloudbuildhelper
Binary cloudbuildhelper is used internally by Infra CI pipeline to build docker images.
Binary cloudbuildhelper is used internally by Infra CI pipeline to build docker images.
src/infra/cmd/cloudbuildhelper/builder
Package builder implement local build process.
Package builder implement local build process.
src/infra/cmd/cloudbuildhelper/cloudbuild
Package cloudbuild wraps interaction with Google Cloud Build.
Package cloudbuild wraps interaction with Google Cloud Build.
src/infra/cmd/cloudbuildhelper/docker
Package docker is a primitive wrapper over shelling out to 'docker' tool.
Package docker is a primitive wrapper over shelling out to 'docker' tool.
src/infra/cmd/cloudbuildhelper/dockerfile
Package dockerfile implements utilities related to Dockerfile processing.
Package dockerfile implements utilities related to Dockerfile processing.
src/infra/cmd/cloudbuildhelper/fileset
Package fileset contains an abstraction for a set of files.
Package fileset contains an abstraction for a set of files.
src/infra/cmd/cloudbuildhelper/gitignore
Package gitignore implements .gitignore check predicate.
Package gitignore implements .gitignore check predicate.
src/infra/cmd/cloudbuildhelper/manifest
Package manifest defines structure of YAML files with target definitions.
Package manifest defines structure of YAML files with target definitions.
src/infra/cmd/cloudbuildhelper/registry
Package registry implements very limited Container Registry v2 API client.
Package registry implements very limited Container Registry v2 API client.
src/infra/cmd/cloudbuildhelper/storage
Package storage wraps Google Storage routines into a simpler interface.
Package storage wraps Google Storage routines into a simpler interface.
src/infra/cmd/cloudsqlhelper
Binary cloudsqlhelper is a tool to simplify working with Cloud SQL databases.
Binary cloudsqlhelper is a tool to simplify working with Cloud SQL databases.
src/infra/cmd/cros_test_platform
Command cros_test_platform implements the cros_test_platform recipe's steps.
Command cros_test_platform implements the cros_test_platform recipe's steps.
src/infra/cmd/cros_test_platform/internal/autotest/artifacts
Package artifacts contains utility functions to download and unarchive Autotest build artifacts.
Package artifacts contains utility functions to download and unarchive Autotest build artifacts.
src/infra/cmd/cros_test_platform/internal/autotest/testspec
Package testspec contains functions to compute Build API test specification from Autotest control files.
Package testspec contains functions to compute Build API test specification from Autotest control files.
src/infra/cmd/cros_test_platform/internal/enumeration
Package enumeration contains functions to enumerate tests and associated metadata matching test plan requirements.
Package enumeration contains functions to enumerate tests and associated metadata matching test plan requirements.
src/infra/cmd/cros_test_platform/internal/execution
Package execution provides end-to-end execution of pre-enumerated cros_test_platform requests via the Skylab task running infrastructure.
Package execution provides end-to-end execution of pre-enumerated cros_test_platform requests via the Skylab task running infrastructure.
src/infra/cmd/cros_test_platform/internal/execution/args
Package args contains the logic for assembling all data required for creating an individual task request.
Package args contains the logic for assembling all data required for creating an individual task request.
src/infra/cmd/cros_test_platform/internal/execution/build
Package build provides a way to update the buildbucket Build proto during execution.
Package build provides a way to update the buildbucket Build proto during execution.
src/infra/cmd/cros_test_platform/internal/execution/response
Package response provides a way to accumulate and summarize the response for a request.
Package response provides a way to accumulate and summarize the response for a request.
src/infra/cmd/cros_test_platform/internal/execution/retry
Package retry provides a way to determine when a task should be retried.
Package retry provides a way to determine when a task should be retried.
src/infra/cmd/cros_test_platform/internal/execution/testrunner
Package testrunner exposes a way to interact with test_runner builds.
Package testrunner exposes a way to interact with test_runner builds.
src/infra/cmd/cros_test_platform/internal/execution/testrunner/service
Package service implements a skylab.Client using calls to BuildBucket.
Package service implements a skylab.Client using calls to BuildBucket.
src/infra/cmd/cros_test_platform/internal/execution/types
Package types contains types common to execution sub-packages.
Package types contains types common to execution sub-packages.
src/infra/cmd/cros_test_platform/internal/site
Package site contains functions and constants related to execution of this tool in specific environments (e.g., developer workstation vs buildbucket build)
Package site contains functions and constants related to execution of this tool in specific environments (e.g., developer workstation vs buildbucket build)
src/infra/cmd/cros_test_platform/internal/testutils
Package testutils contains utility functions for unit and integration tests.
Package testutils contains utility functions for unit and integration tests.
src/infra/cmd/cros_test_platform/luciexe
Command luciexe implements the cros_test_platform build logic.
Command luciexe implements the cros_test_platform build logic.
src/infra/cmd/cros_test_platform/luciexe/common
Package common houses common logic for all "steps" in this luciexe.
Package common houses common logic for all "steps" in this luciexe.
src/infra/cmd/cros_test_platform/luciexe/execute
Package execute houses the top-level logic for the execute step.
Package execute houses the top-level logic for the execute step.
src/infra/cmd/crosfleet
Command crosfleet is a Chrome OS hardware test lab tool.
Command crosfleet is a Chrome OS hardware test lab tool.
src/infra/cmd/crosfleet/internal/buildbucket
Package buildbucket provides a Buildbucket client with helper methods for interacting with builds.
Package buildbucket provides a Buildbucket client with helper methods for interacting with builds.
src/infra/cmd/crosfleet/internal/site
Package site contains site local constants for the crosfleet tool.
Package site contains site local constants for the crosfleet tool.
src/infra/cmd/diagnose_goma_log
diagnose_goma_log diagnoses goma's compiler_proxy.INFO log file.
diagnose_goma_log diagnoses goma's compiler_proxy.INFO log file.
src/infra/cmd/drone-agent
Command drone-agent is the client that talks to the drone queen service to provide Swarming bots for running tasks against test devices.
Command drone-agent is the client that talks to the drone queen service to provide Swarming bots for running tasks against test devices.
src/infra/cmd/drone-agent/internal/agent
Package agent implements an agent which talks to a drone queen service and manages Swarming bots.
Package agent implements an agent which talks to a drone queen service and manages Swarming bots.
src/infra/cmd/drone-agent/internal/agent/state
Package state implements the agent state.
Package state implements the agent state.
src/infra/cmd/drone-agent/internal/bot
Package bot wraps managing Swarming bots.
Package bot wraps managing Swarming bots.
src/infra/cmd/drone-agent/internal/delay
Package delay implements a delayable timer.
Package delay implements a delayable timer.
src/infra/cmd/drone-agent/internal/draining
Package draining implements a draining state on contexts.
Package draining implements a draining state on contexts.
src/infra/cmd/drone-agent/internal/tokman
Package tokman implements an OAuth access token file manager.
Package tokman implements an OAuth access token file manager.
src/infra/cmd/gaedeploy
Binary gaedeploy is a helper to deploy GAE apps from tarballs.
Binary gaedeploy is a helper to deploy GAE apps from tarballs.
src/infra/cmd/gaedeploy/gcloud
Package gcloud contains helpers for calling `gcloud` tool in PATH.
Package gcloud contains helpers for calling `gcloud` tool in PATH.
src/infra/cmd/gaedeploy/module
Package module implements reading and processing of GAE module YAMLs.
Package module implements reading and processing of GAE module YAMLs.
src/infra/cmd/gaedeploy/source
Package source abstracts source of deployable tarballs.
Package source abstracts source of deployable tarballs.
src/infra/cmd/mallet
Command cros-admin is the Chrome OS infrastructure admin tool.
Command cros-admin is the Chrome OS infrastructure admin tool.
src/infra/cmd/mallet/internal/bb
Package bb provides a buildbucket Client with helper methods to schedule the tasks.
Package bb provides a buildbucket Client with helper methods to schedule the tasks.
src/infra/cmd/mallet/internal/legacyinventory
Package legacyinventory includes gerrit-related functions.
Package legacyinventory includes gerrit-related functions.
src/infra/cmd/mallet/internal/site
Package site contains site local constants for the skylab tool.
Package site contains site local constants for the skylab tool.
src/infra/cmd/ninja_log_trace_viewer
ninja_log_trace_viewer converts .ninja_log into trace-viewer formats.
ninja_log_trace_viewer converts .ninja_log into trace-viewer formats.
src/infra/cmd/shivas/site
Package site contains site local constants for the shivas
Package site contains site local constants for the shivas
src/infra/cmd/skylab
Command cros-admin is the Chrome OS infrastructure admin tool.
Command cros-admin is the Chrome OS infrastructure admin tool.
src/infra/cmd/skylab/internal/bb
Package bb provides a buildbucket Client with helper methods for interacting with builds.
Package bb provides a buildbucket Client with helper methods for interacting with builds.
src/infra/cmd/skylab/internal/cmd/recipe
Package recipe formulates buildbucket requests for the cros_test_platform recipe, given arguments from the skylab tool.
Package recipe formulates buildbucket requests for the cros_test_platform recipe, given arguments from the skylab tool.
src/infra/cmd/skylab/internal/legacyinventory
Package legacyinventory includes gerrit-related functions.
Package legacyinventory includes gerrit-related functions.
src/infra/cmd/skylab/internal/logutils
Package logutils contains general logging helpers.
Package logutils contains general logging helpers.
src/infra/cmd/skylab/internal/site
Package site contains site local constants for the skylab tool.
Package site contains site local constants for the skylab tool.
src/infra/cmd/skylab/internal/userinput
Package userinput provides functions to obtain interactive user input for command line tools.
Package userinput provides functions to obtain interactive user input for command line tools.
src/infra/cmd/skylab_swarming_worker/internal/admin
Package admin provides bindings for the crosskylabadmin API
Package admin provides bindings for the crosskylabadmin API
src/infra/cmd/skylab_swarming_worker/internal/annotations
Package annotations provides an API for writing annotation lines that annotee can parse and turn into LogDog annotations.
Package annotations provides an API for writing annotation lines that annotee can parse and turn into LogDog annotations.
src/infra/cmd/skylab_swarming_worker/internal/autotest/constants
Package constants provides Autotest constants for Skylab worker.
Package constants provides Autotest constants for Skylab worker.
src/infra/cmd/skylab_swarming_worker/internal/event
Package event defines Lucifer events and a function for running Lucifer with an event handler.
Package event defines Lucifer events and a function for running Lucifer with an event handler.
src/infra/cmd/skylab_swarming_worker/internal/fifo
Package fifo implements FIFO utilities for skylab_swarming_worker.
Package fifo implements FIFO utilities for skylab_swarming_worker.
src/infra/cmd/skylab_swarming_worker/internal/logdog
Package logdog implements a convenient interface wrapping the LogDog, Butler, and Annotee APIs from LUCI.
Package logdog implements a convenient interface wrapping the LogDog, Butler, and Annotee APIs from LUCI.
src/infra/cmd/skylab_swarming_worker/internal/lucifer
Package lucifer provides Go bindings for running lucifer.
Package lucifer provides Go bindings for running lucifer.
src/infra/cmd/skylab_swarming_worker/internal/swmbot
Package swmbot provides interaction with the Swarming bot running the Skylab worker process.
Package swmbot provides interaction with the Swarming bot running the Skylab worker process.
src/infra/cmd/skylab_swarming_worker/internal/swmbot/harness
Package harness manages the setup and teardown of various Swarming bot resources for running lab tasks, like results directories and host info.
Package harness manages the setup and teardown of various Swarming bot resources for running lab tasks, like results directories and host info.
src/infra/cmd/skylab_swarming_worker/internal/swmbot/harness/hostinfo
Package hostinfo implements the parts of harness management pertaining to Autotest hostinfo.
Package hostinfo implements the parts of harness management pertaining to Autotest hostinfo.
src/infra/cmd/skylab_swarming_worker/internal/swmbot/harness/localdutinfo
Package localdutinfo implements opening and closing a DUT's local dut info stored on local disk(e.g.
Package localdutinfo implements opening and closing a DUT's local dut info stored on local disk(e.g.
src/infra/cmd/skylab_swarming_worker/internal/swmbot/harness/resultsdir
Package resultsdir implements Autotest results directory creation and sealing.
Package resultsdir implements Autotest results directory creation and sealing.
src/infra/cmd/skylab_swarming_worker/internal/swmbot/harness/ufsdutinfo
Package ufsdutinfo implement loading Skylab DUT inventory(UFS) info for the worker.
Package ufsdutinfo implement loading Skylab DUT inventory(UFS) info for the worker.
src/infra/config/tree
Package tree is a generated protocol buffer package.
Package tree is a generated protocol buffer package.
src/infra/cros/cmd/branch_util/test
Package test defines a branch_util-specific test harness.
Package test defines a branch_util-specific test harness.
src/infra/cros/cmd/caching-backend/conf-creator
This package creates the configuration files for nginx and keepalived used in the caching backend in Chrome OS fleet labs.
This package creates the configuration files for nginx and keepalived used in the caching backend in Chrome OS fleet labs.
src/infra/cros/cmd/caching-backend/nginx-access-log-metrics/internal/bquploader
Package bquploader defines a uploader of BigQuery.
Package bquploader defines a uploader of BigQuery.
src/infra/cros/cmd/common-tls
Command common-tls implements the shared high level test lab services (TLS) API.
Command common-tls implements the shared high level test lab services (TLS) API.
src/infra/cros/cmd/fleet-tlw
Command fleet-tlw implements the TLS wiring API for Chrome OS fleet labs.
Command fleet-tlw implements the TLS wiring API for Chrome OS fleet labs.
src/infra/cros/cmd/ipcpubsub/internal/site
Package site contains site local constants for the qscheduler tool.
Package site contains site local constants for the qscheduler tool.
src/infra/cros/cmd/labpack
The labpack program allows to run repair tasks for ChromeOS devices in the lab.
The labpack program allows to run repair tasks for ChromeOS devices in the lab.
src/infra/cros/cmd/lucifer
Command lucifer runs tests and admin tasks.
Command lucifer runs tests and admin tasks.
src/infra/cros/cmd/lucifer/internal/abortsock
Package abortsock implements abort sockets.
Package abortsock implements abort sockets.
src/infra/cros/cmd/lucifer/internal/annotations
Package annotations provides a basic API for writing annotation lines that annotee can parse and turn into LogDog annotations.
Package annotations provides a basic API for writing annotation lines that annotee can parse and turn into LogDog annotations.
src/infra/cros/cmd/lucifer/internal/api
Package api contains the interface that Lucifer uses to talk to the outside world.
Package api contains the interface that Lucifer uses to talk to the outside world.
src/infra/cros/cmd/lucifer/internal/autotest
Package autotest provides a Go API for interacting with Autotest.
Package autotest provides a Go API for interacting with Autotest.
src/infra/cros/cmd/lucifer/internal/autotest/atutil
Package atutil provides a higher level Autotest interface than the autotest package.
Package atutil provides a higher level Autotest interface than the autotest package.
src/infra/cros/cmd/lucifer/internal/autotest/dutprep
Package dutprep contains functions helpful in interaction with the Autotest DUT preparation tool.
Package dutprep contains functions helpful in interaction with the Autotest DUT preparation tool.
src/infra/cros/cmd/lucifer/internal/event
Package event standardizes communication of events from Lucifer commands.
Package event standardizes communication of events from Lucifer commands.
src/infra/cros/cmd/lucifer/internal/flagx
Package flagx contains extra utilities to complement the flag package.
Package flagx contains extra utilities to complement the flag package.
src/infra/cros/cmd/lucifer/internal/logdog
Package logdog provide an interface for writing LogDog logs.
Package logdog provide an interface for writing LogDog logs.
src/infra/cros/cmd/lucifer/internal/osutil
Package osutil contains high-level utility functions for operating system functionality.
Package osutil contains high-level utility functions for operating system functionality.
src/infra/cros/cmd/phosphorus
Command autotest_status_parser extracts individual test case results from status.log.
Command autotest_status_parser extracts individual test case results from status.log.
src/infra/cros/cmd/phosphorus/internal/autotest
Package autotest provides a Go API for interacting with Autotest.
Package autotest provides a Go API for interacting with Autotest.
src/infra/cros/cmd/phosphorus/internal/autotest/atutil
Package atutil provides a higher level Autotest interface than the autotest package.
Package atutil provides a higher level Autotest interface than the autotest package.
src/infra/cros/cmd/phosphorus/internal/botcache
Package botcache provides an interface to interact with data cached in a swarming bot corresponding to a Chrome OS DUT.package botcache
Package botcache provides an interface to interact with data cached in a swarming bot corresponding to a Chrome OS DUT.package botcache
src/infra/cros/cmd/phosphorus/internal/gs
Package gs exports helpers to upload log data to Google Storage.
Package gs exports helpers to upload log data to Google Storage.
src/infra/cros/cmd/phosphorus/internal/osutil
Package osutil contains high-level utility functions for operating system functionality.
Package osutil contains high-level utility functions for operating system functionality.
src/infra/cros/cmd/phosphorus/internal/parallels
Package parallels contains commands used in the build_parallels_image recipe.
Package parallels contains commands used in the build_parallels_image recipe.
src/infra/cros/cmd/phosphorus/internal/skylab_local_state/location
Package location provides utils for manipulating local file paths and URLs.
Package location provides utils for manipulating local file paths and URLs.
src/infra/cros/cmd/phosphorus/internal/skylab_local_state/ufs
Package ufs provides option t build connection to UFS service.
Package ufs provides option t build connection to UFS service.
src/infra/cros/cmd/phosphorus/internal/tls
Package tls provides utilities to manage a Test Library Services server running in the background for a phosphorus command.
Package tls provides utilities to manage a Test Library Services server running in the background for a phosphorus command.
src/infra/cros/cmd/prototype-rts
Application prototype-rts is a local demo Remote Test Server.
Application prototype-rts is a local demo Remote Test Server.
src/infra/cros/cmd/prototype-tlw
Command dev-tlw implements the TLS wiring API for development convenience.
Command dev-tlw implements the TLS wiring API for development convenience.
src/infra/cros/cmd/result_flow
Command result_flow implements the result flow recipe's steps.
Command result_flow implements the result flow recipe's steps.
src/infra/cros/cmd/result_flow/internal/bb
Package bb implements a BuildBucket.Client using calls to BuildBucket.
Package bb implements a BuildBucket.Client using calls to BuildBucket.
src/infra/cros/cmd/result_flow/internal/site
Package site contains site local constants for the Result Flow.
Package site contains site local constants for the Result Flow.
src/infra/cros/cmd/result_flow/internal/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.
src/infra/cros/cmd/tclint
Command lint is generic linter for Chrome OS test configs.
Command lint is generic linter for Chrome OS test configs.
src/infra/cros/cmd/tclint/internal/diagnostics
Package diagnostics provides utilities to collect diagnostics for lint.
Package diagnostics provides utilities to collect diagnostics for lint.
src/infra/cros/cmd/tclint/internal/metadata
Package metadata provides functions to lint Chrome OS integration test metadata.
Package metadata provides functions to lint Chrome OS integration test metadata.
src/infra/cros/cmd/tclint/internal/util/difftests
Package difftests provides utilities for writing tests that compare against golden output.
Package difftests provides utilities for writing tests that compare against golden output.
src/infra/cros/dutstate
Package dutstate provides representation of states of DUT in Swarming and reading and updating a state in UFS service.
Package dutstate provides representation of states of DUT in Swarming and reading and updating a state in UFS service.
src/infra/cros/fleet/access
Package access provides the Fleet Access API bindings.
Package access provides the Fleet Access API bindings.
src/infra/cros/internal/assert
Package assert contains common assert methods.
Package assert contains common assert methods.
src/infra/cros/internal/buildplan
Package buildplan contains support code for the build planner.
Package buildplan contains support code for the build planner.
src/infra/cros/internal/chromeosversion
Package chromeosversion provides a number of methods for interacting with ChromeOS versions and the version file.
Package chromeosversion provides a number of methods for interacting with ChromeOS versions and the version file.
src/infra/cros/internal/cmd
Package cmd provides support for running commands.
Package cmd provides support for running commands.
src/infra/cros/internal/gerrit
Package gerrit contains functions for interacting with gerrit/gitiles.
Package gerrit contains functions for interacting with gerrit/gitiles.
src/infra/cros/internal/git
Package git provides functionality for interacting with local and remote git repositories.
Package git provides functionality for interacting with local and remote git repositories.
src/infra/cros/internal/git/genoptions
Generates options.go, which implements git options.
Generates options.go, which implements git options.
src/infra/cros/internal/pointless
Package pointless contains code for the pointless build checker.
Package pointless contains code for the pointless build checker.
src/infra/cros/internal/repo
Package repo contains functions for interacting with manifests and the repo tool.
Package repo contains functions for interacting with manifests and the repo tool.
src/infra/cros/internal/repoharness
Package repoharness contains code for a test harness that allows for easy faking of a repo checkout.
Package repoharness contains code for a test harness that allows for easy faking of a repo checkout.
src/infra/cros/internal/testutil
Package testutil contains various util functions for testing.
Package testutil contains various util functions for testing.
src/infra/cros/internal/util
Package util contains common utility functions.
Package util contains common utility functions.
src/infra/cros/lab_inventory/bq
Package bq implements bigquery-related logic.
Package bq implements bigquery-related logic.
src/infra/cros/lab_inventory/datastore
Package datastore contains datastore-related logic.
Package datastore contains datastore-related logic.
src/infra/cros/lab_inventory/dronecfg
Package dronecfg implements datastore access for storing drone configs.
Package dronecfg implements datastore access for storing drone configs.
src/infra/cros/lab_inventory/utilization
Package utilization provides functions to report DUT utilization metrics.
Package utilization provides functions to report DUT utilization metrics.
src/infra/cros/recovery
Package recovery provides ability to run recovery tasks against on the target units.
Package recovery provides ability to run recovery tasks against on the target units.
src/infra/cros/recovery/internal/config
Package config provides struts to holds and read configs.
Package config provides struts to holds and read configs.
src/infra/cros/recovery/internal/localtlw
Package localtlw provides local implementation of TLW Access.
Package localtlw provides local implementation of TLW Access.
src/infra/cros/recovery/internal/localtlw/dutinfo
Package dutinfo provides help function to work with DUT info.
Package dutinfo provides help function to work with DUT info.
src/infra/cros/recovery/internal/localtlw/servod
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
src/infra/cros/recovery/internal/localtlw/xmlrpc
Package xmlrpc implements the XML-RPC client library.
Package xmlrpc implements the XML-RPC client library.
src/infra/cros/recovery/internal/log
Package log provides a wrapper over logging interfaces to simplify usage in recovery lib.
Package log provides a wrapper over logging interfaces to simplify usage in recovery lib.
src/infra/cros/recovery/internal/plan
Package plan provides struts and functionality to use plans and actions.
Package plan provides struts and functionality to use plans and actions.
src/infra/cros/recovery/internal/plan/execs
Package execs provides collection of execution functions for actions and ability to execute them.
Package execs provides collection of execution functions for actions and ability to execute them.
src/infra/cros/recovery/internal/retry
Package retry provides retry methods.
Package retry provides retry methods.
src/infra/cros/recovery/logger
Package logger provides an abstract representation of logging interfaces used by recovery lib.
Package logger provides an abstract representation of logging interfaces used by recovery lib.
src/infra/cros/recovery/tlw
Package tlw provides an abstract representation of the TLW API which is used by recovery
Package tlw provides an abstract representation of the TLW API which is used by recovery
src/infra/cros/tlslib
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
src/infra/cros/tlslib/internal/nebraska
Package nebraska implements a fake Omaha server based on "nebraska.py".
Package nebraska implements a fake Omaha server based on "nebraska.py".
src/infra/cros/tlslib/internal/resource
Package resource helps to manage AIP resources (https://google.aip.dev/121).
Package resource helps to manage AIP resources (https://google.aip.dev/121).
src/infra/cros/tlsutil
Package tlsutil provides utility for working with test lab services.
Package tlsutil provides utility for working with test lab services.
src/infra/experimental/importcounter
Command importcounter will calculate and print per-package and aggregate metrics about Go dependencies.
Command importcounter will calculate and print per-package and aggregate metrics about Go dependencies.
src/infra/libs/bqschema/buildevent
Package buildevent defines BigQuery schemas and table definitions to use for build events.
Package buildevent defines BigQuery schemas and table definitions to use for build events.
src/infra/libs/cipd
Package cipd is an internal CIPD tool wrapper.
Package cipd is an internal CIPD tool wrapper.
src/infra/libs/cookiefile
Package cookiefile implements a CookieJar over a standard Netscape/curl format cookie file.
Package cookiefile implements a CookieJar over a standard Netscape/curl format cookie file.
src/infra/libs/grpcclient
Package grpcclient provides a common configuration for specifying clients of grpc services.
Package grpcclient provides a common configuration for specifying clients of grpc services.
src/infra/libs/infraenv
Package infraenv enables applications to access Chrome Infrastructure-specific bot parameters.
Package infraenv enables applications to access Chrome Infrastructure-specific bot parameters.
src/infra/libs/lro
Package lro provides a universal implementation of longrunning.OperationsServer, and helper functions for dealing with long-running operations.
Package lro provides a universal implementation of longrunning.OperationsServer, and helper functions for dealing with long-running operations.
src/infra/libs/skylab/autotest/dynamicsuite
Package dynamicsuite provides a library to create control.cros_test_platform suite requests that inject arbitrary arguments into autotest.dynamic_suite.reimage_and_run(...).
Package dynamicsuite provides a library to create control.cros_test_platform suite requests that inject arbitrary arguments into autotest.dynamic_suite.reimage_and_run(...).
src/infra/libs/skylab/autotest/hostinfo
Package hostinfo provides support for Autotest's serialized hostinfo data.
Package hostinfo provides support for Autotest's serialized hostinfo data.
src/infra/libs/skylab/autotest/proxy
Package proxy provides a library to create swarming requests for an autotest-swarming-proxy task.
Package proxy provides a library to create swarming requests for an autotest-swarming-proxy task.
src/infra/libs/skylab/cloudkms
Package cloudkms implements decryption of Cloud KMS encrypted ciphertext.
Package cloudkms implements decryption of Cloud KMS encrypted ciphertext.
src/infra/libs/skylab/common/errctx
Package errctx provides implementations of context.Context that allow for cancellation or deadline expiration with custom error messages.
Package errctx provides implementations of context.Context that allow for cancellation or deadline expiration with custom error messages.
src/infra/libs/skylab/dutstate
Package dutstate provides utils related to the DUT state cache file and the autotest host info file.
Package dutstate provides utils related to the DUT state cache file and the autotest host info file.
src/infra/libs/skylab/inventory
Package inventory implements Skylab inventory stuff.
Package inventory implements Skylab inventory stuff.
src/infra/libs/skylab/inventory/autotest/labels
Package labels implements conversion of Skylab inventory schema to Autotest labels.
Package labels implements conversion of Skylab inventory schema to Autotest labels.
src/infra/libs/skylab/inventory/swarming
Package swarming implements conversion of Skylab inventory schema to Swarming dimensions.
Package swarming implements conversion of Skylab inventory schema to Swarming dimensions.
src/infra/libs/skylab/request
Package request provides a library to create swarming requests based on skylab test or task parameters.
Package request provides a library to create swarming requests based on skylab test or task parameters.
src/infra/libs/skylab/sideeffects
Package sideeffects implements the validation of side effects configuration.
Package sideeffects implements the validation of side effects configuration.
src/infra/libs/skylab/swarming
Package swarming implements a client for creating skylab-swarming tasks and getting their results.
Package swarming implements a client for creating skylab-swarming tasks and getting their results.
src/infra/libs/skylab/worker
Package worker implements a constructor for skylab_swarming_worker commands.
Package worker implements a constructor for skylab_swarming_worker commands.
src/infra/libs/sshpool
Package sshpool helps manage a pool of SSH clients.
Package sshpool helps manage a pool of SSH clients.
src/infra/libs/sshtunnel
Package sshtunnel helps create a SSH tunnels between clients.
Package sshtunnel helps create a SSH tunnels between clients.
src/infra/monorail
Package monorail implements Monorail client.
Package monorail implements Monorail client.
src/infra/qscheduler/cmd/qscheduler
Command qscheduler is the tool to interact with quotascheduler.
Command qscheduler is the tool to interact with quotascheduler.
src/infra/qscheduler/cmd/qscheduler/internal/site
Package site contains site local constants for the qscheduler tool.
Package site contains site local constants for the qscheduler tool.
src/infra/qscheduler/qslib/profiler
Package profiler provides entity size and CPU usage profiling for quotascheduler entities.
Package profiler provides entity size and CPU usage profiling for quotascheduler entities.
src/infra/qscheduler/qslib/protos/metrics
Package metrics defines types used for structured logs and metrics of the quotascheduler behavior.
Package metrics defines types used for structured logs and metrics of the quotascheduler behavior.
src/infra/qscheduler/qslib/reconciler
Package reconciler provides a wrapper around a global state scheduler to be used by a per-worker pulling dispatcher.
Package reconciler provides a wrapper around a global state scheduler to be used by a per-worker pulling dispatcher.
src/infra/qscheduler/qslib/scheduler
Package scheduler provides Scheduler, which is an implementation of the quotascheduler algorithm.
Package scheduler provides Scheduler, which is an implementation of the quotascheduler algorithm.
src/infra/qscheduler/qslib/tutils
Package tutils provides convenience functions to convert between proto representations and time.Time / time.Duration representations of times or durations.
Package tutils provides convenience functions to convert between proto representations and time.Time / time.Duration representations of times or durations.
src/infra/qscheduler/service/api/qscheduler/v1
Package qscheduler contains service definitions for the qscheduler app.
Package qscheduler contains service definitions for the qscheduler app.
src/infra/qscheduler/service/app/config
Package config contains service configuration endpoints and data definition for qscheduler-swarming.
Package config contains service configuration endpoints and data definition for qscheduler-swarming.
src/infra/qscheduler/service/app/frontend
Package frontend exposes the primary pRPC API of qscheduler app.
Package frontend exposes the primary pRPC API of qscheduler app.
src/infra/qscheduler/service/app/state
Package state provides representations of the state of a quotascheduler app, as well as transformations that run on a state and ways to persist the state, and emits metrics about the state or its transitions.
Package state provides representations of the state of a quotascheduler app, as well as transformations that run on a state and ways to persist the state, and emits metrics about the state or its transitions.
src/infra/qscheduler/service/app/state/metrics
Package metrics provides functions to emit ts_mon and bq metrics.
Package metrics provides functions to emit ts_mon and bq metrics.
src/infra/qscheduler/service/app/state/nodestore
Package nodestore implements a datastore-backed persistent store of qscheduler state, that shards state over as many entities as necessary to stay under datastore's single-entity size limit, and uses an in-memory cache to avoid unnecessary datastore reads.
Package nodestore implements a datastore-backed persistent store of qscheduler state, that shards state over as many entities as necessary to stay under datastore's single-entity size limit, and uses an in-memory cache to avoid unnecessary datastore reads.
src/infra/qscheduler/service/app/state/nodestore/internal/blob
Package blob defines the proto format used by nodestore.
Package blob defines the proto format used by nodestore.
src/infra/qscheduler/service/cmd/qscheduler-swarming
Command qscheduler-swarming implements a qscheduler server process for GKE environment.
Command qscheduler-swarming implements a qscheduler server process for GKE environment.
src/infra/rts/cmd/rts-chromium
Command rts-chromium is Chromium-specific part of the generic RTS framework.
Command rts-chromium is Chromium-specific part of the generic RTS framework.
src/infra/rts/filegraph
Package filegraph implements a directed weighted graph of files, where the weight of edge (x, y), called distance, represents how much y is affected by changes in x.
Package filegraph implements a directed weighted graph of files, where the weight of edge (x, y), called distance, represents how much y is affected by changes in x.
src/infra/rts/filegraph/cli
Package cli implements filegraph command.
Package cli implements filegraph command.
src/infra/rts/filegraph/git
Package git implements derivation of a file graph from git log and optionally from the file structure.
Package git implements derivation of a file graph from git log and optionally from the file structure.
src/infra/rts/presubmit/eval
Package eval implements a framework for selection strategy evaluation.
Package eval implements a framework for selection strategy evaluation.
src/infra/third_party/govanityurls
govanityurls serves Go vanity URLs.
govanityurls serves Go vanity URLs.
src/infra/tools/cfggrab
Command cfggrab fetches some <name>.cfg from all LUCI project configs.
Command cfggrab fetches some <name>.cfg from all LUCI project configs.
src/infra/tools/device_watchdog
device_watchdog is a watchdog daemon for android devices.
device_watchdog is a watchdog daemon for android devices.
src/infra/tools/dirmd
Package dirmd implements parsing and transformations of directory metadata.
Package dirmd implements parsing and transformations of directory metadata.
src/infra/tools/dirmd/cli/updater
Package updater computes inherited metadata and uploads it to GCS.
Package updater computes inherited metadata and uploads it to GCS.
src/infra/tools/led
Command 'led' is the new generation of 'infra/tools/led'.
Command 'led' is the new generation of 'infra/tools/led'.
src/infra/tools/migrator
Package migrator provides interfaces and tooling for migrating LUCI configuration files across all known LUCI projects.
Package migrator provides interfaces and tooling for migrating LUCI configuration files across all known LUCI projects.
src/infra/tools/migrator/internal/plugsupport
Package plugsupport provides implementations for loading migrator plugins.
Package plugsupport provides implementations for loading migrator plugins.
src/infra/tools/migrator/internal/plugsupport/templates
Package templates is generated by go.chromium.org/luci/tools/cmd/assets.
Package templates is generated by go.chromium.org/luci/tools/cmd/assets.
src/infra/tools/relnotes
CLI tool to generate release notes based on git logs in the current directory.
CLI tool to generate release notes based on git logs in the current directory.
src/infra/tricium/appengine/common
Package common implements common functionality for the Tricium service modules.
Package common implements common functionality for the Tricium service modules.
src/infra/tricium/appengine/common/track
Package track implements shared tracking functionality for the Tricium service modules.
Package track implements shared tracking functionality for the Tricium service modules.
src/infra/tricium/appengine/common/triciumtest
Package triciumtest implements common testing functionality for the Tricium service modules.
Package triciumtest implements common testing functionality for the Tricium service modules.
src/infra/tricium/functions/commitcheck
Package main implements the commitcheck analyzer.
Package main implements the commitcheck analyzer.
src/infra/tricium/functions/git-file-isolator
Package main implements the Git File Isolator analyzer.
Package main implements the Git File Isolator analyzer.
src/infra/tricium/functions/hello
Package main implements the Hello analyzer.
Package main implements the Hello analyzer.
src/infra/unifiedfleet/api/v1/cron
Package cron contains the cron trigger API.
Package cron contains the cron trigger API.
src/infra/unifiedfleet/api/v1/models
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
src/infra/unifiedfleet/api/v1/models/bigquery
Package apibq contains the bigquery service API.
Package apibq contains the bigquery service API.
src/infra/unifiedfleet/api/v1/models/chromeos/device
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
src/infra/unifiedfleet/api/v1/models/chromeos/lab
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
src/infra/unifiedfleet/api/v1/models/chromeos/manufacturing
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
src/infra/unifiedfleet/api/v1/rpc
Package ufspb contains the fleet service API.
Package ufspb contains the fleet service API.
src/infra/unifiedfleet/app/config
Package config contains the configurations for UFS service.
Package config contains the configurations for UFS service.

Jump to

Keyboard shortcuts

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