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

qa/workunits/cephtool/test.sh: wait longer in ceph_watch_start() #7861

Merged
merged 1 commit into from Mar 7, 2016

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Mar 1, 2016

"ceph --watch-debug" and "ceph tell mon.foo version" could connect
to different monitors, and there is chance that "ceph --watch-debug"
is not connected yet when "ceph tell" completes, and hence the former
fails to collect the cluster log including the "ceph tell" related
message. this renders test_mon_tell() unreliable. so, in
ceph_watch_start(), we should wait until the "ceph" cli connects to the
monitor and receives messages from it.

Fixes: #14910
Signed-off-by: Kefu Chai kchai@redhat.com

"ceph --watch-debug" and "ceph tell mon.foo version" could connect
to different monitors, and there is chance that "ceph --watch-debug"
is not connected yet when "ceph tell" completes, and hence the former
fails to collect the cluster log including the "ceph tell" related
message. this renders test_mon_tell() unreliable. so, in
ceph_watch_start(), we should wait until the "ceph" cli connects to the
monitor and receives messages from it.

Fixes: ceph#14910
Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

tchaikov commented Mar 1, 2016

changelog

  • rebased against master.

@tchaikov
Copy link
Contributor Author

tchaikov commented Mar 1, 2016

../qa/workunits/cephtool/test.sh:1795: test_mon_cephdf_commands:  rm ./cephdf_for_test
../qa/workunits/cephtool/test.sh:1797: test_mon_cephdf_commands:  expect_false test 0 '!=' 8192
../qa/workunits/cephtool/test.sh:30: expect_false:  set -x
../qa/workunits/cephtool/test.sh:31: expect_false:  test 0 '!=' 8192
../qa/workunits/cephtool/test.sh:31: expect_false:  return 1

the failed test is not relevant . rebase and repush to try again.

liewegas added a commit that referenced this pull request Mar 7, 2016
qa/workunits/cephtool/test.sh: wait longer in ceph_watch_start()

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 3a72d21 into ceph:master Mar 7, 2016
wjwithagen added a commit to wjwithagen/ceph that referenced this pull request Mar 8, 2016
    Merge pull request ceph#7861 from tchaikov/wip-14910

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@tchaikov tchaikov deleted the wip-14910 branch March 8, 2016 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants