Project

General

Profile

Actions

Bug #67051

closed
ID ID

[test] caching effects in luks-encryption.sh aren't fully accounted for

Bug #67051: [test] caching effects in luks-encryption.sh aren't fully accounted for

Added by Ilya Dryomov over 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-3618-ge2b4fe6be7
Released In:
v20.2.0~2434
Upkeep Timestamp:
2026-08-28T01:37:55+00:00

Description

A transient failure:

2024-07-19T07:45:34.698 INFO:tasks.workunit.client.0.smithi082.stderr:+ test_encryption_format luks1
2024-07-19T07:45:34.698 INFO:tasks.workunit.client.0.smithi082.stderr:+ local format=luks1
2024-07-19T07:45:34.698 INFO:tasks.workunit.client.0.smithi082.stderr:+ clean_up_cryptsetup
2024-07-19T07:45:34.698 INFO:tasks.workunit.client.0.smithi082.stderr:+ ls /dev/mapper/cryptsetupdev
2024-07-19T07:45:34.699 INFO:tasks.workunit.client.0.smithi082.stderr:ls: cannot access '/dev/mapper/cryptsetupdev': No such file or directory
2024-07-19T07:45:34.700 INFO:tasks.workunit.client.0.smithi082.stderr:+ true
2024-07-19T07:45:34.700 INFO:tasks.workunit.client.0.smithi082.stderr:+ rbd encryption format testimg luks1 /tmp/passphrase
2024-07-19T07:45:38.354 INFO:tasks.workunit.client.0.smithi082.stderr:+ drop_caches
2024-07-19T07:45:38.354 INFO:tasks.workunit.client.0.smithi082.stderr:+ sudo sync
2024-07-19T07:45:38.614 INFO:tasks.workunit.client.0.smithi082.stderr:+ sudo tee /proc/sys/vm/drop_caches
2024-07-19T07:45:38.614 INFO:tasks.workunit.client.0.smithi082.stderr:+ echo 3
2024-07-19T07:45:38.621 INFO:tasks.workunit.client.0.smithi082.stdout:3
2024-07-19T07:45:39.189 INFO:tasks.workunit.client.0.smithi082.stderr:+ sudo cryptsetup open /dev/nbd0 --type luks cryptsetupdev -d /tmp/passphrase
2024-07-19T07:45:42.293 INFO:tasks.workunit.client.0.smithi082.stderr:+ sudo chmod 666 /dev/mapper/cryptsetupdev
2024-07-19T07:45:42.309 INFO:tasks.workunit.client.0.smithi082.stderr:++ _sudo rbd -p rbd map testimg -t nbd -o encryption-passphrase-file=/tmp/passphrase
2024-07-19T07:45:42.309 INFO:tasks.workunit.client.0.smithi082.stderr:++ local cmd
2024-07-19T07:45:42.310 INFO:tasks.workunit.client.0.smithi082.stderr:+++ id -u
2024-07-19T07:45:42.316 INFO:tasks.workunit.client.0.smithi082.stderr:++ '[' 1000 -eq 0 ']'
2024-07-19T07:45:42.316 INFO:tasks.workunit.client.0.smithi082.stderr:+++ which rbd
2024-07-19T07:45:42.357 INFO:tasks.workunit.client.0.smithi082.stderr:++ cmd=/usr/bin/rbd
2024-07-19T07:45:42.357 INFO:tasks.workunit.client.0.smithi082.stderr:++ shift
2024-07-19T07:45:42.357 INFO:tasks.workunit.client.0.smithi082.stderr:++ sudo -nE /usr/bin/rbd -p rbd map testimg -t nbd -o encryption-passphrase-file=/tmp/passphrase
2024-07-19T07:45:44.868 INFO:tasks.workunit.client.0.smithi082.stderr:+ LIBRBD_DEV=/dev/nbd1
2024-07-19T07:45:44.868 INFO:tasks.workunit.client.0.smithi082.stderr:+ sudo chmod 666 /dev/nbd1
2024-07-19T07:45:44.874 INFO:tasks.workunit.client.0.smithi082.stderr:+ dd if=/tmp/testdata1 of=/dev/nbd1 oflag=direct bs=1M
2024-07-19T07:45:45.934 INFO:tasks.workunit.client.0.smithi082.stderr:16+0 records in
2024-07-19T07:45:45.934 INFO:tasks.workunit.client.0.smithi082.stderr:16+0 records out
2024-07-19T07:45:45.934 INFO:tasks.workunit.client.0.smithi082.stderr:16777216 bytes (17 MB, 16 MiB) copied, 1.04757 s, 16.0 MB/s
2024-07-19T07:45:45.934 INFO:tasks.workunit.client.0.smithi082.stderr:+ dd if=/dev/mapper/cryptsetupdev of=/tmp/cmpdata iflag=direct bs=4M count=4
2024-07-19T07:45:46.080 INFO:tasks.workunit.client.0.smithi082.stderr:4+0 records in
2024-07-19T07:45:46.080 INFO:tasks.workunit.client.0.smithi082.stderr:4+0 records out
2024-07-19T07:45:46.080 INFO:tasks.workunit.client.0.smithi082.stderr:16777216 bytes (17 MB, 16 MiB) copied, 0.144409 s, 116 MB/s
2024-07-19T07:45:46.081 INFO:tasks.workunit.client.0.smithi082.stderr:+ cmp -n 16MB /tmp/cmpdata /tmp/testdata1
2024-07-19T07:45:46.107 INFO:tasks.workunit.client.0.smithi082.stderr:+ dd if=/tmp/testdata2 of=/dev/mapper/cryptsetupdev oflag=direct bs=1M
2024-07-19T07:45:46.228 INFO:tasks.workunit.client.0.smithi082.stderr:16+0 records in
2024-07-19T07:45:46.228 INFO:tasks.workunit.client.0.smithi082.stderr:16+0 records out
2024-07-19T07:45:46.229 INFO:tasks.workunit.client.0.smithi082.stderr:16777216 bytes (17 MB, 16 MiB) copied, 0.119748 s, 140 MB/s
2024-07-19T07:45:46.229 INFO:tasks.workunit.client.0.smithi082.stderr:+ dd if=/dev/nbd1 of=/tmp/cmpdata iflag=direct bs=4M count=4
2024-07-19T07:45:46.600 INFO:tasks.workunit.client.0.smithi082.stderr:4+0 records in
2024-07-19T07:45:46.600 INFO:tasks.workunit.client.0.smithi082.stderr:4+0 records out
2024-07-19T07:45:46.600 INFO:tasks.workunit.client.0.smithi082.stderr:16777216 bytes (17 MB, 16 MiB) copied, 0.365893 s, 45.9 MB/s
2024-07-19T07:45:46.601 INFO:tasks.workunit.client.0.smithi082.stderr:+ cmp -n 16MB /tmp/cmpdata /tmp/testdata2
2024-07-19T07:45:46.605 INFO:tasks.workunit.client.0.smithi082.stdout:/tmp/cmpdata /tmp/testdata2 differ: byte 2228225, line 8781

