Project

General

Profile

Actions

Bug #54458

closed

osd-scrub-snaps.sh: TEST_scrub_snaps failed due to malformed log message

Added by Ronen Friedman about 2 years ago. Updated almost 2 years ago.

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

0%

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

Description

(created by PR #44941)

the test expects the following line:
"...found snap mapper error on pg 1.0 oid 1:461f8b5e:::obj16:7 snaps missing in mapper, should be: 1,2,3,4,5,6,7 was r -2...repaired"
while the new code does not emit the 'was <emptylist> r -2' part.

Now - as the list is always empty for missing snaps, and the r is always '-2' - this part of the message is just confusing.

The test should be fixed to match the new code.


Related issues 1 (0 open1 closed)

Is duplicate of RADOS - Bug #54517: scrub/osd-scrub-snaps.sh: TEST FAILED WITH 1 ERRORSDuplicateRonen Friedman

Actions
Actions #1

Updated by Ronen Friedman about 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 45239
Actions #2

Updated by Neha Ojha about 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions #3

Updated by Laura Flores about 2 years ago

  • Related to Bug #54517: scrub/osd-scrub-snaps.sh: TEST FAILED WITH 1 ERRORS added
Actions #4

Updated by Laura Flores about 2 years ago

  • Related to deleted (Bug #54517: scrub/osd-scrub-snaps.sh: TEST FAILED WITH 1 ERRORS)
Actions #5

Updated by Laura Flores about 2 years ago

  • Is duplicate of Bug #54517: scrub/osd-scrub-snaps.sh: TEST FAILED WITH 1 ERRORS added
Actions #6

Updated by Laura Flores almost 2 years ago

Perhaps this has resurfaced?

/a/yuriw-2022-04-22_13:56:48-rados-wip-yuri2-testing-2022-04-22-0500-distro-default-smithi/6800338

found snap mapper error on pg 1.0 oid 1:461f8b5e:::obj16:7 snaps missing in mapper, should be: 1,2,3,4,5,6,7 ...repaired' td/osd-scrub-snaps/osd.0.log

...

2022-04-22T16:57:17.271 INFO:tasks.workunit.client.0.smithi143.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:198: teardown:  rm -fr td/osd-scrub-test
2022-04-22T16:57:17.286 INFO:tasks.workunit.client.0.smithi143.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:199: teardown:  get_asok_dir
2022-04-22T16:57:17.286 INFO:tasks.workunit.client.0.smithi143.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:108: get_asok_dir:  '[' -n '' ']'
2022-04-22T16:57:17.286 INFO:tasks.workunit.client.0.smithi143.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:111: get_asok_dir:  echo /tmp/ceph-asok.552957
2022-04-22T16:57:17.287 INFO:tasks.workunit.client.0.smithi143.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:199: teardown:  rm -rf /tmp/ceph-asok.552957
2022-04-22T16:57:17.288 INFO:tasks.workunit.client.0.smithi143.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:200: teardown:  '[' no = yes ']'
2022-04-22T16:57:17.288 INFO:tasks.workunit.client.0.smithi143.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:207: teardown:  return 0
2022-04-22T16:57:17.289 INFO:tasks.workunit.client.0.smithi143.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:2269: main:  return 1
2022-04-22T16:57:17.290 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-04-22T16:57:17.291 INFO:tasks.workunit:Stopping ['scrub'] on client.0...
2022-04-22T16:57:17.291 DEBUG:teuthology.orchestra.run.smithi143:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2022-04-22T16:57:17.539 ERROR:teuthology.run_tasks:Saw exception from tasks.

Edit: this is actually a separate issue: #55440

Actions

Also available in: Atom PDF