Project

General

Profile

Bug #2062

filestore: idempotent test failed

Added by Sage Weil about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
OSD
Target version:
% Done:

0%

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

Description


2012-02-14T01:59:52.447 INFO:teuthology.task.filestore_idempotent:writing some data and simulating a failure
2012-02-14T01:59:52.448 DEBUG:teuthology.orchestra.run:Running: '/tmp/cephtest/binary/usr/local/bin/test_filestore_idempotent -c /tmp/cephtest/ceph.conf write /tmp/cephtest/data/test.client.0 /tmp/cephtest/data/test.journal.client.0'
2012-02-14T01:59:52.466 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.466674 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mkfs in /tmp/cephtest/data/test.client.0
2012-02-14T01:59:52.466 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.467213 7f22a9c6f760 journal _open /tmp/cephtest/data/test.journal.client.0 fd 10: 104857600 bytes, block size 4096 bytes, directio = 1, aio = 0
2012-02-14T01:59:52.609 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.609594 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mkjournal created journal on /tmp/cephtest/data/test.journal.client.0
2012-02-14T01:59:52.609 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.609681 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mkfs done in /tmp/cephtest/data/test.client.0
2012-02-14T01:59:52.634 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.634784 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mount FIEMAP ioctl is supported
2012-02-14T01:59:52.634 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.634815 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mount did NOT detect btrfs
2012-02-14T01:59:52.634 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.634948 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mount found snaps <>
2012-02-14T01:59:52.634 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.635053 7f22a9c6f760 filestore(/tmp/cephtest/data/test.client.0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
2012-02-14T01:59:52.634 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.635222 7f22a9c6f760 journal _open /tmp/cephtest/data/test.journal.client.0 fd 12: 104857600 bytes, block size 4096 bytes, directio = 1, aio = 0
2012-02-14T01:59:52.646 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.647388 7f22a9c6f760 journal _open /tmp/cephtest/data/test.journal.client.0 fd 12: 104857600 bytes, block size 4096 bytes, directio = 1, aio = 0
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.778169 7f22a4849700 filestore(/tmp/cephtest/data/test.client.0) error opening file /tmp/cephtest/data/test.client.0/current/foo/obj__0_F03CA88A with flags=0 and mode=0: (2) No such file or directory
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.778238 7f22a4849700 filestore(/tmp/cephtest/data/test.client.0)  error (2) No such file or directory not handled on operation 17 (op num 1, counting from 1)
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.778252 7f22a4849700 filestore(/tmp/cephtest/data/test.client.0) ENOENT on clone suggests osd bug
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:2012-02-14 01:59:52.778271 7f22a4849700 filestore(/tmp/cephtest/data/test.client.0)  transaction dump:
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:1: clone foo f03ca88a/obj/0 -> f0af2ac5/clone-0/0
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:
2012-02-14T01:59:52.778 INFO:teuthology.orchestra.run.err:os/FileStore.cc: In function 'unsigned int FileStore::_do_transaction(ObjectStore::Transaction&, uint64_t)' thread 7f22a4849700 time 2012-02-14 01:59:52.778286
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err:os/FileStore.cc: 2475: FAILED assert(0 == "unexpected error")
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: ceph version 0.41-329-gb54bac3 (commit:b54bac3061666b1c781351154b1f3d78242709ec)
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 1: (FileStore::_do_transaction(ObjectStore::Transaction&, unsigned long)+0x277d) [0x455ecd]
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 2: (FileStore::do_transactions(std::list<ObjectStore::Transaction*, std::allocator<ObjectStore::Transaction*> >&, unsigned long)+0x78) [0x4578e8]
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 3: (FileStore::_do_op(FileStore::OpSequencer*)+0x1ba) [0x4599fa]
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 4: (ThreadPool::worker()+0xa28) [0x4be8b8]
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 5: (ThreadPool::WorkThread::entry()+0xd) [0x45f76d]
2012-02-14T01:59:52.779 INFO:teuthology.orchestra.run.err: 6: (()+0x7971) [0x7f22a9643971]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 7: (clone()+0x6d) [0x7f22a813792d]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: ceph version 0.41-329-gb54bac3 (commit:b54bac3061666b1c781351154b1f3d78242709ec)
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 1: (FileStore::_do_transaction(ObjectStore::Transaction&, unsigned long)+0x277d) [0x455ecd]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 2: (FileStore::do_transactions(std::list<ObjectStore::Transaction*, std::allocator<ObjectStore::Transaction*> >&, unsigned long)+0x78) [0x4578e8]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 3: (FileStore::_do_op(FileStore::OpSequencer*)+0x1ba) [0x4599fa]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 4: (ThreadPool::worker()+0xa28) [0x4be8b8]
2012-02-14T01:59:52.780 INFO:teuthology.orchestra.run.err: 5: (ThreadPool::WorkThread::entry()+0xd) [0x45f76d]
2012-02-14T01:59:52.781 INFO:teuthology.orchestra.run.err: 6: (()+0x7971) [0x7f22a9643971]
2012-02-14T01:59:52.781 INFO:teuthology.orchestra.run.err: 7: (clone()+0x6d) [0x7f22a813792d]
2012-02-14T01:59:52.781 INFO:teuthology.orchestra.run.err:terminate called after throwing an instance of 'ceph::FailedAssertion'

ubuntu@teuthology:/a/nightly_coverage_2012-02-14-a/11904

Associated revisions

Revision 7b1c144f (diff)
Added by Sage Weil about 12 years ago

test_filestore_idempotent: fix test to create initial object

Filestore now properly fails to clone a non-existent object, which means
we should create one.

Fixes: #2062
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil

the test was broken. triggered by filestore now noticing clone could fail.

7b1c144f21c3ccfe2dfd4342e3d5461b35320b8f

Also available in: Atom PDF