https://qa-proxy.ceph.com/teuthology/dis-2024-07-18_22:11:30-rbd-wip-dis-testing-distro-default-smithi/7808096/teuthology.log


Related issues 3 (0 open — 3 closed)

Copied to rbd - Backport #67058: reef: [test] caching effects in luks-encryption.sh aren't fully accounted forResolvedIlya Dryomov

Actions
Copied to rbd - Backport #67059: quincy: [test] caching effects in luks-encryption.sh aren't fully accounted forResolvedIlya Dryomov

Actions
Copied to rbd - Backport #67060: squid: [test] caching effects in luks-encryption.sh aren't fully accounted forResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov over 2 years ago Actions #1

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 58688

ID Updated by Ilya Dryomov over 2 years ago ยท Edited Actions #2

Ilya Dryomov wrote:

A transient failure:

I should clarify that whether it's transient or not depends on the configuration and also the kernel version (likely because dm-crypt is involved in the test). I have seen it only occasionally in the past, but here are runs where it reproduced 5 out of 5 and 19 out of 20:

https://pulpito.ceph.com/dis-2024-07-19_16:15:04-rbd-wip-dis-testing-distro-default-smithi/
https://pulpito.ceph.com/dis-2024-07-19_19:00:08-rbd-wip-dis-testing-distro-default-smithi/

ID Updated by Ilya Dryomov over 2 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #4

  • Copied to Backport #67058: reef: [test] caching effects in luks-encryption.sh aren't fully accounted for added

UB Updated by Upkeep Bot over 2 years ago Actions #5

  • Copied to Backport #67059: quincy: [test] caching effects in luks-encryption.sh aren't fully accounted for added

UB Updated by Upkeep Bot over 2 years ago Actions #6

  • Copied to Backport #67060: squid: [test] caching effects in luks-encryption.sh aren't fully accounted for added

UB Updated by Upkeep Bot over 2 years ago Actions #7

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 2 years ago Actions #8

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to e2b4fe6be767edc0d2b2e74e1b750100546154cb
  • Fixed In set to v19.3.0-3618-ge2b4fe6be76
  • Upkeep Timestamp set to 2025-07-10T17:41:19+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Fixed In changed from v19.3.0-3618-ge2b4fe6be76 to v19.3.0-3618-ge2b4fe6be7
  • Upkeep Timestamp changed from 2025-07-10T17:41:19+00:00 to 2025-07-14T22:42:00+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #11

  • Released In set to v20.2.0~2434
  • Upkeep Timestamp changed from 2025-07-14T22:42:00+00:00 to 2025-11-01T01:32:47+00:00

UB Updated by Upkeep Bot 3 months ago Actions #12

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:32:47+00:00 to 2026-08-28T01:37:55+00:00
Actions

Also available in: PDF Atom