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

Smoke tests for the tools #1032

Merged
merged 5 commits into from
Mar 11, 2017
Merged

Smoke tests for the tools #1032

merged 5 commits into from
Mar 11, 2017

Commits on Feb 13, 2017

  1. Configuration menu
    Copy the full SHA
    e0bcd3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d11179d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7ab443 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2017

  1. Configuration menu
    Copy the full SHA
    2febc29 View commit details
    Browse the repository at this point in the history
  2. tests: Add smoke tests for most tools

    This commit adds basic smoke tests for most tools in tools/ by
    running the tool with either a short duration, or interrupting it
    with a SIGINT after a short duration. The tests check the return
    value from the tool to detect any Python exceptions or other
    errors, but they do not read the standard error or standard output
    and parse the tool's result.
    
    Some tools are not covered by these smoke tests for reasons
    documented in the test itself:
    
    * btrfsdist and btrfsslower need btrfs
    * cachetop doesn't like to run without a terminal
    * dbslower, dbstat, and mysqld_qslower need a database engine
    * deadlock_detector allocates a huge amount of memory
    * softirqs doesn't work on new kernels and needs fixing (iovisor#1031)
    * ugc needs a USDT-enabled runtime with GC probes
    * zfsdist and zfsslower need zfs
    
    This is a good place to start, but clearly for some tools,
    especially those with a complex interface like trace and argdist,
    we need more than just basic smoke tests.
    goldshtn committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    5c41b39 View commit details
    Browse the repository at this point in the history