flakiness analyzer: Add apis. BUG=chromium:818020 TEST=Ran integration tests. Ran "./bin/run_demo" for demo. Ran "./bin/deploy_staging", "./bin/deploy_prod" to deploy. Change-Id: If9a7fd8ffc9f84c8d0e521c1ba31f3c1e71a7d60 Reviewed-on: https://chromium-review.googlesource.com/982516 Commit-Ready: Xixuan Wu <xixuan@chromium.org> Tested-by: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Paul Hobbs <phobbs@google.com>
Download service account service secret files:
gsutil cp -r gs://chromiumos-test-analyzer.appspot.com/credentials ./test_analyzer/
It includes 2 json files, one for prod & one for staging instance.
Install pipenv to create virtual environment for local tests:
sudo pip install pipenv
Try to run tests:
For unittest:
bin/run_unittests
For integration test:
bin/run_integration_tests