Project

General

Profile

Actions

Bug #12895

closed

Failure in TestClusterFull.test_barrier

Added by John Spray over 8 years ago. Updated over 7 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, qa-suite
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

teuthology-2015-08-24_23:04:02-fs-master---basic-multi/1030586/


Related issues 1 (1 open0 closed)

Related to CephFS - Bug #26969: kclient: mount unexpectedly gets osdmap updates causing test to failNeed More Info

Actions
Actions #1

Updated by Zheng Yan over 8 years ago

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

Actions #2

Updated by John Spray over 8 years ago

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.

Actions #3

Updated by Greg Farnum almost 8 years ago

  • 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.

Actions #4

Updated by John Spray over 7 years ago

  • Status changed from New to Can't reproduce
Actions #5

Updated by Patrick Donnelly over 5 years ago

  • Related to Bug #26969: kclient: mount unexpectedly gets osdmap updates causing test to fail added
Actions

Also available in: Atom PDF