Clone this repo:
  1. abbd65f cr50_stress_experimental: prep for deploying kench by Aadit Modi · 2 weeks ago master
  2. 8b51ef3 Merge "suite_scheduler: add suite kernel_per-build_regression." by Ilja H. Friedel · 5 weeks ago
  3. 8929a30 suite_scheduler: Add more README info. by Xixuan Wu · 5 weeks ago
  4. dd19648 suite_scheduler: add suite kernel_per-build_regression. by Xixuan Wu · 5 weeks ago
  5. 3d5e66b Remove references to num by Allen Li · 5 weeks ago factory-scarlet-10211.B

Setup

  1. Put your Google gCloud SDK to ~/google-cloud-sdk.

    SDK download page

  2. Install App Engine SDK to ~/google-cloud-sdk:

     ~/google-cloud-sdk/bin/gcloud components install app-engine-python
    
  3. Run python setup_environment.py to download third-party libraries and credentials.

Known Issues

  1. Failed to install third-packages in requirement.txt:

    Workround: Run pip install -t lib -r requirements.txt locally on your workstation to verify whether it could work.

  2. Failed to download credentials from ‘gs://suite-scheduler.google.com.a.appspot.com/credentials/’:

    Workround: Run gsutil ls gs://suite-scheduler.google.com.a.appspot.com/credentials/ locally on your workstation to verify whether you can fetch credentials with gsutil.

    If there's any auth issue, it may be because

    a. You‘re not using your corp account to login gcloud. Please run gcloud auth list to check what’s the used account for gcloud.

    b. Your corp account is not whitelisted by suite-scheduler project. Please contact @xixuan to whitelist your ldap.

How to test:

  1. Presubmit will kick off sanity test for verifying suite_scheduler.ini:

     python runner.py --test_type sanity
    
  2. Run unittest:

     python runner.py' or 'python runner.py --test_type unittest
    
  3. Run integration test:

     python runner.py --test_type integration
    
  4. Run tests with debug mode:

     python runner.py --debug