Clone this repo:
  1. d096f13 stress suite: migrate from high-touch to the zero-touch lab by Kevin Shelton · 8 days ago master release-R67-10575.B stabilize-10569.B
  2. 7e0e717 Enable arc-cts-follower test suite in the test lab. by Rohit Makasana · 3 weeks ago
  3. ee9c065 suite_scheduler: add new model for board coral. by Xixuan Wu · 4 weeks ago factory-poppy-10504.B
  4. bc37d71 cr50_stress_experimental: limit nightlies to ToT by Kevin Shelton · 5 weeks ago
  5. a4bf5c4 [Autotest] Schedule new enterprise suites by Katherine Threlkeld · 7 weeks ago release-R66-10452.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