Clone this repo:
  1. 7b0a713 flakiness analyzer: Add apis. by Xixuan Wu · 5 months ago factory-nami-10715.B factory-nocturne-10984.B factory-nocturne-11066.B firmware-grunt-11031.B firmware-nami-10775.B firmware-nocturne-10984.B firmware-servo-11011.B master release-R68-10718.B release-R69-10895.B release-R70-11021.B stabilize-10682.B stabilize-10718.69.B stabilize-10718.71.B stabilize-10718.88.B stabilize-10866.B stabilize-10895.56.B stabilize-10895.B stabilize-10985.B stabilize-11005.B stabilize-11020.B stabilize-atlas-11022.B stabilize-atlas.10736.B stabilize-atlas.10819.B stabilize-jetstream-11056.B stabilize-nocturne-10986.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 · 6 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 · 6 months ago factory-poppy-10504.B
  4. 08a56c4 test_analyzer: Add initial setups & bigquery connections. by Xixuan Wu · 6 months ago
  5. 41da080 Initial empty repository by Xixuan Wu · 7 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