AI Slop Code RIsk Monitor

ceph/ceph

Ceph is a distributed object, block, and file storage platform

8.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ceph/ceph, a C++ project with 17,106 GitHub stars. SynthScan examined 1,672,155 lines of code across 9221 source files, recording 11291 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 8.4 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.4
Adjusted Signal
8.4
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
17.1K
Stars
C++
Language
1.7M
Lines of Code
9.2K
Files
11.3K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 8536 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.0/100 · LOW

Are imports declared and package/API names verified? 703 finding(s).

Agent Over-Engineering Ratio 25.3/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 8018 finding(s).

PR Review Velocity Impact 38.4/100 · MEDIUM

Which changes need focused human review? 11291 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 8HIGH 612MEDIUM 884LOW 9787

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 11291 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers5800 hits · 4725 pts
SeverityFileLineSnippetContext
LOWqa/workunits/erasure-code/jquery.flot.js980 function getOrCreateAxis(axes, number) {CODE
LOWqa/workunits/erasure-code/jquery.flot.js1427 function allocateAxisBoxFirstPhase(axis) {CODE
LOWqa/workunits/erasure-code/jquery.flot.js1512 function allocateAxisBoxSecondPhase(axis) {CODE
LOWqa/workunits/erasure-code/jquery.flot.js1525 function adjustLayoutForThingsStickingOut() {CODE
LOWqa/workunits/erasure-code/jquery.js7335function addToPrefiltersOrTransports( structure ) {CODE
LOWqa/workunits/erasure-code/jquery.js7369function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,CODE
LOWqa/workunits/rgw/keystone-fake-server.py129class HTTPRequestHandler(BaseHTTPRequestHandler):CODE
LOWqa/workunits/rgw/test-keystone-service-token.py107def test_expired_token_with_service_token():CODE
LOWqa/workunits/rgw/test-keystone-service-token.py156def test_expired_token_with_invalid_service_token():CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py228 def _test_original_bucket_list(self, stats: bool = False) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py246 def test_original_bucket_list_without_stats(self) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py249 def test_original_bucket_list_with_stats(self) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py252 def _test_bucket_list_max_entries(self, stats: bool = False) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py279 def test_bucket_list_max_entries_without_stats(self) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py282 def test_bucket_list_max_entries_with_stats(self) -> None:CODE
LOW⚡qa/workunits/rgw/test_rgw_admin_pagination.py285 def test_bucket_list_max_entries_capped(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py303 def test_bucket_list_max_entries_negative(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py316 def test_bucket_list_marker_only(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py328 def test_bucket_list_paginate_until_end(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_reshard.py79def get_bucket_reshard_status(bucket_name):CODE
LOWqa/workunits/smb/tests/test_ceph_smb_ctl.py67 def test_config_dump_cmp_hash(self, smb_cfg):CODE
LOWqa/workunits/smb/tests/test_ceph_smb_ctl.py258 def test_config_summary_change_poll(self, smb_cfg):CODE
LOWqa/workunits/smb/tests/test_ctdb_clustering.py51def test_ctdb_cluster_healthy(smb_cfg):CODE
LOWqa/workunits/smb/tests/test_ctdb_clustering.py76def test_ctdb_deleted_node_after_shrink(smb_cfg):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py98 def test_qos_write_iops_limit(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py112 def test_qos_read_bandwidth_limit_integer(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py130 def test_qos_read_bandwidth_limit_human_readable(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py149 def test_qos_write_bandwidth_limit_integer(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py167 def test_qos_write_bandwidth_limit_human_readable(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py186 def test_qos_burst_multiplier_default(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py200 def test_qos_read_burst_multiplier(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py219 def test_qos_write_burst_multiplier(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py238 def test_qos_multiple_limits_with_burst(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py311 def test_qos_partial_zero_values(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_ratelimit.py344 def test_qos_apply_via_resources(self, smb_cfg, config):CODE
LOWqa/workunits/smb/tests/test_hosts_access.py51 def test_no_access_bogus_allow(self, smb_cfg):CODE
LOWqa/workunits/smb/tests/test_hosts_access.py110 def test_no_access_bogus_net_allow(self, smb_cfg):CODE
LOWqa/workunits/smb/tests/test_kb_fscrypt.py8def test_invalid_key_uid_share(smb_cfg):CODE
LOWqa/tasks/test_netsplit.py62 def _print_not_active_clean_pg(self, pgs):CODE
LOWqa/tasks/test_netsplit.py196 def _check_mon_netsplit_warning(self):CODE
LOWqa/tasks/test_netsplit.py211 def _check_mon_netsplit_warning_raised(self, detail):CODE
LOWqa/tasks/rgw.py435def configure_storage_classes(ctx, clients, storage_classes):CODE
LOWqa/tasks/quarantine_thrasher.py174 def _verify_quarantine_enforced(self):CODE
LOWqa/tasks/quarantine_thrasher.py199 def _verify_quarantine_lifted(self):CODE
LOWqa/tasks/quarantine_thrasher.py281def stop_all_quarantine_thrashers(thrashers):CODE
LOWqa/tasks/vstart_runner.py236 def _handle_subprocess_output(self, output, stream):CODE
LOWqa/tasks/vstart_runner.py450 def _perform_checks_and_adjustments(self, args, omit_sudo):STRING
LOWqa/tasks/ceph_manager.py304 def run_ceph_objectstore_tool(self, remote, osd, cmd):CODE
LOWqa/tasks/ceph_manager.py1174 def test_bluestore_reshard_action(self):CODE
LOWqa/tasks/ceph_manager.py2183 def create_erasure_code_profile(self, profile_name, profile):CODE
LOWqa/tasks/ceph_manager.py2196 def create_erasure_code_crush_rule(self, rule_name, profile):CODE
LOWqa/tasks/ceph_manager.py2205 def create_pool_with_unique_name(self, pg_num=16,CODE
LOWqa/tasks/ceph_manager.py2532 def get_pgids_to_cancel_force(self, backfill):CODE
LOWqa/tasks/ceph_manager.py2600 def wait_snap_trimming_complete(self, pool):CODE
LOWqa/tasks/ceph_manager.py2742 def _get_num_active_recovered(self, pgs):CODE
LOWqa/tasks/ceph_manager.py2752 def get_is_making_recovery_progress(self):CODE
LOWqa/tasks/ceph_manager.py2824 def _print_not_active_clean_pg(self, pgs):CODE
LOWqa/tasks/ceph_manager.py2902 def dump_pgs_not_active_clean(self):CODE
LOWqa/tasks/ceph_manager.py2932 def dump_pgs_not_active_peered(self, pgs):CODE
LOWqa/tasks/rbd_fio.py67def get_ioengine_package_name(ioengine, remote):CODE
5740 more matches not shown…
Empty Error Handlers366 hits · 1810 pts
SeverityFileLineSnippetContext
HIGHqa/workunits/rgw/test_rgw_multipart_category.py49except Exception:CODE
HIGHqa/workunits/rgw/test_rgw_lc_recompress.py218except Exception:CODE
HIGHqa/workunits/rgw/test_rgw_rados_pool_quota.py41except:CODE
HIGHqa/workunits/fs/misc/direct_io.py18except OSError:CODE
HIGHqa/workunits/fs/misc/filelock_interrupt.py43except InterruptedError:CODE
HIGHqa/workunits/fs/misc/filelock_interrupt.py70except InterruptedError:CODE
HIGHqa/workunits/rest/test_mgr_rest_api.py13except:CODE
HIGHqa/tasks/ceph_test_case.py247except CommandFailedError:CODE
HIGHqa/tasks/vstart_runner.py89except:CODE
HIGHqa/tasks/vstart_runner.py318except OSError:CODE
HIGHqa/tasks/vstart_runner.py378except shutil.SameFileError:CODE
HIGHqa/tasks/ceph_manager.py2438except KeyError:CODE
HIGHqa/tasks/ceph_manager.py3195except:CODE
HIGHqa/tasks/rook.py30except:CODE
HIGHqa/tasks/rook.py299except OSError:CODE
HIGHqa/tasks/rook.py305except OSError:CODE
HIGHqa/tasks/rook.py310except ReadError:CODE
HIGHqa/tasks/smb.py273except CommandFailedError:CODE
HIGHqa/tasks/mds_thrash.py122except FSMissing:CODE
HIGHqa/tasks/mds_thrash.py199except:CODE
HIGHqa/tasks/cephfs_mirror_thrash.py148except CommandFailedError:CODE
HIGHqa/tasks/cephfs_mirror_thrash.py156except socket.error:CODE
HIGHqa/tasks/cephadm.py523except OSError:CODE
HIGHqa/tasks/cephadm.py560except OSError:CODE
HIGHqa/tasks/cephadm.py529except OSError:CODE
HIGHqa/tasks/cephadm.py537except ReadError:CODE
HIGHqa/tasks/cephadm.py566except OSError:CODE
HIGHqa/tasks/cephadm.py572except ReadError:CODE
HIGHqa/tasks/ceph.py1407except KeyError:CODE
HIGHqa/tasks/ceph.py1434except run.CommandFailedError:CODE
HIGHqa/tasks/ceph.py112except OSError:CODE
HIGHqa/tasks/ceph.py295except OSError:CODE
HIGHqa/tasks/ceph.py118except OSError:CODE
HIGHqa/tasks/ceph.py123except ReadError:CODE
HIGHqa/tasks/ceph.py301except OSError:CODE
HIGHqa/tasks/fwd_scrub.py36except ThrasherGreenlet.Stopped:CODE
HIGHqa/tasks/radosgw_admin.py273except:CODE
HIGHqa/tasks/radosgw_admin.py292except:CODE
HIGHqa/tasks/radosgw_admin.py284except:CODE
HIGHqa/tasks/rbd_mirror_thrash.py124except socket.error:CODE
HIGHqa/tasks/rbd_mirror_thrash.py147except CommandFailedError:CODE
HIGHqa/tasks/rbd_mirror_thrash.py155except socket.error:CODE
HIGHqa/tasks/mgr/test_dashboard.py36except requests.ConnectionError:CODE
HIGHqa/tasks/mgr/dashboard/helper.py714except _ValError:CODE
HIGHqa/tasks/mgr/dashboard/test_mgr_module.py32except (MaxRetryError, requests.ConnectionError):CODE
HIGHqa/tasks/cephfs/test_multimds_misc.py44except KeyError:CODE
HIGHqa/tasks/cephfs/test_data_scan.py388except CommandFailedError:CODE
HIGHqa/tasks/cephfs/test_data_scan.py1100except Exception:CODE
HIGHqa/tasks/cephfs/test_admin.py2461except FSMissing:CODE
HIGHqa/tasks/cephfs/test_damage.py268except RuntimeError:CODE
HIGHqa/tasks/cephfs/test_misc.py396except:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py33except NoSuchAttributeError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py45except InvalidArgumentError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py68except NoSuchAttributeError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py135except InvalidArgumentError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py141except NoSuchAttributeError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py246except DirectoryNotEmptyError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py252except NoSuchAttributeError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py272except DirectoryNotEmptyError:CODE
HIGHqa/tasks/cephfs/test_dir_charmap.py278except NoSuchAttributeError:CODE
306 more matches not shown…
Decorative Section Separators536 hits · 1465 pts
SeverityFileLineSnippetContext
MEDIUMqa/workunits/rados/test_read_balancer.sh321 # -------------------COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py102 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py113 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py125 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py138 # =================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py182 # =========================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py223 # =====================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py282 # ===================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py329 # ===================================COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py206# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py312# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py314# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py541# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py543# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py841# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py843# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py950# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py952# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py1001# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_quarantine.py1003# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py264# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py266# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py375# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py377# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py476# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py478# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py571# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py573# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py767# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py769# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py905# ---------------------------------------------------------------------------COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py907# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡qa/tasks/cephfs/test_cephfs_shell.py1148 # ====================================================================================================COMMENT
MEDIUM⚡qa/tasks/cephfs/test_cephfs_shell.py1166 # ====================================================================================================COMMENT
MEDIUM⚡qa/tasks/cephfs/test_cephfs_shell.py1181 # ====================================================================================================COMMENT
MEDIUMqa/tasks/cephfs/test_cephfs_shell.py1130 # ====================================================================================================COMMENT
MEDIUMqa/standalone/misc/ok-to-upgrade.sh620# -----------COMMENT
MEDIUMqa/cephfs/unshare_ns_mount.sh24# -----------COMMENT
MEDIUMqa/cephfs/unshare_ns_mount.sh27# -----------COMMENT
MEDIUM…ng/ceph-mixin/tests_dashboards/features/environment.py52# ===========================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh114# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh116# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh124# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh127# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh850# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh853# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh862# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh865# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1224# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1227# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1236# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1239# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1363# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1366# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1375# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1378# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1388# ============================================================COMMENT
MEDIUM⚡src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh1391# ============================================================COMMENT
MEDIUMsrc/test/rgw/radosgw-admin/test-bucket-exit-codes.sh145# ============================================================COMMENT
476 more matches not shown…
Over-Commented Block1336 hits · 1320 pts
SeverityFileLineSnippetContext
LOWmingw_conf.sh1#!/usr/bin/env bashCOMMENT
LOWmake-srpm.sh1#!/bin/shCOMMENT
LOWmake-debs.sh1#!/usr/bin/env bashCOMMENT
LOWwin32_build.sh21SKIP_TESTS=${SKIP_TESTS:-}COMMENT
LOWinstall-deps.sh1#!/usr/bin/env bashCOMMENT
LOWrun-make-check.sh1#!/usr/bin/env bashCOMMENT
LOWbin/git-archive-all.sh1#!/usr/bin/env bashCOMMENT
LOWbin/git-archive-all.sh21# This program is free software; you can redistribute it and/or modifyCOMMENT
LOWqa/run_xfstests.sh1#!/usr/bin/env bashCOMMENT
LOWqa/run_xfstests-obsolete.sh1#!/usr/bin/env bashCOMMENT
LOWqa/run_xfstests-obsolete.sh61#COMMENT
LOWqa/workunits/ceph-helpers-root.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/erasure-code/bench.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/erasure-code/bench.sh21# CEPH_ERASURE_CODE_BENCHMARK=build/bin/ceph_erasure_code_benchmark \COMMENT
LOWqa/workunits/erasure-code/bench.sh241# CEPH_ERASURE_CODE_BENCHMARK=../../../src/ceph_erasure_code_benchmark \COMMENT
LOW…workunits/erasure-code/encode-decode-non-regression.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/erasure-code/jquery.flot.js281 //COMMENT
LOWqa/workunits/erasure-code/jquery.flot.js301 // The idea is that that the width, height, and general 'identity' of theCOMMENT
LOWqa/workunits/erasure-code/jquery.flot.js381 return info;COMMENT
LOWqa/workunits/erasure-code/jquery.flot.js461 // Note that the text is not immediately removed; it is simply marked asCOMMENT
LOWqa/workunits/erasure-code/jquery.js9461// since jQuery can be concatenated with other files that may use define,COMMENT
LOWqa/workunits/direct_io/test_sync_io.c1#include <sys/types.h>COMMENT
LOWqa/workunits/rgw/keystone-fake-server.py1#!/usr/bin/env python3COMMENT
LOWqa/workunits/rgw/test-keystone-service-token.py1#!/usr/bin/env python3COMMENT
LOWqa/workunits/rgw/test_rgw_admin_pagination.py221 if ok return data parsed from JSON response.COMMENT
LOWqa/workunits/rgw/keystone-service-token.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rgw/test_account_migration.sh1#!/bin/bashCOMMENT
LOW…ts/rgw/jcksum/src/main/java/io/ceph/jcksum/jcksum.java341 putObjectFromFile(client, "file-200b", out_name); // STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER (multi) (200) (cCOMMENT
LOW…ts/rgw/jcksum/src/main/java/io/ceph/jcksum/jcksum.java361 //mpuObjectFromFile(client, "file-256k", out_name);COMMENT
LOWqa/workunits/mon/pg_autoscaler.sh321 # -1 6.00000 root defaultCOMMENT
LOWqa/workunits/mon/test_mon_config_key.py1#!/usr/bin/python3COMMENT
LOWqa/workunits/mon/test_mon_config_key.py21import sysCOMMENT
LOWqa/workunits/hadoop/terasort.sh21COMMENT
LOWqa/workunits/hadoop/terasort.sh41#-Dio.file.buffer.size=131072 \COMMENT
LOWqa/workunits/hadoop/terasort.sh61#-Ddfs.blocksize=512M \COMMENT
LOWqa/workunits/cephtool/test.sh2081{COMMENT
LOWqa/workunits/cephtool/test.sh2101 # get quotas in json-pretty formatCOMMENT
LOWqa/workunits/cephtool/test.sh2121 # set valid quotas with unit prefixCOMMENT
LOWqa/workunits/rados/test_ec_sparse_read_repair_assert.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rados/test_large_omap_detection.py1#!/usr/bin/python3COMMENT
LOWqa/workunits/rados/test_envlibrados_for_rocksdb.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rados/test.sh41# 3. --timeout VALUE (optional) (for each test)COMMENT
LOWqa/workunits/rename/plan.txt1#!/bin/shCOMMENT
LOWqa/workunits/rename/plan.txt21# pri auth pri rep -COMMENT
LOWqa/workunits/nvmeof/cross_namespace_copy_test.sh1#!/bin/bash -exCOMMENT
LOWqa/workunits/fs/full/subvolume_clone.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/fs/full/subvolume_snapshot_rm.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rbd/test_rbdmap_RBDMAPFILE.sh1#!/bin/shCOMMENT
LOWqa/workunits/rbd/rbd_mirror_helpers.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rbd/rbd_mirror_helpers.sh21# RBD_MIRROR_INSTANCES - number of daemons to start per clusterCOMMENT
LOWqa/workunits/rbd/rbd_mirror_helpers.sh41#COMMENT
LOWqa/workunits/rbd/rbd_mirror_helpers.sh61# export RBD_MIRROR_TEMDIR=/tmp/tmp.rbd_mirrorCOMMENT
LOWqa/workunits/rbd/image_read.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rbd/image_read.sh21# By default it creates an image and fills it with some data. ItCOMMENT
LOWqa/workunits/rbd/concurrent.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rbd/concurrent.sh21#COMMENT
LOWqa/workunits/rbd/concurrent.sh41# Exit status:COMMENT
LOWqa/workunits/rbd/concurrent.sh281 [ $# -eq 1 ] || exit 99COMMENT
LOWqa/workunits/rbd/rbd_mirror.sh1#!/usr/bin/env bashCOMMENT
LOWqa/workunits/rbd/huge-tickets.sh1#!/usr/bin/env bashCOMMENT
1276 more matches not shown…
Excessive Try-Catch Wrapping761 hits · 787 pts
SeverityFileLineSnippetContext
LOWqa/workunits/cephadm/test_cephadm_timeout.py63 except Exception:CODE
MEDIUMqa/workunits/dencoder/test_readable.py51 print(f"Error encountered in subprocess. Command: {cmd1}")CODE
MEDIUMqa/workunits/dencoder/test_readable.py53 print(f"Error encountered in subprocess. Command: {cmd2}")CODE
MEDIUMqa/workunits/dencoder/test_readable.py67 debug_print(f"Error running command: {error_message}")CODE
MEDIUMqa/workunits/dencoder/test_readable.py87 print(f"Error encountered in subprocess. Command: {cmd1}")CODE
LOWqa/workunits/rgw/test_rgw_versioning.py115 except Exception as e:CODE
LOWqa/workunits/rgw/test_rgw_d4n.py51 except Exception as e:CODE
LOWqa/workunits/rgw/test_rgw_datacache.py77 except Exception as e:CODE
LOWqa/workunits/rgw/common.py83 except Exception as e:CODE
LOWqa/workunits/rgw/test_rgw_multipart_category.py49 except Exception:CODE
MEDIUMqa/workunits/rgw/test_rgw_multipart_category.py39def cleanup_bucket(connection, bucket_name):CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py139 except Exception:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py142 except Exception:CODE
LOWqa/workunits/rgw/test_rgw_lc_recompress.py218 except Exception:CODE
LOWqa/workunits/rgw/test_rgw_rados_pool_quota.py87 except Exception as e:CODE
LOW…nits/windows/py_tests/rbd_wnbd/service_restart_test.py172 except Exception:CODE
MEDIUM…nits/windows/py_tests/rbd_wnbd/service_restart_test.py162def run(self):CODE
LOWqa/workunits/windows/py_tests/rbd_wnbd/stress_test.py459 except Exception as ex:CODE
LOWqa/workunits/windows/py_tests/rbd_wnbd/stress_test.py477 except Exception:CODE
LOWqa/workunits/windows/py_tests/internal/task_group.py32 except Exception as ex:CODE
LOWqa/workunits/windows/py_tests/internal/tracer.py33 except Exception as exc:CODE
LOWqa/tasks/test_netsplit.py171 except Exception:CODE
LOWqa/tasks/test_netsplit.py193 except Exception:CODE
LOWqa/tasks/test_netsplit.py295 except Exception:CODE
LOWqa/tasks/test_netsplit.py305 except Exception:CODE
LOWqa/tasks/test_netsplit.py388 except Exception:CODE
LOWqa/tasks/test_netsplit.py398 except Exception:CODE
LOWqa/tasks/workunit.py575 except Exception:CODE
LOWqa/tasks/samba.py242 except Exception:STRING
LOWqa/tasks/ragweed.py71 except Exception as e:CODE
LOWqa/tasks/kubeadm.py66 except Exception as e:CODE
LOWqa/tasks/kubeadm.py297 except Exception as e:STRING
LOWqa/tasks/kubeadm.py332 except Exception as e:STRING
LOWqa/tasks/quarantine_thrasher.py135 except Exception as e:CODE
LOWqa/tasks/quarantine_thrasher.py185 except Exception as e:CODE
LOWqa/tasks/quarantine_thrasher.py210 except Exception as e:CODE
LOWqa/tasks/quarantine_thrasher.py271 except Exception as e:CODE
MEDIUMqa/tasks/quarantine_thrasher.py244def _run(self):CODE
LOWqa/tasks/vstart_runner.py1387 except Exception as e:STRING
MEDIUMqa/tasks/ceph_manager.py190def wrapper(self):CODE
LOWqa/tasks/ceph_manager.py1385 except Exception as e:CODE
LOWqa/tasks/cifs_mount.py136 except Exception:CODE
LOWqa/tasks/rook.py165 except Exception as e:CODE
LOWqa/tasks/rook.py208 except Exception:CODE
LOWqa/tasks/rook.py415 except Exception as e:CODE
LOWqa/tasks/rook.py483 except Exception as e:CODE
LOWqa/tasks/rook.py538 except Exception as e:CODE
LOWqa/tasks/quiescer.py78 except Exception as e:CODE
LOWqa/tasks/quiescer.py164 except Exception as e:CODE
LOWqa/tasks/quiescer.py192 except Exception as e:CODE
LOWqa/tasks/quiescer.py221 except Exception as e:CODE
LOWqa/tasks/quiescer.py296 except Exception as e:CODE
LOWqa/tasks/quiescer.py362 except Exception as e:CODE
MEDIUMqa/tasks/quiescer.py339def _run(self):CODE
LOWqa/tasks/mds_thrash.py124 except Exception as e:CODE
MEDIUMqa/tasks/mds_thrash.py119def _run(self):CODE
LOWqa/tasks/cbt.py165 except Exception as e:CODE
MEDIUMqa/tasks/cbt.py161def cbt_branch_from_version(self):CODE
LOWqa/tasks/dump_stuck.py151 except Exception:CODE
LOWqa/tasks/cephfs_mirror_thrash.py80 except Exception as e:CODE
701 more matches not shown…
Cross-Language Confusion114 hits · 739 pts
SeverityFileLineSnippetContext
HIGH…nits/windows/py_tests/rbd_wnbd/service_restart_test.py46 'data. Examples: crc32c, md5, sha1, null, etc. 'CODE
HIGH…nits/windows/py_tests/rbd_wnbd/service_restart_test.py47 'If set to null, the written data will not be 'CODE
HIGHqa/workunits/windows/py_tests/rbd_wnbd/stress_test.py51 'data. Examples: crc32c, md5, sha1, null, etc. 'CODE
HIGHqa/workunits/windows/py_tests/rbd_wnbd/stress_test.py52 'If set to null, the written data will not be 'CODE
HIGHqa/tasks/devstack.py83 cmd = "cd devstack && git checkout " + branchCODE
HIGHqa/tasks/devstack.py273 cmd = "cd devstack && sed -ie 's/screen -c/screen -dm -c/' rejoin-stack.sh"CODE
HIGHqa/tasks/cephadm.py638 "(sudo systemctl restart ssh || sudo systemctl restart sshd)"CODE
HIGHqa/tasks/nvme_loop.py319 'nqn=$(cat "$s/subsysnqn" 2>/dev/null) || continue; 'CODE
HIGHqa/tasks/qemu.py265 test -d /etc/ceph || mkdir /etc/cephCODE
HIGHqa/tasks/qemu.py279 test -d /mnt/test_b && cd /mnt/test_bCODE
HIGHqa/tasks/qemu.py280 /mnt/cdrom/test.sh > /mnt/log/test.log 2>&1 && touch /mnt/log/successCODE
HIGHqa/tasks/cephfs/test_data_scan.py248 self._mount.run_shell_payload("stat dir_y/dir_yy/dir_xxx/file_y || stat dir_x/dir_xx/dir_xxx/file_y")STRING
HIGHqa/tasks/cephfs/test_failover.py1002 self.mount_a.run_shell_payload("mkdir top && touch top/file")CODE
HIGHqa/tasks/cephfs/test_exports.py191 self.mount_a.run_shell_payload('cd top/00000000 && for i in `seq 1 10000`; do mkdir $i; done;')STRING
HIGHqa/tasks/cephfs/test_journal_repair.py195 self.mount_a.run_shell_payload("mkdir dir1 && touch dir1/file_after_reset")STRING
HIGHqa/tasks/cephfs/test_cephfs_shell.py4"export PATH=$PATH:$(cd ../src/tools/cephfs/shell && pwd)" from the build dirSTRING
HIGHqa/tasks/cephfs/test_quarantine_kclient.py313 f"stat -c %s {stream_file} 2>/dev/null || echo 0",CODE
HIGHqa/tasks/cephfs/test_fscrypt.py68 self.mount_a.run_shell_payload(f"cd {self.path} && dd if=/dev/urandom of={file} bs=512 count=1 oflag=sync && synCODE
HIGH⚡qa/tasks/cephfs/mount.py312 if command -v iptables >/dev/null 2>&1 && sudo iptables -t nat -A POSTROUTING -s {self.ceph_brx_net} -o CODE
HIGH⚡qa/tasks/cephfs/mount.py312 if command -v iptables >/dev/null 2>&1 && sudo iptables -t nat -A POSTROUTING -s {self.ceph_brx_net} -o CODE
HIGH⚡qa/tasks/cephfs/mount.py316 sudo nft add table ip filter > /dev/null 2>&1 || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py317 sudo nft add chain ip filter forward {{ type filter hook forward priority 0 \; }} > /dev/null 2>&1 |CODE
HIGH⚡qa/tasks/cephfs/mount.py319 sudo nft add table ip nat > /dev/null 2>&1 || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py321 sudo nft add chain ip nat postrouting {{ type nat hook postrouting priority 100 \; }} > /dev/null 2>CODE
HIGH⚡qa/tasks/cephfs/mount.py463 if command -v iptables >/dev/null 2>&1 && sudo iptables -t nat -D POSTROUTING -s {self.ceph_brx_net} -o {gw}CODE
HIGH⚡qa/tasks/cephfs/mount.py463 if command -v iptables >/dev/null 2>&1 && sudo iptables -t nat -D POSTROUTING -s {self.ceph_brx_net} -o {gw}CODE
HIGH⚡qa/tasks/cephfs/mount.py464 sudo iptables -D FORWARD -o {gw} -i ceph-brx -j ACCEPT || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py465 sudo iptables -D FORWARD -i {gw} -o ceph-brx -j ACCEPT || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py467 sudo nft delete rule ip filter forward iifname ceph-brx oifname {gw} accept > /dev/null 2>&1 || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py468 sudo nft delete rule ip filter forward iifname {gw} oifname ceph-brx accept > /dev/null 2>&1 || trueCODE
HIGH⚡qa/tasks/cephfs/mount.py469 sudo nft delete rule ip nat postrouting ip saddr {self.ceph_brx_net} oifname {gw} masquerade > /dev/nullCODE
HIGHsrc/test/rgw/s3vectors/s3vector_test.py3843 # a column declared with mustExist is never null, so $exists=true matchesCOMMENT
HIGHsrc/test/rgw/s3vectors/s3vector_test.py2563 'metadata': '{"color": null}'},CODE
HIGHsrc/test/rgw/s3vectors/s3vector_test.py2572 'metadata': '{"genre": "rock", "year": null}'},CODE
HIGHsrc/test/rgw/s3vectors/s3vector_test.py2583 'metadata': '{"color": null}'},CODE
HIGHsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py16002 # 2024-04-25T17:47:47.991-0400 7f78e3a006c0 1 req 4931907640780566174 0.011000143s s3:complete_multipart ERROR: eitCOMMENT
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py526 res_s3select_nullif = remove_xml_tags_from_result( run_s3select_json(bucket_name,json_obj_name,"select count(0) froCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py532 res_s3select_nullif = remove_xml_tags_from_result( run_s3select_json(bucket_name,json_obj_name,"select (nullif(_1.cCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py538 res_s3select_nullif = remove_xml_tags_from_result( run_s3select_json(bucket_name,json_obj_name,"select count(0) froCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py544 res_s3select_nullif = remove_xml_tags_from_result( run_s3select_json(bucket_name,json_obj_name,"select (nullif(_1.cCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py633 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from s3obCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py639 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select (nullif(_1,_2) is CODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py645 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from s3obCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py651 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select (nullif(_1,_2) is CODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py667 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(*) from s3obCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py669 res_s3select = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(*) from s3object whCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py673 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select (nullif(_1,null) iCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py675 res_s3select = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select (_1 is null) from s3objecCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py689 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from s3obCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py695 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from s3obCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py717 res_s3select_null = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(*) from s3objeCODE
HIGH⚡…/test/rgw/s3-tests/s3tests/functional/test_s3select.py723 res_s3select_null = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(*) from s3objeCODE
HIGH…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1011 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from stdiCODE
HIGH…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1017 res_s3select_nullif = remove_xml_tags_from_result( run_s3select(bucket_name,csv_obj_name,"select count(0) from stdiCODE
HIGH…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1649 res_s3select_1 = remove_xml_tags_from_result( run_s3select_output(bucket_name,csv_obj_name,"select _1, _2 from s3obCODE
HIGHsrc/cephadm/tests/test_logrotate_config.py26 killall -q -1 ceph-exporter ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror tcmu-CODE
HIGHsrc/script/build-with-container.py56 $EDITOR ./my-cool-script.sh && chmod +x ./my-cool-script.shSTRING
HIGHsrc/script/build-with-container.py963 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && has_build_dir || configure ${{CONFIGURE_ARGS}}"CODE
HIGHsrc/script/build-with-container.py963 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && has_build_dir || configure ${{CONFIGURE_ARGS}}"CODE
HIGHsrc/script/build-with-container.py980 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && build vstart",CODE
54 more matches not shown…
Deep Nesting851 hits · 688 pts
SeverityFileLineSnippetContext
LOWqa/workunits/cephadm/test_cephadm_timeout.py42CODE
LOWqa/workunits/dencoder/test_readable.py212CODE
LOWqa/workunits/rgw/common.py69CODE
LOWqa/workunits/rgw/test_rgw_reshard.py100CODE
LOWqa/workunits/mon/test_mon_config_key.py161CODE
LOWqa/workunits/mon/caps.py157CODE
LOWqa/workunits/windows/py_tests/rbd_wnbd/stress_test.py178CODE
LOWqa/tasks/workunit.py368CODE
LOWqa/tasks/ceph_test_case.py259CODE
LOWqa/tasks/ceph_test_case.py310CODE
LOWqa/tasks/ceph_test_case.py331CODE
LOWqa/tasks/ceph_test_case.py352CODE
LOWqa/tasks/ceph_test_case.py265CODE
LOWqa/tasks/rgw.py35CODE
LOWqa/tasks/kubeadm.py88CODE
LOWqa/tasks/kubeadm.py249CODE
LOWqa/tasks/vstart_runner.py1329CODE
LOWqa/tasks/vstart_runner.py492CODE
LOWqa/tasks/vstart_runner.py786CODE
LOWqa/tasks/vstart_runner.py885CODE
LOWqa/tasks/ceph_manager.py340CODE
LOWqa/tasks/ceph_manager.py572CODE
LOWqa/tasks/ceph_manager.py1003CODE
LOWqa/tasks/ceph_manager.py1447CODE
LOWqa/tasks/ceph_manager.py1474CODE
LOWqa/tasks/ceph_manager.py2938CODE
LOWqa/tasks/ceph_manager.py3020CODE
LOWqa/tasks/ceph_manager.py3177CODE
LOWqa/tasks/ceph_manager.py3385CODE
LOWqa/tasks/ceph_manager.py3420CODE
LOWqa/tasks/cifs_mount.py14CODE
LOWqa/tasks/rook.py85CODE
LOWqa/tasks/rook.py199CODE
LOWqa/tasks/rook.py330CODE
LOWqa/tasks/rook.py453CODE
LOWqa/tasks/rook.py495CODE
LOWqa/tasks/deduplication.py15CODE
LOWqa/tasks/deduplication.py142CODE
LOWqa/tasks/kafka_failover.py241CODE
LOWqa/tasks/cram.py16CODE
LOWqa/tasks/rbd_fio.py22CODE
LOWqa/tasks/rbd_fio.py87CODE
LOWqa/tasks/quiescer.py172CODE
LOWqa/tasks/dnsmasq.py111CODE
LOWqa/tasks/smb.py491CODE
LOWqa/tasks/s3tests_java.py271CODE
LOWqa/tasks/rbd.py280CODE
LOWqa/tasks/rbd.py491CODE
LOWqa/tasks/mds_thrash.py179CODE
LOWqa/tasks/mds_thrash.py218CODE
LOWqa/tasks/rep_lost_unfound_delete.py14CODE
LOWqa/tasks/cephfs_mirror_thrash.py91CODE
LOWqa/tasks/lost_unfound.py13CODE
LOWqa/tasks/mon_thrash.py319CODE
LOWqa/tasks/check_counter.py52CODE
LOWqa/tasks/rgw_multisite.py85CODE
LOWqa/tasks/rados.py52CODE
LOWqa/tasks/rados.py280CODE
LOWqa/tasks/cephadm.py139CODE
LOWqa/tasks/cephadm.py368CODE
791 more matches not shown…
Cross-File Repetition111 hits · 555 pts
SeverityFileLineSnippetContext
HIGHqa/workunits/rgw/test_rgw_d4n.py0generate the specified number random data. (actually each mb is a repetition of the first kb)STRING
HIGHsrc/test/rgw/s3-tests/s3tests/functional/utils.py0generate the specified number random data. (actually each mb is a repetition of the first kb)STRING
HIGHsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py0generate the specified number random data. (actually each mb is a repetition of the first kb)STRING
HIGHqa/tasks/tempest.py0download pykmip from github. remove downloaded file upon exit. the context passed in should be identical to the context STRING
HIGHqa/tasks/keystone.py0download pykmip from github. remove downloaded file upon exit. the context passed in should be identical to the context STRING
HIGHqa/tasks/barbican.py0download pykmip from github. remove downloaded file upon exit. the context passed in should be identical to the context STRING
HIGHqa/tasks/pykmip.py0download pykmip from github. remove downloaded file upon exit. the context passed in should be identical to the context STRING
HIGHqa/tasks/ragweed.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/bucket_logging_tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/notification_tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/s3tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/s3vectors_tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/dedup_tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/lua_tests.py0configure users for this section by stashing away keys, ids, and email addresses.STRING
HIGHqa/tasks/ragweed.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/bucket_logging_tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/notification_tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/s3tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/s3vectors_tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/dedup_tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/lua_tests.py0run the lua tests after everything is set up. :param ctx: context passed to task :param config: specific configuration iSTRING
HIGHqa/tasks/bucket_logging_tests.py0if you want to run the tests against your changes pushed to your remote repo you can provide 'suite_branch' and 'suite_rSTRING
HIGHqa/tasks/s3vectors_tests.py0if you want to run the tests against your changes pushed to your remote repo you can provide 'suite_branch' and 'suite_rSTRING
HIGHqa/tasks/dedup_tests.py0if you want to run the tests against your changes pushed to your remote repo you can provide 'suite_branch' and 'suite_rSTRING
HIGHqa/tasks/lua_tests.py0if you want to run the tests against your changes pushed to your remote repo you can provide 'suite_branch' and 'suite_rSTRING
HIGHqa/tasks/cephfs/test_data_scan.py0read from the mount and validate that the workload files are present (i.e. have survived or been reconstructed from the STRING
HIGHqa/tasks/cephfs/test_recovery_pool.py0read from the mount and validate that the workload files are present (i.e. have survived or been reconstructed from the STRING
HIGHqa/tasks/cephfs/test_scrub.py0read from the mount and validate that the workload files are present (i.e. have survived or been reconstructed from the STRING
HIGHqa/tasks/cephfs/test_data_scan.py0damage the filesystem pools in ways that will be interesting to recover from. by default just wipe everything in the metSTRING
HIGHqa/tasks/cephfs/test_recovery_pool.py0damage the filesystem pools in ways that will be interesting to recover from. by default just wipe everything in the metSTRING
HIGHqa/tasks/cephfs/test_scrub.py0damage the filesystem pools in ways that will be interesting to recover from. by default just wipe everything in the metSTRING
HIGHqa/tasks/cephfs/test_data_scan.py0called after client unmount, after write: flush whatever you wantSTRING
HIGHqa/tasks/cephfs/test_recovery_pool.py0called after client unmount, after write: flush whatever you wantSTRING
HIGHqa/tasks/cephfs/test_scrub.py0called after client unmount, after write: flush whatever you wantSTRING
HIGHqa/tasks/cephfs/test_data_scan.py0that when all objects in metadata pool are removed, we can rebuild a metadata pool based on the contents of a data pool,STRING
HIGHqa/tasks/cephfs/test_recovery_pool.py0that when all objects in metadata pool are removed, we can rebuild a metadata pool based on the contents of a data pool,STRING
HIGHqa/tasks/cephfs/test_scrub.py0that when all objects in metadata pool are removed, we can rebuild a metadata pool based on the contents of a data pool,STRING
HIGHsrc/test/rgw/s3-tests/s3tests/common.py0choose a prefix for our test buckets, so they're easy to identify. use template and feed it more and more random filler,STRING
HIGH…est/rgw/s3-tests/s3tests/functional/rgw_interactive.py0choose a prefix for our test buckets, so they're easy to identify. use template and feed it more and more random filler,STRING
HIGHsrc/test/rgw/s3-tests/s3tests/functional/__init__.py0choose a prefix for our test buckets, so they're easy to identify. use template and feed it more and more random filler,STRING
HIGHsrc/test/rgw/s3-tests/s3tests/common.py0get a bucket that exists and is empty. always recreates a bucket from scratch. this is useful to also reset acls and sucSTRING
HIGH…est/rgw/s3-tests/s3tests/functional/rgw_interactive.py0get a bucket that exists and is empty. always recreates a bucket from scratch. this is useful to also reset acls and sucSTRING
HIGHsrc/test/rgw/s3-tests/s3tests/functional/__init__.py0get a bucket that exists and is empty. always recreates a bucket from scratch. this is useful to also reset acls and sucSTRING
HIGHsrc/python-common/ceph/tests/test_service_spec.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/test_node_proxy.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGH…pybind/mgr/cephadm/tests/services/test_mgmt_gateway.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_smb.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_agent.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_nvmeof.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_iscsi.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_rgw.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGH…c/pybind/mgr/cephadm/tests/services/test_monitoring.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_nfs.py0-----begin certificate-----\nmiicxjccaa4ceqdizsujnblkaljzmvntjukjma0gcsqgsib3dqebdquamcexdtal\nbgnvbaombenlcggxedaobgnvbSTRING
HIGHsrc/python-common/ceph/tests/test_service_spec.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGH…pybind/mgr/cephadm/tests/services/test_mgmt_gateway.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_smb.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_agent.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_nvmeof.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_iscsi.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_rgw.py0-----begin private key-----\nmiievaibadanbgkqhkig9w0baqefaascbkywggsiageaaoibaqdlix7gmwd4x5gr\nsedkwcgrvoowiq5w2dgiantypSTRING
51 more matches not shown…
Unused Imports543 hits · 490 pts
SeverityFileLineSnippetContext
LOWqa/workunits/restart/test-backtraces.py3CODE
LOWqa/workunits/mon/caps.py3CODE
LOWqa/workunits/mon/caps.py13CODE
LOWqa/tasks/mds_creation_failure.py5CODE
LOWqa/tasks/ceph_test_case.py10CODE
LOWqa/tasks/mgr/dashboard/test_monitor.py2CODE
LOWqa/tasks/mgr/dashboard/test_rbd.py4CODE
LOWqa/tasks/mgr/dashboard/test_user.py4CODE
LOWqa/tasks/mgr/dashboard/test_auth.py3CODE
LOWqa/tasks/mgr/dashboard/test_role.py3CODE
LOWqa/tasks/mgr/dashboard/test_rgw.py2CODE
LOWqa/tasks/mgr/dashboard/test_host.py2CODE
LOWqa/tasks/mgr/dashboard/test_erasure_code_profile.py3CODE
LOWqa/tasks/mgr/dashboard/test_cluster_configuration.py1CODE
LOWqa/tasks/mgr/dashboard/test_orchestrator.py2CODE
LOWqa/tasks/mgr/dashboard/test_perf_counters.py2CODE
LOWqa/tasks/mgr/dashboard/test_requests.py3CODE
LOWqa/tasks/mgr/dashboard/test_motd.py4CODE
LOWqa/tasks/mgr/dashboard/test_logs.py2CODE
LOWqa/tasks/mgr/dashboard/helper.py3CODE
LOWqa/tasks/mgr/dashboard/test_osd.py3CODE
LOWqa/tasks/mgr/dashboard/test_summary.py1CODE
LOWqa/tasks/mgr/dashboard/test_health.py2CODE
LOWqa/tasks/mgr/dashboard/test_api.py3CODE
LOWqa/tasks/mgr/dashboard/test_crush_rule.py3CODE
LOWqa/tasks/mgr/dashboard/test_rbd_mirroring.py4CODE
LOWqa/tasks/mgr/dashboard/test_pool.py2CODE
LOWqa/tasks/mgr/dashboard/test_mgr_module.py2CODE
LOWqa/tasks/mgr/dashboard/test_settings.py3CODE
LOWexamples/rgw/boto3/get_usage_stats.py2CODE
LOWexamples/rgw/boto3/append_object.py2CODE
LOWexamples/rgw/boto3/put-bucket-replication.py3CODE
LOWexamples/rgw/boto3/put-bucket-replication.py8CODE
LOWdoc/_ext/ceph_releases.py7CODE
LOWmonitoring/ceph-mixin/tests_alerts/utils.py1CODE
LOWmonitoring/ceph-mixin/tests_dashboards/__init__.py1CODE
LOWmonitoring/ceph-mixin/tests_dashboards/__init__.py3CODE
LOWsrc/tools/histogram_dump.py18CODE
LOWsrc/tools/contrib/assign_crimson_cores.py5CODE
LOWsrc/tools/rgw/parse-cr-dump.py2CODE
LOWsrc/test/crimson/cbt/t2c.py11CODE
LOWsrc/test/rgw/test_multi.py13CODE
LOWsrc/test/rgw/test_multi.py25CODE
LOWsrc/test/rgw/test_multi.py26CODE
LOWsrc/test/rgw/test_multi.py27CODE
LOWsrc/test/rgw/bucket_notification/api.py3CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py13CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py27CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py38CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py38CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py38CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py38CODE
LOWsrc/test/rgw/lua/test_lua.py15CODE
LOWsrc/test/rgw/s3vectors/s3vector_test.py13CODE
LOWsrc/test/rgw/rgw_multi/zone_cloud.py1CODE
LOWsrc/test/rgw/rgw_multi/zone_cloud.py2CODE
LOWsrc/test/rgw/rgw_multi/zone_cloud.py17CODE
LOWsrc/test/rgw/rgw_multi/zone_es.py13CODE
LOWsrc/test/rgw/rgw_multi/multisite.py6CODE
LOWsrc/test/rgw/rgw_multi/tests_es.py4CODE
483 more matches not shown…
Self-Referential Comments164 hits · 422 pts
SeverityFileLineSnippetContext
MEDIUMmake-srpm.sh4# Create a SRPM which can be used to build CephCOMMENT
MEDIUMbin/git-archive-all.sh108TMPFILE=`mktemp "$TMPDIR/$PROGRAM.XXXXXX"` # Create a place to store our work's progressCODE
MEDIUMbin/git-archive-all.sh199# Create the superproject's git-archiveCOMMENT
MEDIUMqa/workunits/dencoder/test_readable.py298# Create a generator that processes batches asynchronouslyCOMMENT
MEDIUMqa/workunits/mon/mon-stretch-pool.sh107# Create a custom crush ruleCOMMENT
MEDIUMqa/workunits/cephtool/test.sh1153 # Create a FS using the 'cache' pool now that it's no longer a tierCOMMENT
MEDIUMqa/workunits/cephtool/test.sh1183 # Create a FS and check that we can subsequently add a cache tier to itCOMMENT
MEDIUMqa/workunits/rados/test_read_balancer.sh54 # Create a new, empty poolCOMMENT
MEDIUMqa/workunits/fs/fscrypt.sh38# Create the test directoryCOMMENT
MEDIUMqa/workunits/rest/test_mgr_rest_api.py26# Create a pool and get its idCOMMENT
MEDIUMqa/erasure-code/ec-feature-plugins-v2.yaml70# Creating an erasure code profile using the lrc plugin now worksCOMMENT
MEDIUMqa/tasks/dnsmasq.py43 data = "# This file is generated by dnsmasq teuthology task\n"CODE
MEDIUMqa/tasks/dnsmasq.py63 data = """# This file is generated by dnsmasq teuthology taskCODE
MEDIUMqa/tasks/dnsmasq.py87 data = f"""# This file is generated by dnsmasq teuthology taskSTRING
MEDIUMqa/tasks/cbt.py115 # Create a virtual environment for CBTCOMMENT
MEDIUMqa/tasks/s3tests.py247 # Create a global OIDC provider for fallback tests. Global providers areCOMMENT
MEDIUMqa/tasks/stretch_mode_disable_enable.py473 # Create a poolCOMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py28 # Create the administrator account.COMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py36 # Create a test user?COMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py102 # Create an MFA userCOMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py139 # Create a new bucket.COMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py272 # Create a new bucket. The tenant of the user is used whenCOMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py521 # Create a new user.COMMENT
MEDIUMqa/tasks/mgr/dashboard/test_rgw.py562 # Create a new user.COMMENT
MEDIUMqa/tasks/cephfs/test_data_scan.py254 # Create a file whose backtrace disagrees with his eventual positionSTRING
MEDIUMqa/tasks/cephfs/test_data_scan.py343 # Create a dir with a striped layout set on itSTRING
MEDIUMqa/tasks/cephfs/test_data_scan.py591 # Create a directory of `file_count` files, each named after itsSTRING
MEDIUMqa/tasks/cephfs/test_damage.py117 # Define the various forms of damage we will inflictCOMMENT
MEDIUMqa/tasks/cephfs/test_recovery_pool.py116 # Create the alternate pool if requestedCOMMENT
MEDIUMqa/tasks/cephfs/test_misc.py781 # Create a directory and the mds will journal this and then crashSTRING
MEDIUMqa/tasks/cephfs/test_exports.py27 # Create a directory that is pre-exported to rank 1COMMENT
MEDIUMqa/tasks/cephfs/test_journal_migration.py20 # Create a filesystem using the older journal format.COMMENT
MEDIUMqa/tasks/cephfs/test_backtrace.py39 # Create a file for subsequent checksCOMMENT
MEDIUMqa/tasks/cephfs/test_backtrace.py66 # Create a new data poolCOMMENT
MEDIUMqa/tasks/cephfs/test_strays.py389 # Create a hardlink named file_bSTRING
MEDIUMqa/tasks/cephfs/test_strays.py671 # Create a non-purgeable stray in a ~mds1 stray directorySTRING
MEDIUMqa/tasks/cephfs/test_strays.py838 # Create a dir with a file in itSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py141 # Create a new file, ensure it is not issued the same ino as one of theSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py330 # Create a dir on each rankSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py598 # Create an invalid dump file with partial headerSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py622 # Create an invalid dump file which doesn't have 'object_size' headerSTRING
MEDIUMqa/tasks/cephfs/test_volumes.py2954 # Create a subvolume without setting an earmarkCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py2966 # Create a subvolumeCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py2993 # Define the expected error messageCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py8512 # Create a file with suid, guid bits set along with executable bit.COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py1355 # Create a more complex directory structure:COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py1771 # Create a file directly in parent/ (not in any pinned subdir)COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py1772 # This file is auth on rank 0, but parent/ has replica on rank 1COMMENT
MEDIUMqa/tasks/cephfs/test_quarantine.py1810 # Create a file in 'deep' (not in any pinned subdir)COMMENT
MEDIUMqa/tasks/cephfs/test_forward_scrub.py138 # Create a new inode that's just in the log, i.e. wouldSTRING
MEDIUMqa/tasks/cephfs/test_forward_scrub.py287 # Create a file for subsequent checksSTRING
MEDIUMqa/tasks/cephfs/test_forward_scrub.py318 # Create a file for checksSTRING
MEDIUMqa/tasks/cephfs/test_forward_scrub.py398 # Create a file for checksSTRING
MEDIUMqa/tasks/cephfs/test_client_limits.py269 # Create a few files synchronously. This makes sure previous requests are completedCOMMENT
MEDIUMqa/tasks/cephfs/test_client_limits.py317 # Create a few files synchronously. This makes sure previous requests are completedCOMMENT
MEDIUMqa/tasks/cephfs/test_cap_flush.py35 # Create a file and modify its mode. ceph-fuse will mark Ax cap dirtySTRING
MEDIUMqa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml33 # Create a user access the file system from sambaCOMMENT
MEDIUMqa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml35 # Create a rados pool and store the config in itCOMMENT
MEDIUMqa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml32 # Create a user access the file system from sambaCOMMENT
MEDIUMqa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml34 # Create a rados pool and store the config in itCOMMENT
104 more matches not shown…
Modern Structural Boilerplate227 hits · 219 pts
SeverityFileLineSnippetContext
LOWqa/workunits/rgw/test_rgw_admin_pagination.py107 def set_user_max_buckets(self, uid: str, max_buckets: int) -> None:CODE
LOWqa/tasks/watched_process.py35 def set_exception(self, e: Exception) -> None:CODE
LOWqa/tasks/mgr/dashboard/test_rgw.py15logger = logging.getLogger(__name__)CODE
LOWqa/tasks/mgr/dashboard/test_mgr_module.py13logger = logging.getLogger(__name__)CODE
LOWdoc/_ext/ceph_confval.py26logger = logging.getLogger(__name__)CODE
LOWdoc/_ext/ceph_commands.py14logger = logging.getLogger(__name__)CODE
LOWdoc/_ext/ceph_releases.py16logger = logging.getLogger(__name__)CODE
LOW⚡monitoring/ceph-mixin/tests_dashboards/__init__.py84 def set_evaluation_interval(self, interval: int, unit: str = 'm') -> None:CODE
LOW⚡monitoring/ceph-mixin/tests_dashboards/__init__.py94 def set_interval(self, interval: int, unit: str = 'm') -> None:CODE
LOW⚡monitoring/ceph-mixin/tests_dashboards/__init__.py104 def set_expression(self, expr: str) -> None:CODE
LOWmonitoring/ceph-mixin/tests_dashboards/__init__.py125 def set_eval_time(self, eval_time: int, unit: str = 'm') -> None:CODE
LOWsrc/tools/contrib/tasksetcpu.py20logger = logging.getLogger(__name__)CODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py16457logger = logging.getLogger(__name__)CODE
LOWsrc/python-common/ceph/deployment/translate.py10logger = logging.getLogger(__name__)CODE
LOWsrc/python-common/ceph/deployment/service_spec.py374 def set_hosts(self, hosts: Union[List[str], List[HostPlacementSpec]]) -> None:CODE
LOW…hon-common/ceph/deployment/drive_selection/selector.py11logger = logging.getLogger(__name__)CODE
LOW…ython-common/ceph/deployment/drive_selection/filter.py14logger = logging.getLogger(__name__)CODE
LOW…hon-common/ceph/deployment/drive_selection/matchers.py11logger = logging.getLogger(__name__)CODE
LOWsrc/python-common/ceph/smb/ctl/__main__.py352def set_debug_level(ctx: Context) -> None:CODE
LOWsrc/python-common/ceph/fs/enctag.py80 def set_tag(self, enc_tag: str) -> None:CODE
LOWsrc/python-common/ceph/fs/earmarking.py162 def set_earmark(self, earmark: str) -> None:CODE
LOWsrc/ceph-node-proxy/ceph_node_proxy/atollon.py17 def _update_storage(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py252 def _update_system(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py344 def _update_network(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py347 def _update_processors(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py350 def _update_storage(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py387 def _update_sn(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py397 def _update_memory(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py400 def _update_power(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py403 def _update_fans(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py406 def _update_temperatures(self) -> None:CODE
LOW⚡…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py409 def _update_firmware(self) -> None:CODE
LOWsrc/cephadm/cephadm.py2097 def update_func(self, func: Callable) -> None:CODE
LOWsrc/cephadm/cephadm.py537def update_default_image(ctx: CephadmContext) -> None:STRING
LOWsrc/cephadm/cephadm.py953def _update_podman_mounts(ctx: CephadmContext, mounts: Dict[str, str]) -> None:STRING
LOWsrc/cephadm/cephadmlib/firewalld.py167def update_firewalld(ctx: CephadmContext, daemon: DaemonForm) -> None:CODE
LOWsrc/cephadm/cephadmlib/context.py40 def set_from_args(self, args: argparse.Namespace) -> None:CODE
LOWsrc/cephadm/cephadmlib/context.py52 def set_args(self, args: argparse.Namespace) -> None:CODE
LOWsrc/cephadm/cephadmlib/cluster_ops.py972def set_orchestrator_state(ctx: CephadmContext, action: str) -> None:CODE
LOW⚡src/cephadm/cephadmlib/file_utils.py165def update_meta_file(file_path: str, update_key_val: dict) -> None:CODE
LOWsrc/cephadm/cephadmlib/daemons/tracing.py44 def set_configuration(config: Dict[str, str], daemon_type: str) -> None:CODE
LOWsrc/cephadm/cephadmlib/daemons/__init__.py15__all__ = [CODE
LOWsrc/ceph-volume/ceph_volume/configuration.py11logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/__init__.py13logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/process.py11logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/nvme.py7logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/disk.py14logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/system.py19logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/encryption.py21logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/encryption.py24def set_dmcrypt_no_workqueue(target_version: str = '2.3.4') -> None:CODE
LOWsrc/ceph-volume/ceph_volume/util/device.py13logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/device.py354 def _set_lvm_membership(self) -> None:CODE
LOWsrc/ceph-volume/ceph_volume/util/lsmdisk.py40logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/__init__.py10logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/util/prepare.py14logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/systemd/systemctl.py8logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/objectstore/raw.py19logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/objectstore/lvm.py20logger = logging.getLogger(__name__)CODE
LOW…ceph-volume/ceph_volume/objectstore/baseobjectstore.py17logger = logging.getLogger(__name__)CODE
LOWsrc/ceph-volume/ceph_volume/api/lvm.py15logger = logging.getLogger(__name__)CODE
167 more matches not shown…
Redundant / Tautological Comments92 hits · 135 pts
SeverityFileLineSnippetContext
LOWqa/workunits/dencoder/test_readable.py64 # Check if the command failedCOMMENT
LOWqa/workunits/rgw/test_rgw_global_cors.py62# Check if the server allows the custom headersCOMMENT
LOWqa/workunits/rgw/s3_utilities.pm217# Read the file back to bucketCOMMENT
LOWqa/workunits/fs/fscrypt_cli_setup.sh28# Check if /tmp/fscrypt existsCOMMENT
LOWqa/workunits/fs/full/subvolume_ls.sh39#Set max_mds to 3COMMENT
LOWqa/tasks/test_netsplit.py231 # Check if the expected detail is presentCOMMENT
LOWqa/tasks/ceph_test_case.py233 # Check if we got an early match, wait a bit if we didn'tCOMMENT
LOWqa/tasks/test_netsplit_3az_stretch_pool.py248 # Check if the expected detail is presentCOMMENT
LOWqa/tasks/stretch_mode_disable_enable.py511 # Check if stretch mode is disabled correctlyCOMMENT
LOWqa/tasks/stretch_mode_disable_enable.py558 # Check if stretch mode is disabled correctlyCOMMENT
LOWqa/tasks/cephfs/test_data_scan.py351 # Write files, then flush metadata so that its layout gets written into an xattrSTRING
LOWqa/tasks/cephfs/test_openfiletable.py60 # Open the fileCOMMENT
LOWqa/tasks/cephfs/test_failover.py523 # Set it to 0COMMENT
LOWqa/tasks/cephfs/test_exports.py48 # Check if rank1 changed (standby tookover?)COMMENT
LOWqa/tasks/cephfs/test_exports.py226 # Open the file with access mode(O_CREAT|O_WRONLY|O_TRUNC),STRING
LOWqa/tasks/cephfs/test_exports.py445 # Check if distribution is uniformSTRING
LOWqa/tasks/cephfs/test_uninlining.py148 # Set max_mds to 1 or 2COMMENT
LOWqa/tasks/cephfs/test_journal_repair.py324 # Set max_mds to 2STRING
LOWqa/tasks/cephfs/test_quarantine.py1787 # Read file in parent/ - might hit replica for metadataCOMMENT
LOW⚡qa/tasks/cephfs/test_nfs.py655 # Check if rados export object is deletedCOMMENT
LOW⚡qa/tasks/cephfs/test_nfs.py691 # Check if exports gets listedCOMMENT
LOW⚡qa/tasks/cephfs/test_nfs.py694 # Check if rados ganesha conf object is deletedCOMMENT
LOW⚡qa/tasks/cephfs/test_nfs.py707 # Check if ganesha daemon is runningCOMMENT
LOWqa/tasks/cephfs/test_nfs.py225 # Check if user id for export is createdCOMMENT
LOWqa/tasks/cephfs/test_nfs.py229 # Check if export object is createdCOMMENT
LOWqa/tasks/cephfs/test_nfs.py344 # Check if mount failed only when non existing pseudo path is passedCOMMENT
LOWqa/tasks/cephfs/test_nfs.py1472 # Check if both exports have same user_idCOMMENT
LOW…tes/orch/cephadm/smb/tasks/deploy_smb_mgr_res_dom.yaml80# Check if shares existCOMMENT
LOW…ites/orch/cephadm/smb/tasks/deploy_smb_mgr_domain.yaml49# Check if shares existCOMMENT
LOW…cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_ports2c.yaml131# Check if shares existCOMMENT
LOW…h/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_basic.yaml90# Check if shares existCOMMENT
LOW…s/orch/cephadm/smb/tasks/deploy_smb_mgr_res_basic.yaml75# Check if shares existCOMMENT
LOW…rch/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_dom.yaml93# Check if shares existCOMMENT
LOW…h/cephadm/smb/tasks/deploy_smb_mgr_clustering_ips.yaml61# Check if shares existCOMMENT
LOW…s/orch/cephadm/smb/tasks/deploy_smb_mgr_res_ports.yaml81# Check if shares existCOMMENT
LOW…rch/cephadm/smb/tasks/deploy_smb_mgr_ctdb_res_ips.yaml98# Check if shares existCOMMENT
LOW…ch/cephadm/smb/tasks/deploy_smb_mgr_res_keybridge.yaml136# Check if shares existCOMMENT
LOW…uites/orch/cephadm/smb/tasks/deploy_smb_mgr_basic.yaml52# Check if shares existCOMMENT
LOW…ch/cephadm/smb/tasks/deploy_smb_mgr_res_remotectl.yaml112# Check if shares existCOMMENT
LOW…/orch/cephadm/smb/tasks/deploy_smb_proxy_disabled.yaml80# Check if shares existCOMMENT
LOW…s/orch/cephadm/smb/tasks/deploy_smb_proxy_enabled.yaml80# Check if shares existCOMMENT
LOWqa/standalone/scrub/osd-scrub-test.sh313 # Set scheduler to "wpq" until there's a reliable way to query scrubCOMMENT
LOWqa/standalone/scrub/osd-scrub-test.sh540 # Set scheduler to "wpq" until there's a reliable way to query scrub statesCOMMENT
LOWqa/standalone/scrub/osd-scrub-repair.sh449 # Set scheduler to "wpq" until there's a reliable way to query scrub statesCOMMENT
LOWqa/standalone/scrub/osd-scrub-repair.sh2189 # Set one to an even older valueCOMMENT
LOWqa/standalone/osd-backfill/osd-backfill-space.sh289# Set size to 1 and write 4K * 600 to each poolCOMMENT
LOWqa/standalone/osd/osd-recovery-stats.sh688 # Check if 'recovering' is absent from the state stringCOMMENT
LOWmonitoring/crimson/vstart-monitoring.sh157 # Set RESOLVED to the value of option $2 for osd.$1: the running value ifCOMMENT
LOWsrc/test/encoding/readable.sh126 # Check if we'll be ignoring only specified objects, not whole typeCOMMENT
LOWsrc/test/encoding/readable.sh172 # Check if processed object $f of $type should be skipped (postponed skip)COMMENT
LOWsrc/test/encoding/readable.sh197 # Check if $f is a symbolic link and if it's pointing to existing targetCOMMENT
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10089 # Check if objects copied to target pathCOMMENT
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10337 # Check if objects copied to target pathCOMMENT
LOWsrc/python-common/ceph/deployment/service_spec.py3012 # Check if netloc contains a valid IP or hostname and a portCOMMENT
LOW…hon-common/ceph/deployment/drive_selection/selector.py165 # Check if this device has an existing OSD for this spec.COMMENT
LOWsrc/python-common/ceph/fs/earmarking.py109 # Check if the top-level scope is validCOMMENT
LOWsrc/python-common/ceph/fs/earmarking.py113 # Check if all parts are non-empty to ensure valid dot-separated formatCOMMENT
LOWsrc/script/cpatch.py27# Set CLEANUP to false to skip cleaning up temporary files for debugging.COMMENT
LOWsrc/script/ptl-tool.py2190 # Check if the Label exist in the repoSTRING
LOWsrc/script/redmine-upkeep.py412 # Check if rate limit has been hit globallyCOMMENT
32 more matches not shown…
AI Structural Patterns166 hits · 128 pts
SeverityFileLineSnippetContext
LOWqa/workunits/rgw/keystone-fake-server.py120CODE
LOWqa/workunits/rgw/test_rgw_d4n.py148CODE
LOWqa/workunits/rgw/test_rgw_datacache.py128CODE
LOWqa/tasks/quarantine_thrasher.py51CODE
LOWqa/tasks/vstart_runner.py492CODE
LOWqa/tasks/quiescer.py55CODE
LOWqa/tasks/mgr/mgr_test_case.py228CODE
LOWqa/tasks/mgr/dashboard/test_user.py35CODE
LOWqa/tasks/cephfs/test_misc.py689CODE
LOWqa/tasks/cephfs/test_volumes.py85CODE
LOWmonitoring/crimson/gen_dashboard.py93CODE
LOWsrc/test/rgw/bucket_notification/api.py193CODE
LOW…/test/rgw/s3-tests/s3tests/functional/test_s3select.py348CODE
LOWsrc/python-common/ceph/utils.py141CODE
LOWsrc/python-common/ceph/tests/test_disk_selector.py454CODE
LOWsrc/python-common/ceph/deployment/service_spec.py995CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1399CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1693CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1918CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2487CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2566CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2730CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2869CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3143CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3247CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3303CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3363CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3436CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3518CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3646CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3678CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3728CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3838CODE
LOWsrc/python-common/ceph/deployment/service_spec.py4296CODE
LOWsrc/python-common/ceph/deployment/service_spec.py4531CODE
LOWsrc/python-common/ceph/deployment/drive_group.py48CODE
LOWsrc/python-common/ceph/deployment/drive_group.py187CODE
LOWsrc/python-common/ceph/deployment/inventory.py61CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py42CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py47CODE
LOWsrc/ceph-node-proxy/ceph_node_proxy/util.py201CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py250CODE
LOWsrc/cephadm/cephadm_invoker.py186CODE
LOWsrc/cephadm/box/util.py176CODE
LOWsrc/cephadm/box/util.py183CODE
LOWsrc/cephadm/cephadmlib/container_daemon_form.py126CODE
LOWsrc/cephadm/cephadmlib/call_wrappers.py23CODE
LOWsrc/cephadm/cephadmlib/call_wrappers.py33CODE
LOWsrc/cephadm/cephadmlib/container_types.py26CODE
LOWsrc/cephadm/cephadmlib/container_types.py219CODE
LOWsrc/cephadm/cephadmlib/container_types.py260CODE
LOW…-volume/ceph_volume/tests/functional/tests/conftest.py80CODE
LOWsrc/ceph-volume/ceph_volume/devices/raw/list.py154CODE
LOWsrc/ceph-volume/plugin/zfs/ceph_volume_zfs/util/disk.py147CODE
LOWsrc/pybind/mgr/mgr_module.py677CODE
LOWsrc/pybind/mgr/snap_schedule/fs/schedule.py82CODE
LOWsrc/pybind/mgr/nfs/qos_conf.py103CODE
LOWsrc/pybind/mgr/nfs/cluster.py196CODE
LOWsrc/pybind/mgr/nfs/cluster.py322CODE
LOWsrc/pybind/mgr/nfs/module.py37CODE
106 more matches not shown…
Hallucination Indicators8 hits · 105 pts
SeverityFileLineSnippetContext
CRITICAL…hared/components/sparkline/sparkline.component.spec.ts47 const result = component.options.plugins.tooltip.callbacks.label({ parsed: { y: 1024 } });CODE
CRITICAL…hared/components/sparkline/sparkline.component.spec.ts53 const result = component.options.plugins.tooltip.callbacks.label({ parsed: { y: 1024 } });CODE
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py429 self.__class__.outer_self.meta.table.set_selection_type(selection_type)CODE
CRITICAL⚡src/pybind/mgr/dashboard/controllers/_crud.py454 self.__class__.outer_self.meta.actions.clear()CODE
CRITICAL⚡src/pybind/mgr/dashboard/controllers/_crud.py457 self.__class__.outer_self.meta.actions.append(action._asdict())CODE
CRITICAL⚡src/pybind/mgr/dashboard/controllers/_crud.py460 self.__class__.outer_self.meta.forms.clear()CODE
CRITICAL⚡src/pybind/mgr/dashboard/controllers/_crud.py468 self.__class__.outer_self.meta.forms.append(form_as_dict)CODE
CRITICAL⚡src/pybind/mgr/dashboard/controllers/_crud.py471 self.__class__.outer_self.meta.permissions.clear()CODE
Docstring Block Structure18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHsrc/python-common/ceph/deployment/tls_utils.py51Canonical parser for any TLS PEM bundle: a plain certificate, a certificate chain, a combined cert+key blob, or a fuSTRING
HIGHsrc/cephadm/cephadmlib/cluster_ops.py294 Run a ceph command using CephContainer directly. Args: ctx: CephadmContext cmd: Command to runSTRING
HIGHsrc/script/config-diff/config_diff.py173 Load YAML configuration files from the given path. Args: path (Path): The directory path where the repSTRING
HIGHsrc/ceph-volume/ceph_volume/util/encryption.py569Retrieve the LUKS2 JSON configuration area from a given device. This function reads the LUKS2 JSON configuratioSTRING
HIGHsrc/ceph-volume/ceph_volume/devices/lvm/zap.py126From an ``osd_id`` and/or an ``osd_fsid``, filter out all the Logical Volumes (LVs) in the system that match thoSTRING
HIGHsrc/pybind/mgr/cephadm/tlsobject_store.py166 Remove a TLS object from the in-memory registry and persist the change. Behavior by scope: -STRING
HIGHsrc/pybind/mgr/cephadm/cert_mgr.py384Ingest user-provided PEM data and store certificate/key objects. This helper accepts either cert-only PEM data STRING
HIGHsrc/pybind/mgr/cephadm/module.py3521Zap a device on a managed host. Use ceph-volume zap to return a device to an unused/free state Args: STRING
HIGHsrc/pybind/mgr/cephadm/ceph_volume.py328Determines if a device is shared between multiple OSDs. This method checks if a given device is shared by multiSTRING
HIGHsrc/pybind/mgr/diskprediction_local/predictor.py273 Initialize all models. Args: None Returns: Error message. If all goes well, returSTRING
HIGHsrc/pybind/mgr/diskprediction_local/predictor.py331 Get 5 days differential attributes. Args: disk_days: Refer to function predict(...). STRING
HIGHsrc/pybind/mgr/diskprediction_local/predictor.py362 Find the best model from model list according to given attribute list. Args: attr_list: AlSTRING
HIGHsrc/pybind/mgr/diskprediction_local/predictor.py405 Return ordered attributes of given disk days. Args: disk_days: Unordered disk days. STRING
HIGHsrc/pybind/mgr/diskprediction_local/predictor.py434 Predict using given 6-days disk S.M.A.R.T. attributes. Args: disk_days: A list struct compSTRING
HIGHsrc/pybind/mgr/smb/rgw.py21 Fetch RGW bucket statistics. Args: executor: Any object with tool_exec() method bucket: The RGWSTRING
HIGHsrc/pybind/mgr/smb/rgw.py45 Fetch RGW user bucket owner. Args: executor: Any object with tool_exec() method bucket: The RGWSTRING
HIGHsrc/pybind/mgr/smb/rgw.py70 Fetch RGW user credentials. Args: executor: Any object with tool_exec() method user_id: The RGWSTRING
HIGHsrc/pybind/mgr/smb/rgw.py116 Fetch RGW user credentials for a bucket. Args: executor: Any object with tool_exec() method buSTRING
AI Slop Vocabulary38 hits · 77 pts
SeverityFileLineSnippetContext
MEDIUMqa/workunits/erasure-code/jquery.js9463// AMD modules. A named AMD is safest and most robust way to register.COMMENT
MEDIUMqa/workunits/rbd/rbd_mirror_helpers.sh111# These vars facilitate running this script in an environment withCOMMENT
LOWqa/tasks/vstart_runner.py1253 # Don't just call addFailure because that requires a tracebackSTRING
MEDIUMqa/tasks/devstack.py281 # were trying to access Keystone on port 5000. A more robust way to handleCOMMENT
LOWqa/tasks/cephfs_test_runner.py201 # Don't just call addFailure because that requires a tracebackCOMMENT
LOWqa/tasks/radosgw_admin_rest.py266 # just use the first client...COMMENT
LOWqa/suites/fs/workload/tasks/6-workunit/postgres.yaml7# Instead, we'll just set the context for the mount and be done with it. I'veCOMMENT
MEDIUMsrc/crimson/os/seastore/journal/record_submitter.h180 // Essentially, equivalent to the combined logic of:COMMENT
MEDIUM…crimson/os/seastore/onode_manager/staged-fltree/node.h625 // XXX: leverage intrusive data structure to control memory overheadCOMMENT
MEDIUM…crimson/os/seastore/onode_manager/staged-fltree/node.h757 // XXX: leverage intrusive data structure to control memory overheadCOMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py8782# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py9779# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py9824# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10049# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10294# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/python-common/ceph/deployment/drive_group.py253 #: To fully utilize nvme devices multiple osds are required.COMMENT
MEDIUMsrc/cls/cmpomap/client.h43/// is used. To accomplish this, one may utilize the transactional operationCOMMENT
LOWsrc/cephadm/cephadmlib/data_utils.py219 # Generally, we should be able to just pass the spec to the mgr module whereCOMMENT
MEDIUMsrc/cephadm/cephadmlib/file_utils.py29 """Write a new file in a robust manner, optionally specifying the owner,STRING
MEDIUMsrc/cephadm/cephadmlib/runscripts.py49 """Write the scripts that systemd services will call in order toSTRING
MEDIUMsrc/common/async/redirect_error.h105 // Essentially a call-once function, invoked as an rvalue.COMMENT
LOWsrc/ceph-volume/ceph_volume/process.py36 # these are just set when logging subprocess, not globally.COMMENT
LOWsrc/ceph-volume/ceph_volume/process.py86 # if the flag just doesn't exist then it doesn't matter just returnCOMMENT
LOWsrc/ceph-volume/ceph_volume/devices/simple/activate.py71 # encrypted, just return what was foundCOMMENT
LOWsrc/pybind/ceph_argparse.py1128 # if first CephPrefix or any other type, just set itCOMMENT
LOWsrc/pybind/mgr/cephadm/agent.py920 # just set the timestamp to now. However, if host was offline before, weCOMMENT
LOWsrc/pybind/mgr/cephadm/migrations.py72 # we have here is to just set it back to 0COMMENT
LOWsrc/pybind/mgr/cephadm/tests/test_cephadm.py2781 # not be called and it should just return immediately with nothingCOMMENT
MEDIUMsrc/pybind/mgr/cephadm/services/cephadmservice.py1304 # for the first bucket=loc pair in the list in order to facilitateCOMMENT
MEDIUMsrc/pybind/mgr/cephadm/services/nvmeof.py227 # Indicate to the daemon whether to utilize huge pagesCOMMENT
MEDIUMsrc/pybind/mgr/dashboard/frontend/package-lock.json21955 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
LOWsrc/pybind/mgr/dashboard/controllers/nvmeof.py111 # just return none instead of raising an exceptionCOMMENT
LOWsrc/pybind/mgr/dashboard/services/nvmeof_conf.py130 # just return None if any orchestrator error is raisedCOMMENT
MEDIUMsrc/pybind/mgr/smb/mon_store.py82 """A store that serves as a layer on top of a mgr module's key/value store.STRING
LOWsrc/pybind/mgr/prometheus/module.py68 # For other errors (e.g., invalid address), just return and let CherryPy handle itCOMMENT
LOWsrc/pybind/mgr/volumes/module.py653 # keep clients alive longer, or just pass a "don't recover"COMMENT
MEDIUMsrc/pybind/mgr/orchestrator/_interface.py497 """Perform all required operations in order to replace a device.STRING
MEDIUMsrc/pybind/mgr/orchestrator/module.py861 """Perform all required operations in order to replace a device.STRING
Dead Code51 hits · 74 pts
SeverityFileLineSnippetContext
MEDIUMqa/tasks/ceph_manager.py2009CODE
MEDIUMqa/tasks/ceph_manager.py2036CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py160CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py161CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py162CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py163CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py165CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py167CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py168CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py171CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py172CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py173CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py174CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py175CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py176CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py177CODE
MEDIUMsrc/test/rgw/rgw_multi/tests_az.py178CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1457CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1460CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1462CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1463CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1465CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1467CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1469CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1642CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1644CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1645CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1647CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1649CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1651CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1653CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1655CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1657CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1659CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1662CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1664CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1666CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1668CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1670CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1673CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1676CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1678CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1679CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1681CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1683CODE
MEDIUM…/test/rgw/s3-tests/s3tests/functional/test_s3select.py1685CODE
MEDIUMsrc/script/cpatch.py660CODE
MEDIUMsrc/script/cpatch.py668CODE
MEDIUMsrc/script/cpatch.py676CODE
MEDIUMsrc/script/cpatch.py684CODE
MEDIUMsrc/pybind/mgr/dashboard/cli.py58CODE
Fake / Example Data38 hits · 40 pts
SeverityFileLineSnippetContext
LOWqa/workunits/rados/test_large_omap_detection.py36 ioctx.write_full('large-omap-test-object1', b"Lorem ipsum")CODE
LOW⚡qa/workunits/rados/test_large_omap_detection.py49 ioctx.write_full('large-omap-test-object2', b"Lorem ipsum dolor")CODE
LOW⚡qa/workunits/rados/test_large_omap_detection.py52 buffer = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOW⚡qa/workunits/rados/test_large_omap_detection.py52 buffer = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWqa/tasks/mgr/dashboard/test_settings.py54 'RGW_API_ACCESS_KEY': 'dummy-key',CODE
LOWqa/tasks/mgr/dashboard/test_settings.py61 self.assertEqual('dummy-key', access_key)CODE
LOW⚡qa/tasks/cephfs/test_admin.py1383 self.fs.add_compat(63, "placeholder")CODE
LOW⚡qa/tasks/cephfs/test_admin.py1395 self.fs.add_incompat(63, "placeholder")CODE
LOWqa/tasks/cephfs/test_admin.py1340 self.fs.add_compat(63, 'placeholder')CODE
LOWqa/tasks/cephfs/test_admin.py1350 self.fs.add_incompat(63, 'placeholder')CODE
LOWqa/tasks/cephfs/test_admin.py1361 self.fs.add_compat(63, 'placeholder')CODE
LOWqa/tasks/cephfs/test_admin.py1372 self.fs.add_incompat(63, 'placeholder')CODE
LOWqa/tasks/cephfs/test_admin.py1446 fs2.add_incompat(63, 'placeholder')CODE
LOWsrc/vstart.sh1609 ceph_adm test_orchestrator load_data -i $CEPH_ROOT/src/pybind/mgr/test_orchestrator/dummy_data.jsonCODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py16669def _flush_logs(client, src_bucket_name, dummy_key="dummy"):CODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py16676 client.put_object(Bucket=src_bucket_name, Key=dummy_key, Body='dummy')CODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py17089 flushed_obj = _flush_logs(client, src_bucket_name, dummy_key="test/dummy.txt")CODE
LOWsrc/pybind/mgr/test_orchestrator/README.md15$ ceph test_orchestrator load_data -i ./dummy_data.jsonCODE
LOWsrc/pybind/mgr/selftest/module.py334 self.set_module_option_ex("telemetry", "contact", "test@test.com")CODE
LOWsrc/pybind/mgr/selftest/module.py335 assert self.get_module_option_ex("telemetry", "contact") == "test@test.com"CODE
LOW⚡src/pybind/mgr/cephadm/tests/test_ceph_volume.py23 with patch('cephadm.serve.CephadmServe._run_cephadm', _run_cephadm('{"this-is-a-fake-key": "this-is-a-faCODE
LOW⚡src/pybind/mgr/cephadm/tests/test_ceph_volume.py25 assert c == {"this-is-a-fake-key": "this-is-a-fake-value"}CODE
LOW…ster/services/service-form/service-form.component.html2128 let-placeholder="placeholder"CODE
LOW…ster/services/service-form/service-form.component.html2151 [placeholder]="placeholder"CODE
LOW…accounts-form/rgw-user-accounts-form.component.spec.ts88 component.accountForm.get('email').setValue('test@test.com');CODE
LOW…accounts-form/rgw-user-accounts-form.component.spec.ts92 email: 'test@test.com',CODE
LOW…roup-filter/nvmeof-gateway-group-filter.component.html12 [placeholder]="placeholder"CODE
LOW…end/src/app/shared/pipes/search-highlight.pipe.spec.ts30 const value = 'loreum ipsum .? dolor sit amet';CODE
LOW…end/src/app/shared/pipes/search-highlight.pipe.spec.ts32 const expected = 'loreum ipsum <mark>.?</mark> dolor sit amet';CODE
LOW…ponents/text-label-list/text-label-list.component.html11 [placeholder]="placeholder"CODE
LOWsrc/pybind/mgr/dashboard/tests/test_nvmeof_client.py279 "street": "123 Main St",CODE
LOWsrc/pybind/mgr/dashboard/tests/test_nvmeof_client.py286 assert person.address.street == "123 Main St"CODE
LOW⚡src/pybind/mgr/dashboard/tests/test_rgw.py21 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOW⚡src/pybind/mgr/dashboard/tests/test_rgw.py31 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOW⚡src/pybind/mgr/dashboard/tests/test_rgw.py42 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOW⚡src/pybind/mgr/dashboard/tests/test_rgw.py52 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOW⚡src/pybind/mgr/dashboard/tests/test_rgw.py61 'message': 'The system flag is not set for user "fake-user".'})CODE
LOWsrc/pybind/mgr/smb/tests/test_resourcelib.py317 address=['123 Main St', 'Smallville', 'IA', '048394'],CODE
Structural Annotation Overuse17 hits · 30 pts
SeverityFileLineSnippetContext
LOW⚡qa/tasks/cephfs/test_quarantine.py1106 # Step 1: Disable quarantine on the subvolume.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1136 # Step 2: Remove the export pin from dir_rank1.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1146 # Step 3: Reduce to single MDS and wait for cluster stability.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1155 # Step 4: Call parent tearDown which removes the subvolume.COMMENT
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py5208 # NOTE: The above put's causes the connection to go bad, therefore the client can't be usedCOMMENT
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py5236 # NOTE: The above put's causes the connection to go bad, therefore the client can't be usedCOMMENT
LOWsrc/cls/cmpomap/client.h42/// NOTE: This function cannot be used to set different values when Op::EQCOMMENT
LOW⚡src/cephadm/cephadm.py5253 # Step 1: Authorize SSH public key for the userCOMMENT
LOW⚡src/cephadm/cephadm.py5264 # Step 2: Install/upgrade the cephadm package (includes cephadm_invoker.py)COMMENT
LOW⚡src/cephadm/cephadm.py5272 # Step 3: Setup sudoers with restricted permissions for cephadm_invoker.pyCOMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1773 # Step 1: Prepare each host for sudo hardening (executed on all target hosts in parallel)COMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1789 # Step 2: Enable sudo hardening globallyCOMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1800 # Step 3: Set SSH user for cluster operationsCOMMENT
LOW⚡…of-namespaces-form/nvmeof-namespaces-form.component.ts446 // Step 1: Create namespacesCOMMENT
LOW⚡…of-namespaces-form/nvmeof-namespaces-form.component.ts447 // Step 2: If specific hosts selected, chain addNamespaceInitiators callsCOMMENT
LOW⚡…key-modal/nvmeof-edit-host-key-modal.component.spec.ts156 // Step 1: Save (Confirmation)COMMENT
LOW⚡…key-modal/nvmeof-edit-host-key-modal.component.spec.ts163 // Step 2: Save changes (Actual submit)COMMENT
Verbosity Indicators15 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡qa/tasks/cephfs/test_quarantine.py1106 # Step 1: Disable quarantine on the subvolume.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1136 # Step 2: Remove the export pin from dir_rank1.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1146 # Step 3: Reduce to single MDS and wait for cluster stability.COMMENT
LOW⚡qa/tasks/cephfs/test_quarantine.py1155 # Step 4: Call parent tearDown which removes the subvolume.COMMENT
LOW⚡src/cephadm/cephadm.py5253 # Step 1: Authorize SSH public key for the userCOMMENT
LOW⚡src/cephadm/cephadm.py5264 # Step 2: Install/upgrade the cephadm package (includes cephadm_invoker.py)COMMENT
LOW⚡src/cephadm/cephadm.py5272 # Step 3: Setup sudoers with restricted permissions for cephadm_invoker.pyCOMMENT
LOWsrc/rgw/rgw_ratelimit.h140 /* The purpose of this function is to minimum time before overriding the stored timestampCOMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1773 # Step 1: Prepare each host for sudo hardening (executed on all target hosts in parallel)COMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1789 # Step 2: Enable sudo hardening globallyCOMMENT
LOW⚡src/pybind/mgr/cephadm/module.py1800 # Step 3: Set SSH user for cluster operationsCOMMENT
LOW⚡…of-namespaces-form/nvmeof-namespaces-form.component.ts446 // Step 1: Create namespacesCOMMENT
LOW⚡…of-namespaces-form/nvmeof-namespaces-form.component.ts447 // Step 2: If specific hosts selected, chain addNamespaceInitiators callsCOMMENT
LOW⚡…key-modal/nvmeof-edit-host-key-modal.component.spec.ts156 // Step 1: Save (Confirmation)COMMENT
LOW⚡…key-modal/nvmeof-edit-host-key-modal.component.spec.ts163 // Step 2: Save changes (Actual submit)COMMENT
Slop Phrases11 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMqa/workunits/rbd/cli_generic.sh1347 # Check that you can add a trash purge schedule after a few retriesCOMMENT
MEDIUMqa/workunits/rbd/cli_generic.sh1672 # Check that you can add a mirror snapshot schedule after a few retriesCOMMENT
MEDIUMqa/workunits/rbd/rbd_support_module_recovery.sh54# Check that you can add a mirror snapshot schedule after a few retriesCOMMENT
LOWqa/tasks/s3tests.py654 To run any sts-tests don't forget to set a config variable named 'sts_tests' to 'True' as follows::STRING
LOWqa/tasks/s3tests.py664 To run any cloud-transition tests don't forget to set a config variable named 'cloudtier_tests' to 'True' as followsSTRING
MEDIUMsrc/python-common/ceph/deployment/service_spec.py1055 #: across multiple networks, you can add multiple networks. SeeCOMMENT
LOWsrc/include/Context.h473 ceph_assert(activated); // Don't forget to activate your C_Gather!CODE
LOWsrc/include/cephfs/snap_types.h16 * XXX: DON'T FORGET to update cephfs.pyx if any changes are made to this enum.COMMENT
LOWsrc/rgw/rgw_sal_store.h47 /* important! don't forget to update copy constructor */COMMENT
LOWsrc/rgw/driver/rados/rgw_rados.h215 /* important! don't forget to update copy constructor */COMMENT
LOWsrc/dmclock/src/dmclock_server.h1102 // don't forget to update previous tagCOMMENT
AI Response Leakage3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/perf_histogram.h69/// one value only. In this implementation, values can be traced in multipleCOMMENT
HIGHsrc/script/redmine-upkeep.py1488The "redmine-upkeep.py script":https://github.com/ceph/ceph/blob/main/src/script/redmine-upkeep.py failed to update thisCODE
HIGHsrc/common/perf_histogram.h69/// one value only. In this implementation, values can be traced in multipleCOMMENT
TODO Padding8 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡qa/tasks/cephfs/test_multifs_auth.py66#TODO: add tests for capsecs 'p' and 's'.COMMENT
LOWsrc/crimson/osd/backfill_state.h47 // TODO: implement replica management; I don't want to followCOMMENT
LOWsrc/crimson/os/seastore/onode.h29 // TODO: implement flexible-sized onode value to store inline ss_attrCOMMENT
LOWsrc/crimson/os/seastore/async_cleaner.h1941 // TODO: implement allocation strategy (dirty metadata and multiple devices)COMMENT
LOWsrc/crimson/os/seastore/async_cleaner.h1952 // TODO: implement allocation strategy (dirty metadata and multiple devices)COMMENT
LOWsrc/rgw/rgw_dmclock.h22// TODO: implement read vs writeCOMMENT
LOWsrc/rgw/driver/posix/rgw_sal_posix.h708 virtual int set_buckets_enabled(const DoutPrefixProvider* dpp, std::vector<rgw_bucket>& buckets, bool enabled, optionaCODE
LOW…h-volume/ceph_volume/tests/devices/lvm/test_listing.py6# TODO: add tests for following commands -COMMENT
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsrc/pybind/mgr/nfs/export.py601 # an orchestration module. If the orchestration module supports it the NFSCOMMENT
MEDIUMsrc/pybind/mgr/smb/handler.py779 # share before orchestrating the smb cluster. This is done because weCOMMENT
MEDIUMsrc/pybind/mgr/smb/handler.py784 # For RGW shares, we don't need CephFS volumes but still need orchestration.COMMENT
MEDIUMsrc/pybind/mgr/smb/resources.py939 # embedded orchestration placement specCOMMENT
Example Usage Blocks8 hits · 11 pts
SeverityFileLineSnippetContext
LOWqa/run_xfstests.sh13# Usage:COMMENT
LOWqa/run_xfstests-obsolete.sh13# Usage:COMMENT
LOWqa/workunits/rbd/rbd_mirror.sh5# Usage:COMMENT
LOWmirroring/test-mirrors.sh8# Example usage:COMMENT
LOWsrc/test/neorados/common_tests.h545/// Example usage:COMMENT
LOWsrc/test/rgw/radosgw-admin/test-bucket-exit-codes.sh4# Usage:COMMENT
LOWsrc/test/rgw/radosgw-admin/test-script-exit-codes.sh4# Usage:COMMENT
LOWsrc/test/rgw/radosgw-admin/test-globals.sh5# Usage:COMMENT
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOWqa/workunits/erasure-code/jquery.flot.js1083 function processData() {CODE
LOWsrc/ceph-node-proxy/ceph_node_proxy/redfish.py250 def process_data(m_id: str, flds: List[str], d: Dict[str, Any]) -> Dict[str, Any]:CODE
LOWsrc/pybind/mgr/rbd_support/task.py392 def execute_task(self, sequence: int) -> None:CODE
LOWsrc/pybind/mgr/dashboard/services/rgw_client.py2889 def process_data(self, data):CODE
LOWsrc/pybind/mgr/smb/resourcelib.py58>>> def do_something():STRING