Project

General

Profile

Actions

Bug #64437

closed
LF BS

qa/standalone/scrub/osd-scrub-repair.sh: TEST_repair_stats_ec: test 26 = 13

Bug #64437: qa/standalone/scrub/osd-scrub-repair.sh: TEST_repair_stats_ec: test 26 = 13

Added by Laura Flores almost 3 years ago. Updated 3 months ago.

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

0%

Source:
Backport:
squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-2993-gb4f334fbee
Released In:
v20.2.0~2621
Upkeep Timestamp:
2026-08-27T18:14:21+00:00

Description

/a/lflores-2024-02-13_16:18:32-rados-wip-yuri5-testing-2024-02-12-1152-distro-default-smithi/7558380

2024-02-13T19:01:44.117 INFO:tasks.workunit.client.0.smithi129.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:788: TEST_repair_stats_ec:  jq '.pg_map.osd_stats[] | select(.osd == 0 ).num_shards_repaired'
2024-02-13T19:01:44.117 INFO:tasks.workunit.client.0.smithi129.stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:788: TEST_repair_stats_ec:  ceph pg dump --format=json-pretty
2024-02-13T19:01:44.430 INFO:tasks.workunit.client.0.smithi129.stderr:dumped all
2024-02-13T19:01:44.448 INFO:tasks.workunit.client.0.smithi129.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:788: TEST_repair_stats_ec:  COUNT=26
2024-02-13T19:01:44.449 INFO:tasks.workunit.client.0.smithi129.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:789: TEST_repair_stats_ec:  test 26 = 13
2024-02-13T19:01:44.449 INFO:tasks.workunit.client.0.smithi129.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:789: TEST_repair_stats_ec:  return 1
2024-02-13T19:01:44.449 INFO:tasks.workunit.client.0.smithi129.stderr:/home/ubuntu/cephtest/clone.client.0/qa/standalone/scrub/osd-scrub-repair.sh:65: run:  return 1


Related issues 1 (1 open — 0 closed)

Copied to RADOS - Backport #66694: squid: qa/standalone/scrub/osd-scrub-repair.sh: TEST_repair_stats_ec: test 26 = 13In ProgressAishwarya Mathuria

Actions

LF Updated by Laura Flores almost 3 years ago Actions #1

  • Assignee set to Ronen Friedman

Ronen, mind having a look?

LF Updated by Laura Flores almost 3 years ago Actions #2

/a/lflores-2024-02-13_05:06:48-rados-wip-yuri5-testing-2024-02-12-1152-distro-default-smithi/7557537/

RF Updated by Ronen Friedman almost 3 years ago Actions #3

Will take a look.

RZ Updated by Radoslaw Zarzynski almost 3 years ago Actions #4

Bump up.

SS Updated by Sridhar Seshasayee over 2 years ago Actions #5

/a/yuriw-2024-03-08_16:20:46-rados-wip-yuri4-testing-2024-03-05-0854-distro-default-smithi/7587334

MB Updated by Matan Breizman over 2 years ago Actions #6

/a/yuriw-2024-03-08_16:19:51-rados-wip-yuri2-testing-2024-03-01-1606-distro-default-smithi/7587184

AM Updated by Aishwarya Mathuria over 2 years ago Actions #7

/a/yuriw-2024-03-15_19:59:43-rados-wip-yuri6-testing-2024-03-15-0709-distro-default-smithi/7603349

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #8

Bump up.

AM Updated by Aishwarya Mathuria over 2 years ago Actions #9

/a/yuriw-2024-03-19_00:09:45-rados-wip-yuri5-testing-2024-03-18-1144-distro-default-smithi/7609843

NM Updated by Nitzan Mordechai over 2 years ago Actions #10

/a/yuriw-2024-03-25_00:22:23-rados-wip-yuri3-testing-2024-03-24-1519-distro-default-smithi/7620817

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #11

  • Assignee changed from Ronen Friedman to Radoslaw Zarzynski

A commend for local replication from Ronen (thanks!):

SFS="/tmp/k1_rpr_$(basename $(pwd))`date +'%d_%T'`"; echo $SFS;  date; time ../qa/run-standalone.sh -x -v "osd-scrub-repair.sh TEST_repair_stats_ec" 2>&1 | awk '{ print strftime(),$0 }' > $SFS ; date; tail $SFS

LF Updated by Laura Flores over 2 years ago Actions #12

  • Backport set to squid

/a/yuriw-2024-03-20_18:33:32-rados-wip-yuri6-testing-2024-03-18-1406-squid-distro-default-smithi/7613108

NM Updated by Nitzan Mordechai over 2 years ago Actions #13

/a/yuriw-2024-03-25_20:36:27-rados-wip-yuri3-testing-2024-03-25-0744-distro-default-smithi/7621635

LF Updated by Laura Flores over 2 years ago Actions #14

/a/yuriw-2024-03-24_22:19:24-rados-wip-yuri10-testing-2024-03-24-1159-distro-default-smithi/7620501

LF Updated by Laura Flores over 2 years ago Actions #15

/a/yuriw-2024-04-01_20:57:46-rados-wip-yuri3-testing-2024-04-01-0837-squid-distro-default-smithi/7634392

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #16

bump up.

LF Updated by Laura Flores over 2 years ago Actions #17

/a/yuriw-2024-04-11_17:03:54-rados-wip-yuri6-testing-2024-04-02-1310-distro-default-smithi/7652514

MB Updated by Matan Breizman over 2 years ago Actions #18

