Bug #12895
closed
Failure in TestClusterFull.test_barrier
Added by John Spray over 8 years ago.
Updated over 7 years ago.
Component(FS):
Client, qa-suite
Description
teuthology-2015-08-24_23:04:02-fs-master---basic-multi/1030586/
Related issues
1 (1 open — 0 closed)
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner:======================================================================
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner:FAIL: test_barrier (tasks.cephfs.test_full.TestClusterFull)
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner: File "/var/lib/teuthworker/src/ceph-qa-suite_master/tasks/cephfs/test_full.py", line 116, in test_barrier
2015-08-28T15:46:42.197 INFO:tasks.cephfs_test_runner: self.assertEqual(mount_a_epoch, mount_a_initial_epoch)
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:AssertionError: 18 != 16
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:Ran 1 test in 76.270s
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:
2015-08-28T15:46:42.198 INFO:tasks.cephfs_test_runner:FAILED (failures=1)
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner:
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner:======================================================================
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner:FAIL: test_barrier (tasks.cephfs.test_full.TestClusterFull)
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner: File "/var/lib/teuthworker/src/ceph-qa-suite_master/tasks/cephfs/test_full.py", line 116, in test_barrier
2015-08-28T15:46:42.199 INFO:tasks.cephfs_test_runner: self.assertEqual(mount_a_epoch, mount_a_initial_epoch)
2015-08-28T15:46:42.200 INFO:tasks.cephfs_test_runner:AssertionError: 18 != 16
also see #11301. I think the test case is over-strict. maybe we should remove the assertion for mount's epoch
Hmm, this is a bit weird. I don't know why mount_a is sometimes holding on to caps that get revoked when mount_b creates a file, and sometimes not. It all works quite dependably running the tests locally.
We could relax the test a bit, but the condition that mount_a's epoch doesn't advance is valuable, because it tells us that mount_b's epoch is advancing because of the barrier and not just in general.
- Category changed from 46 to Testing
- Component(FS) Client, qa-suite added
Is this still a problem? It looks to me like the code is still there but I don't think the test has been failing.
- Status changed from New to Can't reproduce
- Related to Bug #26969: kclient: mount unexpectedly gets osdmap updates causing test to fail added
Also available in: Atom
PDF