Clone this repo:
  1. 14119cc test_analyzer: Update OWNERS. by Kirtika Ruchandani · 8 months ago factory-drallion-13080.B factory-endeavour-13295.B factory-puff-13329.B factory-trogdor-13443.B factory-zork-13427.B firmware-drallion-12930.B firmware-endeavour-13259.B firmware-puff-13324.B firmware-volteer-13521.B firmware-zork-13421.B firmware-zork-13434.B master release-R82-12974.B release-R83-13020.B release-R84-13099.B release-R85-13310.B release-R86-13421.B release-R87-13505.B stabilize-12951.B stabilize-12997.B stabilize-13020.55.B stabilize-13020.67.B stabilize-13020.87.B stabilize-13070.B stabilize-13099.101.B stabilize-13099.110.B stabilize-13099.118.B stabilize-13099.70.B stabilize-13099.72.B stabilize-13099.73.B stabilize-13099.85.B stabilize-13099.90.B stabilize-13099.94.B stabilize-13310.72.B stabilize-13310.74.B stabilize-13310.83.B stabilize-13310.94.B stabilize-13310.99.B stabilize-13360.B stabilize-13421.42.B stabilize-13421.53.B stabilize-13421.73.B stabilize-13482.B stabilize-13525.B stabilize-13532.B stabilize-lazor-13278.B stabilize-quickfix-13099.93.B stabilize-quickfix-13310.73.B stabilize-quickfix-13310.76.B stabilize-quickfix-13310.91.B stabilize-rust-13514.B stabilize-sylas-13019.B stabilize-volteer-12931.B
  2. 2b64804 test_analyzer: Add OWNERS file by Chris McDonald · 1 year, 4 months ago factory-excelsior-12812.B factory-hatch-12692.B factory-kukui-12587.B factory-mistral-12361.B firmware-hatch-12669.B firmware-hatch-12672.B firmware-kukui-12573.B firmware-mistral-12422.B firmware-servo-12768.B release-R77-12371.B release-R78-12499.B release-R79-12607.B release-R80-12739.B release-R81-12871.B stabilize-12331.B stabilize-12371.11.B stabilize-12371.26.B stabilize-12371.27.B stabilize-12371.39.B stabilize-12371.48.B stabilize-12371.50.B stabilize-12371.52.B stabilize-12371.65.B stabilize-12371.71.B stabilize-12371.75.B stabilize-12371.80.B stabilize-12371.81.B stabilize-12371.82.B stabilize-12371.89.B stabilize-12386.B stabilize-12428.B stabilize-12441.B stabilize-12464.B stabilize-12499.18.B stabilize-12515.B stabilize-12560.B stabilize-12593.B stabilize-12607.15.B stabilize-12607.3.B stabilize-12607.5.B stabilize-12607.55.B stabilize-12607.58.B stabilize-12607.6.B stabilize-12607.82.B stabilize-12669.B stabilize-12739.105.B stabilize-12739.106.B stabilize-12739.111.B stabilize-12748.B stabilize-12859.B stabilize-12871.102.B stabilize-12871.103.B stabilize-12871.24.B stabilize-12871.253.B stabilize-12871.57.B stabilize-12871.65.B stabilize-12871.91.B stabilize-12881.B stabilize-excelsior-12739.67.B stabilize-kernelnext-broadwell-12434.B stabilize-mtbf-12607.83.B stabilize-octopus-12371.15.B stabilize-quickfix-12607.83.B stabilize-quickfix-12739.71.B stabilize-quickfix-12739.94.B stabilize-quickfix-12871.27.B stabilize-volteer-12665.B
  3. 7b0a713 flakiness analyzer: Add apis. by Xixuan Wu · 2 years, 6 months ago factory-atlas-11907.B factory-grunt-11164.B factory-nami-10715.106.B factory-nami-10715.B factory-nocturne-10984.B factory-nocturne-11066.B factory-octopus-11512.B factory-rammus-11289.B factory-sarien-12033.B firmware-atlas-11827.12.B firmware-atlas-11827.B firmware-grunt-11031.B firmware-kalista-11343.B firmware-nami-10775.108.B firmware-nami-10775.130.B firmware-nami-10775.B firmware-nocturne-10984.B firmware-octopus-11297.106.B firmware-octopus-11297.83.B firmware-octopus-11297.B firmware-rammus-11275.B firmware-sarien-12200.B firmware-servo-11011.B release-R68-10718.B release-R69-10895.B release-R70-11021.B release-R71-11151.B release-R72-11316.B release-R73-11647.B release-R74-11895.B release-R75-12105.B release-R76-12239.B stabilize-10682.B stabilize-10718.111.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-11021.84.B stabilize-11101.B stabilize-111316.112.B stabilize-11151.100.B stabilize-11151.113.B stabilize-11151.59.B stabilize-11217.B stabilize-11306.B stabilize-11316.123.B stabilize-11316.146.B stabilize-11316.148.B stabilize-11316.35.B stabilize-11316.76.B stabilize-11316.82.B stabilize-11554.B stabilize-11647.104.B stabilize-11647.70.B stabilize-11686.B stabilize-11839.3.B stabilize-11839.B stabilize-11895.108.B stabilize-11895.109.B stabilize-11895.118.B stabilize-11895.72.B stabilize-11895.89.B stabilize-11895.95.B stabilize-11998.B stabilize-12054.B stabilize-12058.B stabilize-12060.B stabilize-12061.B stabilize-12088.B stabilize-12105.100.B stabilize-12105.75.B stabilize-12121.B stabilize-12202.B stabilize-12206.B stabilize-12222.B stabilize-12239.19.B stabilize-12239.46.B stabilize-12239.67.B stabilize-12239.89.B stabilize-12239.92.B stabilize-12249.B stabilize-12301.B stabilize-atlas-11022.B stabilize-atlas-11177.B stabilize-atlas-11512.6.B stabilize-atlas-11512.B stabilize-atlas.10736.B stabilize-atlas.10819.B stabilize-atlas.11448.B stabilize-flapjack-12109.B stabilize-jetstream-11056.B stabilize-kukui-12285.B stabilize-nocturne-10986.B stabilize-nocturne.10646.B stabilize-nocturne.10736.B stabilize-nocturne.10819.B stabilize-nocturne.10828.B stabilize-octopus-11316.37.B stabilize-octopus-11316.38.B
  4. dae79f7 flakiness analyzer: Add kms for encrypt/decrypt secret keys. by Xixuan Wu · 2 years, 7 months ago release-R67-10575.B stabilize-10569.B stabilize-10575.54.B stabilize-10575.58.B stabilize-meowth-10574.B
  5. fc7cae5 test_analyzer: separate running_unittests & integration tests. by Xixuan Wu · 2 years, 7 months ago factory-poppy-10504.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