/a/yuriw-2024-04-16_23:25:35-rados-wip-yuriw-testing-20240416.150233-distro-default-smithi/7659280

LF Updated by Laura Flores over 2 years ago Actions #19

/a/yuriw-2024-04-20_15:32:38-rados-wip-yuriw-testing-20240419.185239-main-distro-default-smithi/7664739

SS Updated by Sridhar Seshasayee over 2 years ago Actions #20

Observed on Squid:
/a/yuriw-2024-04-30_03:21:19-rados-wip-yuri4-testing-2024-04-29-0642-distro-default-smithi/7680132

AM Updated by Aishwarya Mathuria over 2 years ago Actions #21

/a/yuriw-2024-04-30_14:17:59-rados-wip-yuri5-testing-2024-04-17-1400-distro-default-smithi/7680978

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #22

IIRC Ronen has a hypothesis this is another incarnation of https://tracker.ceph.com/issues/65185.
The has been merged on May 1st while the last reoccurance is from 30 Apr.

LF Updated by Laura Flores over 2 years ago Actions #23

/a/yuriw-2024-05-02_23:59:28-rados-wip-yuriw11-testing-20240501.200505-squid-distro-default-smithi/7686875

LF Updated by Laura Flores over 2 years ago Actions #24

  • Assignee changed from Radoslaw Zarzynski to Ronen Friedman

Radoslaw Zarzynski wrote in #note-22:

IIRC Ronen has a hypothesis this is another incarnation of https://tracker.ceph.com/issues/65185.
The has been merged on May 1st while the last reoccurance is from 30 Apr.

From the most recent occurrence in note 23, the test branch does contain the commits from https://tracker.ceph.com/issues/65185. This seems to be a separate issue.

@Ronen Friedman mind taking a look?

NM Updated by Nitzan Mordechai over 2 years ago Actions #25

/a/yuriw-2024-05-04_16:45:43-rados-wip-yuriw-testing-20240503.213524-main-distro-default-smithi/7690994

LF Updated by Laura Flores over 2 years ago Actions #26

/a/yuriw-2024-04-11_17:03:54-rados-wip-yuri6-testing-2024-04-02-1310-distro-default-smithi/7652514

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #27

bump up.

MB Updated by Matan Breizman over 2 years ago Actions #28

/a/yuriw-2024-05-29_14:57:51-rados-wip-yuri5-testing-2024-05-15-0804-distro-default-smithi/7732511

AM Updated by Aishwarya Mathuria over 2 years ago Actions #29

/a/teuthology-2024-06-09_21:00:03-rados-squid-distro-default-smithi/7746969

LF Updated by Laura Flores over 2 years ago Actions #30

Note from bug scrub: Will be brought up at the RADOS team meeting.

BS Updated by Bill Scales over 2 years ago Actions #31

I think this is a regression caused by this commit on Jan 10th:

https://github.com/ceph/ceph/commit/deffa8209f9c0bd300cfdb54d358402bfc6e41c6

It looks like the stat is being updated twice now for each repair. The function inc_osd_stat_repaired increments the counter. It is incremented once in ECBackend::handle_recovery_push

https://github.com/ceph/ceph/blob/deffa8209f9c0bd300cfdb54d358402bfc6e41c6/src/osd/ECBackend.cc#L214-L220

and a second time in ECBackend::RecoveryBackend::handle_recovery_push which is called by ECBackend::handle_recovery_push

https://github.com/ceph/ceph/blob/deffa8209f9c0bd300cfdb54d358402bfc6e41c6/src/osd/ECBackend.cc#L309-L320

LF Updated by Laura Flores over 2 years ago Actions #33

  • Status changed from New to Fix Under Review
  • Assignee changed from Ronen Friedman to Bill Scales
  • Pull request ID set to 58139

LF Updated by Laura Flores over 2 years ago Actions #34

Thank you Bill!

LF Updated by Laura Flores over 2 years ago Actions #35

/a/lflores-2024-06-18_23:03:53-rados-squid-release-distro-default-smithi/7762792

AM Updated by Aishwarya Mathuria over 2 years ago Actions #36

  • Status changed from Fix Under Review to Pending Backport

AM Updated by Aishwarya Mathuria over 2 years ago Actions #37

  • Copied to Backport #66694: squid: qa/standalone/scrub/osd-scrub-repair.sh: TEST_repair_stats_ec: test 26 = 13 added

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

  • Tags (freeform) set to backport_processed

LF Updated by Laura Flores over 2 years ago Actions #39

/a/yuriw-2024-06-27_20:00:00-rados-squid-release-distro-default-smithi/7776620

Just for records.

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

  • Merge Commit set to b4f334fbee991e0f9c1e173f32e5beac95120682
  • Fixed In set to v19.3.0-2993-gb4f334fbee9
  • Upkeep Timestamp set to 2025-07-09T14:05:20+00:00

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

  • Fixed In changed from v19.3.0-2993-gb4f334fbee9 to v19.3.0-2993-gb4f334fbee
  • Upkeep Timestamp changed from 2025-07-09T14:05:20+00:00 to 2025-07-14T17:41:23+00:00

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

  • Released In set to v20.2.0~2621
  • Upkeep Timestamp changed from 2025-07-14T17:41:23+00:00 to 2025-11-01T00:58:08+00:00

UB Updated by Upkeep Bot 3 months ago Actions #43

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T00:58:08+00:00 to 2026-08-27T18:14:21+00:00
Actions

Also available in: PDF Atom