Project

General

Profile

Actions

Bug #21483

closed

qa: test_snapshot_remove (kcephfs): RuntimeError: Bad data at offset 0

Added by Patrick Donnelly over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
kcephfs
Component(FS):
kceph
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2017-09-21T01:06:26.561 INFO:teuthology.orchestra.run.smithi154:Running: 'sudo chmod 1777 /home/ubuntu/cephtest/mnt.0'
2017-09-21T01:06:26.718 INFO:tasks.cephfs.mount:Validating 8388608 bytes from snapdir/.snap/snap1/subdir/file_a
2017-09-21T01:06:26.718 INFO:teuthology.orchestra.run.smithi154:Running: 'sudo adjust-ulimits daemon-helper kill python -c \'\nimport zlib\npath = "/home/ubuntu/cephtest/mnt.0/snapdir/.snap/snap1/subdir/file_a"\nf = open(path, \'"\'"\'r\'"\'"\')\nbytes = f.read()\nf.close()\nif len(bytes) != 8388608:\n    raise RuntimeError("Bad length {0} vs. expected {1}".format(\n        len(bytes), 8388608\n    ))\nfor i, b in enumerate(bytes):\n    val = zlib.crc32("%s" % i) & 7\n    if b != chr(val):\n        raise RuntimeError("Bad data at offset {0}".format(i))\n\''
2017-09-21T01:06:26.992 INFO:teuthology.orchestra.run.smithi154.stderr:Traceback (most recent call last):
2017-09-21T01:06:26.992 INFO:teuthology.orchestra.run.smithi154.stderr:  File "<string>", line 14, in <module>
2017-09-21T01:06:26.992 INFO:teuthology.orchestra.run.smithi154.stderr:RuntimeError: Bad data at offset 0
2017-09-21T01:06:27.110 INFO:teuthology.orchestra.run.smithi154.stderr:daemon-helper: command failed with exit status 1
2017-09-21T01:06:27.124 INFO:tasks.cephfs_test_runner:test_snapshot_remove (tasks.cephfs.test_strays.TestStrays) ... ERROR

From: /ceph/teuthology-archive/pdonnell-2017-09-20_23:54:21-kcephfs:recovery-master-testing-basic-smithi/1653029/teuthology.log


Related issues 1 (1 open0 closed)

Related to CephFS - Bug #62580: testing: Test failure: test_snapshot_remove (tasks.cephfs.test_strays.TestStrays)Pending BackportXiubo Li

Actions
Actions

Also available in: Atom PDF