Project

General

Profile

Actions

Bug #62580

open

testing: Test failure: test_snapshot_remove (tasks.cephfs.test_strays.TestStrays)

Added by Patrick Donnelly 9 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

2023-08-22T19:23:31.360 INFO:tasks.cephfs.mount:Validating 8388608 bytes from snapdir/.snap/snap1/subdir/file_a
2023-08-22T19:23:31.360 DEBUG:teuthology.orchestra.run.smithi105:> sudo adjust-ulimits daemon-helper kill python3 -c '
2023-08-22T19:23:31.361 DEBUG:teuthology.orchestra.run.smithi105:> import zlib
2023-08-22T19:23:31.361 DEBUG:teuthology.orchestra.run.smithi105:> path = "/home/ubuntu/cephtest/mnt.0/snapdir/.snap/snap1/subdir/file_a" 
2023-08-22T19:23:31.361 DEBUG:teuthology.orchestra.run.smithi105:> with open(path, '"'"'r'"'"') as f:
2023-08-22T19:23:31.361 DEBUG:teuthology.orchestra.run.smithi105:>     bytes = f.read()
2023-08-22T19:23:31.362 DEBUG:teuthology.orchestra.run.smithi105:> if len(bytes) != 8388608:
2023-08-22T19:23:31.362 DEBUG:teuthology.orchestra.run.smithi105:>     raise RuntimeError("Bad length {0} vs. expected {1}".format(
2023-08-22T19:23:31.362 DEBUG:teuthology.orchestra.run.smithi105:>         len(bytes), 8388608
2023-08-22T19:23:31.362 DEBUG:teuthology.orchestra.run.smithi105:>     ))
2023-08-22T19:23:31.363 DEBUG:teuthology.orchestra.run.smithi105:> for i, b in enumerate(bytes):
2023-08-22T19:23:31.363 DEBUG:teuthology.orchestra.run.smithi105:>     val = zlib.crc32(str(i).encode('"'"'utf-8'"'"')) & 7
2023-08-22T19:23:31.363 DEBUG:teuthology.orchestra.run.smithi105:>     if b != chr(val):
2023-08-22T19:23:31.363 DEBUG:teuthology.orchestra.run.smithi105:>         raise RuntimeError("Bad data at offset {0}".format(i))
2023-08-22T19:23:31.364 DEBUG:teuthology.orchestra.run.smithi105:> '
2023-08-22T19:23:31.554 INFO:teuthology.orchestra.run.smithi105.stderr:Traceback (most recent call last):
2023-08-22T19:23:31.554 INFO:teuthology.orchestra.run.smithi105.stderr:  File "<string>", line 13, in <module>
2023-08-22T19:23:31.555 INFO:teuthology.orchestra.run.smithi105.stderr:RuntimeError: Bad data at offset 0
2023-08-22T19:23:31.687 INFO:teuthology.orchestra.run.smithi105.stderr:daemon-helper: command failed with exit status 1

From: /teuthology/yuriw-2023-08-22_14:48:56-fs-pacific-release-distro-default-smithi/7376538/teuthology.log

Last time we saw this was #21483, also a testing branch bug.


Related issues 3 (2 open1 closed)

Related to CephFS - Bug #21483: qa: test_snapshot_remove (kcephfs): RuntimeError: Bad data at offset 0ResolvedZheng Yan09/21/2017

Actions
Copied to CephFS - Backport #64075: reef: testing: Test failure: test_snapshot_remove (tasks.cephfs.test_strays.TestStrays)In ProgressXiubo LiActions
Copied to CephFS - Backport #64076: quincy: testing: Test failure: test_snapshot_remove (tasks.cephfs.test_strays.TestStrays)In ProgressXiubo LiActions
Actions

Also available in: Atom PDF