Clone this repo:
  1. 7b0a713 flakiness analyzer: Add apis. by Xixuan Wu · 3 months ago factory-nami-10715.B firmware-nami-10775.B master release-R68-10718.B stabilize-10682.B stabilize-10866.B stabilize-atlas.10736.B stabilize-atlas.10819.B stabilize-nocturne.10646.B stabilize-nocturne.10736.B stabilize-nocturne.10819.B stabilize-nocturne.10828.B
  2. dae79f7 flakiness analyzer: Add kms for encrypt/decrypt secret keys. by Xixuan Wu · 4 months ago release-R67-10575.B stabilize-10569.B stabilize-10575.54.B stabilize-10575.58.B stabilize-meowth-10574.B
  3. fc7cae5 test_analyzer: separate running_unittests & integration tests. by Xixuan Wu · 4 months ago factory-poppy-10504.B
  4. 08a56c4 test_analyzer: Add initial setups & bigquery connections. by Xixuan Wu · 4 months ago
  5. 41da080 Initial empty repository by Xixuan Wu · 5 months ago release-R66-10452.B stabilize-10452.81.B stabilize-10452.85.B stabilize-10452.90.B stabilize-10452.96.B

Setup

  1. 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.

  2. Install pipenv to create virtual environment for local tests:

     sudo pip install pipenv
    
  3. Try to run tests:

    For unittest:

     bin/run_unittests
    

    For integration test:

     bin/run_integration_tests