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

tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path #12747

Merged
merged 1 commit into from Jan 2, 2017

Conversation

Projects
None yet
2 participants
@smithfarm
Contributor

smithfarm commented Jan 2, 2017

This commit fixes a regression introduced by cf29477

Fixes: http://tracker.ceph.com/issues/18388
Signed-off-by: Nathan Cutler ncutler@suse.com

@smithfarm smithfarm requested a review from Jan 2, 2017

@smithfarm smithfarm added rbd bug fix and removed bug fix labels Jan 2, 2017

tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path
This commit fixes a regression introduced by
cf29477

Fixes: http://tracker.ceph.com/issues/18388
Signed-off-by: Nathan Cutler <ncutler@suse.com>

@smithfarm smithfarm requested review from dillaman and trociny Jan 2, 2017

@smithfarm

This comment has been minimized.

Contributor

smithfarm commented Jan 2, 2017

This bug is present in kraken - see http://qa-proxy.ceph.com/teuthology/teuthology-2017-01-02_11:00:03-rbd-kraken-distro-basic-smithi/682122/teuthology.log

2017-01-02T13:51:38.952 INFO:tasks.workunit:Running workunits matching rbd/test_lock_fence.sh on client.0...
2017-01-02T13:51:38.954 INFO:tasks.workunit:Running workunit rbd/test_lock_fence.sh...
2017-01-02T13:51:38.957 INFO:teuthology.orchestra.run.smithi100:Running (workunit test rbd/test_lock_fence.sh): 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=cc0e1cf0681e673cc4ec0fa2e4f3b5b98cd65c62 TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/test_lock_fence.sh'
2017-01-02T13:51:38.970 INFO:tasks.workunit.client.0.smithi100.stderr:+ IMAGE=rbdrw-image
2017-01-02T13:51:38.974 INFO:tasks.workunit.client.0.smithi100.stderr:+ LOCKID=rbdrw
2017-01-02T13:51:38.977 INFO:tasks.workunit.client.0.smithi100.stderr:++ dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/test_lock_fence.sh
2017-01-02T13:51:38.980 INFO:tasks.workunit.client.0.smithi100.stderr:+ RELPATH=/home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind
2017-01-02T13:51:38.982 INFO:tasks.workunit.client.0.smithi100.stderr:+ RBDRW=/home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind/rbdrw.py
2017-01-02T13:51:38.985 INFO:tasks.workunit.client.0.smithi100.stderr:+ rbd create rbdrw-image --size 10 --image-format 2 --image-shared
2017-01-02T13:51:40.283 INFO:tasks.workunit.client.0.smithi100.stderr:+ iochild=19436
2017-01-02T13:51:40.293 INFO:tasks.workunit.client.0.smithi100.stderr:+ LOCKS='{}'
2017-01-02T13:51:40.296 INFO:tasks.workunit.client.0.smithi100.stderr:+ '[' '{}' == '{}' ']'
2017-01-02T13:51:40.298 INFO:tasks.workunit.client.0.smithi100.stderr:+ python /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind/rbdrw.py rbdrw-image rbdrw
2017-01-02T13:51:40.303 INFO:tasks.workunit.client.0.smithi100.stderr:++ rbd lock list rbdrw-image --format json
2017-01-02T13:51:40.308 INFO:tasks.workunit.client.0.smithi100.stderr:python: can't open file '/home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind/rbdrw.py': [Errno 2] No such file or directory
@dillaman

lgtm

@dillaman dillaman merged commit e4ca3c1 into ceph:master Jan 2, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@smithfarm smithfarm deleted the SUSE:wip-18388 branch Jan 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment