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

luminous: tests: qa/standalone: misc fixes #16985

Merged
merged 20 commits into from Aug 24, 2017

Commits on Aug 10, 2017

  1. qa: Dump logs after daemons are killed to make sure everything is flu…

    …shed
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 4314cdd)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    dbce3a8 View commit details
    Browse the repository at this point in the history
  2. qa: run-standalone.sh improvements

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 8c76805)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    5afced4 View commit details
    Browse the repository at this point in the history
  3. qa: Add special test_failure.sh script (not run by default)

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit b20dfc2)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    ca72186 View commit details
    Browse the repository at this point in the history
  4. qa: Add create_pool() which sleeps 1 second like python variant

    wait_for_clean() can miss the new pool if it races with pool create.
    
    Fixes: http://tracker.ceph.com/issues/20465
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 99ad4bb)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    0d0a904 View commit details
    Browse the repository at this point in the history
  5. qa: Skip ceph-helpers.sh which is tested through test-ceph-helpers.sh

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit d99f2a7)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    e7a1358 View commit details
    Browse the repository at this point in the history
  6. qa: ceph-helpers.sh fixes

    Add missing teardown to cleanup test directory
    Fix pgid due to elimination of initial default pool
    Testing could never fail because run_tests return ignored
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 6941361)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    bd228b9 View commit details
    Browse the repository at this point in the history
  7. qa: Add support for specifying sub-tests with run-standalone.sh

    Fix test-ceph-helpers.sh to pass additional arguments on
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 2a679a3)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    6fad7cf View commit details
    Browse the repository at this point in the history
  8. qa: osd-scrub-repair.sh handle older versions of jq

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 3988eba)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    614c596 View commit details
    Browse the repository at this point in the history
  9. qa: Add common generalized inject_eio() to ceph-helpers.sh

    Retry for a while to allow pool to appear
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 574b3cd)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    0186dbc View commit details
    Browse the repository at this point in the history
  10. qa: Raise mon-data-avail-warn to pass tests with less space

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 61bfd23)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    3ca4701 View commit details
    Browse the repository at this point in the history
  11. qa: For FreeBSD skip osd-dup.sh because there is no bluestore

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 4db5124)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    007e85f View commit details
    Browse the repository at this point in the history
  12. qa: Add support for core dumps

    Save core dumps when running tests locally
    Dump logs to output whenever cores seen
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 229de6b)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    4b227b2 View commit details
    Browse the repository at this point in the history
  13. osd: Fix Paxos shutdown handling for commit_finish race

    Fixes: http://tracker.ceph.com/issues/20921
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit c140457)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    e8b2f54 View commit details
    Browse the repository at this point in the history
  14. osd: Avoid confusion over legacy snaps when head_exists corrupt

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 1fe6cb0)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    0412b95 View commit details
    Browse the repository at this point in the history
  15. qa: Testing of ceph-helpers.sh, teardown on fail to dump logs, save c…

    …ores
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit dddda52)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    f3a18b3 View commit details
    Browse the repository at this point in the history
  16. qa: Fix races with waiting for scrubs

    The trigger_scrub sets the last_scrub_stamp backwards to
    force a scheduled scrub.  In a small window this stamp could get propagated
    to the mgr.  A test failure occurred because wait_for_scrub() was confused
    by seeing a backward moving date.
    
    The most critical change is having wait_for_scrub() make sure that the
    date advances past the previous in value.
    
    A test failed because the random backoff kept delayed triggered scrub, so
    set osd_scrub_backoff throughout.
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit ae2c533)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    7f2c6cb View commit details
    Browse the repository at this point in the history
  17. qa: Fix broken test_activate_osd() due to missing space

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit e24ac51)
    dzafman committed Aug 10, 2017
    Copy the full SHA
    1efe3bf View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2017

  1. tests: qa/standalone: Add trap for signals to resetore the kernel cor…

    …e pattern
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 982aef7)
    dzafman committed Aug 18, 2017
    Copy the full SHA
    cdcc8ee View commit details
    Browse the repository at this point in the history
  2. tests: run-standalone.sh improve error message

    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 175b107)
    dzafman committed Aug 18, 2017
    Copy the full SHA
    727557f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2017

  1. tests: run-standalone.sh skip core_pattern if already set

    If sudo requires a password it is nice to be able to avoid
    sudo sysctl by setting core_pattern ahead of time.
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    (cherry picked from commit 599d762)
    dzafman committed Aug 21, 2017
    Copy the full SHA
    6cecfda View commit details
    Browse the repository at this point in the history