1. 04 May, 2016 1 commit
  2. 28 Apr, 2016 1 commit
  3. 27 Apr, 2016 1 commit
  4. 22 Apr, 2016 2 commits
  5. 21 Apr, 2016 9 commits
  6. 20 Apr, 2016 13 commits
  7. 19 Apr, 2016 5 commits
    • Dan Albert's avatar
      Fix a race in the parallel build. · c41fb497
      Dan Albert authored
      We run `launch_build` from multiple processes. There can be a race
      between the check for the log directory and the creation of it.
      `os.makedirs` fails if the directory already exists, so that causes
      it to fail.
      
      Move the creation up to the parent process to avoid the issue.
      
      Change-Id: Iac5f120c300db66c440a34b403af458f60bddce4
      c41fb497
    • Dan Albert's avatar
      c5b65d6a
    • Dan Albert's avatar
      Fix the parallel build for the build server. · ebf17ac4
      Dan Albert authored
      It seems the build servers run us in our own session, in which case we
      get EPERM from `setpgrp`. No need to call this in that case because we
      will already be the process group leader.
      
      Change-Id: Ie694a45e48935fb15cded96e44c19d26c46c731b
      ebf17ac4
    • Dan Albert's avatar
      Merge "Parallelize the build." · f8818bb6
      Dan Albert authored
      f8818bb6
    • Dan Albert's avatar
      Parallelize the build. · a44b67d5
      Dan Albert authored
      This shows a roughly 2x speed up of the build step (ignoring tests
      and packaging).
      
      Both times run with:
      
          $ time ./checkbuild.py --arch arm64 --no-test --no-package
      
      The serial result:
      
          real    16m19.286s
          user    19m44.367s
          sys     6m2.884s
      
      The parallel result:
      
          real    7m44.093s
          user    26m16.921s
          sys     8m1.321s
      
      The only problem is that SIGINT will spew a lot of garbage to the
      terminal. From what I could figure out it looks like this is actually
      just something to do with the multiprocessing pools. Might dig more
      later, but it seems worth getting this in even with that.
      
      Bug: http://b/28214235
      Change-Id: Iff48f31f49255f5482c36fd86b1fc1ac0faa4958
      a44b67d5
  8. 16 Apr, 2016 2 commits
  9. 15 Apr, 2016 4 commits
  10. 14 Apr, 2016 2 commits
    • Dan Albert's avatar
      Merge changes Ie129041b,I1cc2cead · 91664dc8
      Dan Albert authored
      * changes:
        Build the device tests during checkbuild too.
        Correct a couple test configs.
      91664dc8
    • Dan Albert's avatar
      Build the device tests during checkbuild too. · 3127d54e
      Dan Albert authored
      Right now we have the build server running the build tests, but we
      should check that the device tests are at least buildable even if we
      don't have a device to run them on.
      
      This adds support for skipping the execution phase of the tests to
      `run_single_configuration`. This is exposed from `run-all.py` as
      `--skip-tests`.
      
      Change-Id: Ie129041bc3104ad50b3e96c23158d6918d36b25a
      3127d54e