Actions
Bug #1552
closedqa: file locking test fails
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Logs are in teuthology:~teuthworker/archive/nightly_coverage_2011-09-20/365
2011-09-20T14:33:52.584 ERROR:teuthology.run_tasks:Saw exception from tasks Traceback (most recent call last): File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 25, in run_tasks manager = _run_one_task(taskname, ctx=ctx, config=config) File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 14, in _run_one_task return fn(**kwargs) File "/var/lib/teuthworker/teuthology/teuthology/task/lockfile.py", line 152, in task raise Exception("Got wrong result for op {op_}".format(op_=op)) Exception: Got wrong result for op {'lockfile': 'testfile', 'client': 'client.0', 'holdtime': 5, 'maxwait': 6, 'expectfail': False} 2011-09-20T14:33:52.596 DEBUG:teuthology.run_tasks:Unwinding manager <contextlib.GeneratorContextManager object at 0x26c8ed0> 2011-09-20T14:33:52.596 INFO:teuthology.task.kclient:Unmounting kernel clients... 2011-09-20T14:33:52.597 DEBUG:teuthology.task.kclient:Unmounting client client.1... 2011-09-20T14:33:52.597 DEBUG:teuthology.orchestra.run:Running: 'sudo umount /tmp/cephtest/mnt.1' 2011-09-20T14:33:52.794 DEBUG:teuthology.orchestra.run:Running: 'rmdir -- /tmp/cephtest/mnt.1' 2011-09-20T14:33:52.800 DEBUG:teuthology.task.kclient:Unmounting client client.0... 2011-09-20T14:33:52.801 DEBUG:teuthology.orchestra.run:Running: 'sudo umount /tmp/cephtest/mnt.0' 2011-09-20T14:33:53.417 DEBUG:teuthology.orchestra.run:Running: 'rmdir -- /tmp/cephtest/mnt.0' 2011-09-20T14:33:53.423 DEBUG:teuthology.run_tasks:Unwinding manager <contextlib.GeneratorContextManager object at 0x26c8c50> 2011-09-20T14:33:53.423 ERROR:teuthology.contextutil:Saw exception from nested tasks Traceback (most recent call last): File "/var/lib/teuthworker/teuthology/teuthology/contextutil.py", line 27, in nested yield vars File "/var/lib/teuthworker/teuthology/teuthology/task/ceph.py", line 952, in task yield File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 25, in run_tasks manager = _run_one_task(taskname, ctx=ctx, config=config) File "/var/lib/teuthworker/teuthology/teuthology/run_tasks.py", line 14, in _run_one_task return fn(**kwargs) File "/var/lib/teuthworker/teuthology/teuthology/task/lockfile.py", line 152, in task raise Exception("Got wrong result for op {op_}".format(op_=op)) Exception: Got wrong result for op {'lockfile': 'testfile', 'client': 'client.0', 'holdtime': 5, 'maxwait': 6, 'expectfail': False}
Updated by Josh Durgin over 12 years ago
This still doesn't work with the changes to the lockfile task. It looks to me like it needs some barriers instead of relying on sleeping and timeouts. Having a program that just locks the file, sleeps forever, and then unlocks it when it receives SIGTERM would let teuthology control the operation ordering more reliably.
Updated by Sage Weil over 12 years ago
- Target version changed from v0.37 to v0.38
Updated by Sage Weil over 12 years ago
- Target version changed from v0.38 to v0.39
Updated by Sage Weil over 12 years ago
- Target version changed from v0.39 to v0.40
Updated by Sage Weil over 12 years ago
- Target version deleted (
v0.40) - Translation missing: en.field_position set to 94
Updated by Sage Weil over 12 years ago
- Subject changed from file locking test fails to qa: file locking test fails
Updated by Sage Weil over 11 years ago
- Project changed from Ceph to CephFS
- Category deleted (
1)
Updated by Greg Farnum about 10 years ago
- Status changed from New to Duplicate
Actions