Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resume and reboot modes #74

Merged
merged 29 commits into from
Nov 2, 2015
Merged

Resume and reboot modes #74

merged 29 commits into from
Nov 2, 2015

Commits on Oct 30, 2015

  1. Configuration menu
    Copy the full SHA
    0aa1af1 View commit details
    Browse the repository at this point in the history
  2. Add command-line arguments. --reboot and --resume now allowed.

    Usage text is now generated from the CLI parser rather than __doc__.
    krun checks for empty or absent configuration  file, and provides specific error messages.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    a1932a3 View commit details
    Browse the repository at this point in the history
  3. Reboot mode implemented.

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    bf59ced View commit details
    Browse the repository at this point in the history
  4. Basic test suit added for krun.util

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    a7e6c9b View commit details
    Browse the repository at this point in the history
  5. Refactoring krun and krun.util. Json code moved to krun.util and test…

    …s added for the new functions. Code to construct the schedule now placed in the ExecutionScheduler class.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    0fcbf29 View commit details
    Browse the repository at this point in the history
  6. Test whether two audits are from identical platforms

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    cfb1684 View commit details
    Browse the repository at this point in the history
  7. krun.util now provides functions to read results files

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    627cb2b View commit details
    Browse the repository at this point in the history
  8. Resume mode checks platform integrity.

    This is a basic check that benchmarking has been resumed on "the same" platform that the benchmark was started on.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    c2b26e5 View commit details
    Browse the repository at this point in the history
  9. Implement resume mode.

    Resume mode removes jobs from the schedule that have already been executed and adds old data to the set of results.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    52f2483 View commit details
    Browse the repository at this point in the history
  10. Dry runs and debug levels now CLI options. Fixed an existing bug in d…

    …ry runs.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    7be48fd View commit details
    Browse the repository at this point in the history
  11. Log files appended to in resume mode.

    Log name either based on current time (ordinary run) or mtime of config file (resume mode).
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    ed47933 View commit details
    Browse the repository at this point in the history
  12. Ignore cpuinfo when comparing audits.

    Information provided in audits differs between platforms.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    bb0d4cf View commit details
    Browse the repository at this point in the history
  13. Disallow --reboot without --resume

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    db88dcf View commit details
    Browse the repository at this point in the history
  14. Resume mode does not send emails after every execution.

    ETA emails are sent.
    Fixed existing error in documentation.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    18e5c4d View commit details
    Browse the repository at this point in the history
  15. Reboot mode waits for network to come up after reboot.

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    4a73de6 View commit details
    Browse the repository at this point in the history
  16. Documented reboot and resume modes.

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    0a93d88 View commit details
    Browse the repository at this point in the history
  17. Document --dryrun and --debug

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    bcbbb28 View commit details
    Browse the repository at this point in the history
  18. Example /etc/rc.local for reboot mode.

    Appends logs to /var/log/rc.local.log.
    Linux only.
    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    c09e385 View commit details
    Browse the repository at this point in the history
  19. Add clean target to example benchmark Makefile.

    Sarah Mount committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    476fa3b View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2015

  1. Implement --started-by-init. To be used by any script which automatic…

    …ally starts Krun on boot.
    
    Improvements to error messages: if the output file does not exist, don't tell the user it isn't a regular file.
    Only wait for network when --started-by-init. --dry-run now simulates time.sleep.
    vext01 authored and Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    f3335be View commit details
    Browse the repository at this point in the history
  2. Add --started-by-init to example rc.local.linux

    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    d6593b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    271e688 View commit details
    Browse the repository at this point in the history
  4. Don't reboot if exec queue is empty.

    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    d24c3e6 View commit details
    Browse the repository at this point in the history
  5. Basic tests for krun.env.

    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    38e68b7 View commit details
    Browse the repository at this point in the history
  6. Mocks for platform and mailer objects.

    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    5d04e3d View commit details
    Browse the repository at this point in the history
  7. Extend tests for krun.util.

    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    7a2541c View commit details
    Browse the repository at this point in the history
  8. Refactor krun. Add tests for the scheduler and time estimate formatte…

    …r. These show that a --reboot makes progress through the schedule, and should help prevent an infinite reboot loop.
    Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    59a7a93 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    62a0715 View commit details
    Browse the repository at this point in the history
  10. Improvements to logging output.

    vext01 authored and Sarah Mount committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    903fe78 View commit details
    Browse the repository at this point in the history