Repository Analysis

ceph/ceph

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

6.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ceph/ceph, a C++ project with 16,824 GitHub stars. SynthScan v2.0 examined 1,573,300 lines of code across 8810 source files, recording 9592 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 6.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.8
Adjusted Score
6.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
16.8K
Stars
C++
Language
1.6M
Lines of Code
8.8K
Files
9.6K
Pattern Hits
2026-07-14
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 8HIGH 233MEDIUM 614LOW 8737

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 9592 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers4989 hits · 4120 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
LOWqa/workunits/rgw/test_rgw_admin_pagination.py246 def test_original_bucket_list_without_stats(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py249 def test_original_bucket_list_with_stats(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py252 def _test_bucket_list_max_entries(self, stats: bool = False) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py279 def test_bucket_list_max_entries_without_stats(self) -> None:CODE
LOWqa/workunits/rgw/test_rgw_admin_pagination.py282 def test_bucket_list_max_entries_with_stats(self) -> None:CODE
LOWqa/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.py81 def test_config_dump_cmp_hash(self, 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/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.py414def configure_storage_classes(ctx, clients, storage_classes):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
LOWqa/tasks/dnsmasq.py52def configure_network_manager(remote):STRING
LOWqa/tasks/dnsmasq.py72def configure_systemd_resolved(remote, cnames):STRING
LOWqa/tasks/smb.py19def _disable_systemd_resolved(ctx, remote):CODE
LOWqa/tasks/smb.py159def configure_samba_client_container(ctx, config):CODE
LOWqa/tasks/s3tests_java.py150 def install_required_packages(self, client):CODE
LOWqa/tasks/devstack.py91def configure_devstack_and_ceph(ctx, config, devstack_node, ceph_node):CODE
LOWqa/tasks/devstack.py194def update_devstack_config_files(devstack_node, secret_uuid):CODE
4929 more matches not shown…
Over-Commented Block1249 hits · 1238 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.sh2101 grep '"quota_max_bytes":.*10'COMMENT
LOWqa/workunits/cephtool/test.sh2661 # but using 'osd_bench_max_bs' must succeedCOMMENT
LOWqa/workunits/cephtool/test.sh2941{COMMENT
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/rename/plan.txt1#!/bin/shCOMMENT
LOWqa/workunits/rename/plan.txt21# pri auth pri rep -COMMENT
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
LOWqa/tasks/vstart_runner.py481 # of files which becomes problematic for following executions ofCOMMENT
LOWqa/tasks/mds_thrash.py121 self.do_thrash()COMMENT
LOWqa/tasks/mds_thrash.py341# sleep(delay)COMMENT
1189 more matches not shown…
Decorative Section Separators289 hits · 807 pts
SeverityFileLineSnippetContext
MEDIUMqa/tasks/cephfs/test_client_recovery.py101 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py112 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py124 # =====================================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py137 # =================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py181 # =========================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py222 # =====================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py281 # ===================================COMMENT
MEDIUMqa/tasks/cephfs/test_client_recovery.py328 # ===================================COMMENT
MEDIUMqa/tasks/cephfs/test_cephfs_shell.py1148 # ====================================================================================================COMMENT
MEDIUMqa/tasks/cephfs/test_cephfs_shell.py1166 # ====================================================================================================COMMENT
MEDIUMqa/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
MEDIUMsrc/test/rgw/dedup/test_dedup.py78#-----------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py86#-----------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py92#-----------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py98#------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py100#------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py103#------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py166#--------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py176#-----------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py185#-----------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py195#==============================================COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py196#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py387#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py396#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py404#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py469#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py479#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py573#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py583#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py596#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py605#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py644#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py652#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py661#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1333#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1338#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1347#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1355#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1498#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1504#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1770#==============================================================================COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1772#==============================================================================COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py1773#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2008#==============================================================================COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2010#==============================================================================COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2016#------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2021#------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2267#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2278#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2306#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2316#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2361#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2366#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py2371#-------------------------------------------------------------------------------COMMENT
MEDIUMsrc/test/rgw/dedup/test_dedup.py3347#-------------------------------------------------------------------------------COMMENT
229 more matches not shown…
Excessive Try-Catch Wrapping666 hits · 712 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_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/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/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/dump_stuck.py151 except Exception:CODE
LOWqa/tasks/cephfs_mirror_thrash.py80 except Exception as e:CODE
LOWqa/tasks/cephfs_mirror_thrash.py124 except Exception as e:CODE
MEDIUMqa/tasks/cephfs_mirror_thrash.py77def _run(self):CODE
LOWqa/tasks/mon_thrash.py282 except Exception as e:CODE
LOWqa/tasks/mon_thrash.py337 except Exception as e:CODE
LOWqa/tasks/mon_thrash.py382 except Exception as e:CODE
LOWqa/tasks/mon_thrash.py414 except Exception as e:CODE
LOWqa/tasks/mon_thrash.py425 except Exception as e:CODE
LOWqa/tasks/rados.py345 except Exception as e:CODE
MEDIUMqa/tasks/cephadm.py387def _ceph_log_exists():CODE
606 more matches not shown…
Cross-Language Confusion108 hits · 706 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/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.py1005 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_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
HIGHqa/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
HIGHqa/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
HIGHqa/tasks/cephfs/mount.py316 sudo nft add table ip filter > /dev/null 2>&1 || trueCODE
HIGHqa/tasks/cephfs/mount.py317 sudo nft add chain ip filter forward {{ type filter hook forward priority 0 \; }} > /dev/null 2>&1 |CODE
HIGHqa/tasks/cephfs/mount.py319 sudo nft add table ip nat > /dev/null 2>&1 || trueCODE
HIGHqa/tasks/cephfs/mount.py321 sudo nft add chain ip nat postrouting {{ type nat hook postrouting priority 100 \; }} > /dev/null 2>CODE
HIGHqa/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
HIGHqa/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
HIGHqa/tasks/cephfs/mount.py464 sudo iptables -D FORWARD -o {gw} -i ceph-brx -j ACCEPT || trueCODE
HIGHqa/tasks/cephfs/mount.py465 sudo iptables -D FORWARD -i {gw} -o ceph-brx -j ACCEPT || trueCODE
HIGHqa/tasks/cephfs/mount.py467 sudo nft delete rule ip filter forward iifname ceph-brx oifname {gw} accept > /dev/null 2>&1 || trueCODE
HIGHqa/tasks/cephfs/mount.py468 sudo nft delete rule ip filter forward iifname {gw} oifname ceph-brx accept > /dev/null 2>&1 || trueCODE
HIGHqa/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/s3-tests/s3tests/functional/test_s3.py15090 # 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.py833 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && has_build_dir || configure ${{CONFIGURE_ARGS}}"CODE
HIGHsrc/script/build-with-container.py833 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && has_build_dir || configure ${{CONFIGURE_ARGS}}"CODE
HIGHsrc/script/build-with-container.py850 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && build vstart",CODE
HIGHsrc/script/build-with-container.py867 f"cd {ctx.cli.homedir} && source ./src/script/run-make.sh && build tests",CODE
HIGHsrc/script/build-with-container.py887 f"cd {ctx.cli.homedir} && source ./run-make-check.sh && build tests && run",CODE
HIGHsrc/script/cpatch.py465 dlines.append(r"RUN for i in tmpbin/*; do find /usr/bin /usr/sbin -name $(basename $i) -exec mv -f $i '{}' \CODE
HIGHsrc/script/cpatch.py470 dlines.append(r"RUN for i in tmplib/*; do find /usr/lib64 -name $(basename $i) -exec mv -f $i '{}' \;; echo CODE
HIGHsrc/script/cpatch.py474 dlines.append("RUN rm -rf /usr/local/lib64 && ln -sf /usr/lib64 /usr/local && ln -sf /usr/share/ceph /usr/loCODE
HIGHsrc/script/ptl-tool.py2248 G.git.push(CI_REMOTE_URL, branch) # for shamanSTRING
48 more matches not shown…
Deep Nesting811 hits · 684 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.py305CODE
LOWqa/tasks/ceph_test_case.py259CODE
LOWqa/tasks/ceph_test_case.py304CODE
LOWqa/tasks/ceph_test_case.py325CODE
LOWqa/tasks/ceph_test_case.py346CODE
LOWqa/tasks/ceph_test_case.py265CODE
LOWqa/tasks/admin_socket.py120CODE
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.py3361CODE
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/cram.py16CODE
LOWqa/tasks/rbd_fio.py22CODE
LOWqa/tasks/rbd_fio.py87CODE
LOWqa/tasks/quiescer.py172CODE
LOWqa/tasks/dnsmasq.py105CODE
LOWqa/tasks/smb.py315CODE
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.py311CODE
LOWqa/tasks/check_counter.py52CODE
LOWqa/tasks/rgw_multisite.py85CODE
LOWqa/tasks/rados.py52CODE
LOWqa/tasks/rados.py276CODE
LOWqa/tasks/cephadm.py139CODE
LOWqa/tasks/cephadm.py368CODE
LOWqa/tasks/cephadm.py542CODE
751 more matches not shown…
Cross-File Repetition106 hits · 530 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/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/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/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/ceph-volume/ceph_volume/util/encryption.py0helper for devices that are encrypted. the operations needed for block, db, wal devices are all the sameSTRING
HIGHsrc/ceph-volume/ceph_volume/objectstore/raw.py0helper for devices that are encrypted. the operations needed for block, db, wal devices are all the sameSTRING
HIGHsrc/ceph-volume/ceph_volume/objectstore/lvm.py0helper for devices that are encrypted. the operations needed for block, db, wal devices are all the sameSTRING
HIGHsrc/pybind/rgw/setup.py0test if development headers and library for rbd is available by compiling a dummy c program.STRING
HIGHsrc/pybind/cephfs/setup.py0test if development headers and library for rbd is available by compiling a dummy c program.STRING
HIGHsrc/pybind/rados/setup.py0test if development headers and library for rbd is available by compiling a dummy c program.STRING
HIGHsrc/pybind/rbd/setup.py0test if development headers and library for rbd is available by compiling a dummy c program.STRING
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
HIGH…pybind/mgr/cephadm/tests/services/test_mgmt_gateway.py0-----begin certificate-----\nmiie7dccatsgawibagiue8b2zz64geu2ns3zfn3/4l+cf6mwdqyjkozihvcnaqel\nbqawfzevmbmga1ueawwmy2vwaSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_smb.py0-----begin certificate-----\nmiie7dccatsgawibagiue8b2zz64geu2ns3zfn3/4l+cf6mwdqyjkozihvcnaqel\nbqawfzevmbmga1ueawwmy2vwaSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_agent.py0-----begin certificate-----\nmiie7dccatsgawibagiue8b2zz64geu2ns3zfn3/4l+cf6mwdqyjkozihvcnaqel\nbqawfzevmbmga1ueawwmy2vwaSTRING
HIGHsrc/pybind/mgr/cephadm/tests/services/test_nvmeof.py0-----begin certificate-----\nmiie7dccatsgawibagiue8b2zz64geu2ns3zfn3/4l+cf6mwdqyjkozihvcnaqel\nbqawfzevmbmga1ueawwmy2vwaSTRING
46 more matches not shown…
Unused Imports538 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.py26CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py36CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py36CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py36CODE
LOWsrc/test/rgw/bucket_notification/test_bn.py36CODE
LOWsrc/test/rgw/lua/test_lua.py15CODE
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
LOWsrc/test/rgw/rgw_multi/tests_es.py5CODE
478 more matches not shown…
Self-Referential Comments153 hits · 396 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/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.py38 data = """# This file is generated by dnsmasq teuthology taskCODE
MEDIUMqa/tasks/dnsmasq.py57 data = """# This file is generated by dnsmasq teuthology taskSTRING
MEDIUMqa/tasks/dnsmasq.py81 data = f"""# This file is generated by dnsmasq teuthology taskSTRING
MEDIUMqa/tasks/cbt.py103 # Create a virtual environment for CBTCOMMENT
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.py714 # 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.py229 # Create a dir on each rankSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py497 # Create an invalid dump file with partial headerSTRING
MEDIUMqa/tasks/cephfs/test_journal_repair.py521 # Create an invalid dump file which doesn't have 'object_size' headerSTRING
MEDIUMqa/tasks/cephfs/test_volumes.py2935 # Create a subvolume without setting an earmarkCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py2947 # Create a subvolumeCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py2974 # Define the expected error messageCOMMENT
MEDIUMqa/tasks/cephfs/test_volumes.py8441 # Create a file with suid, guid bits set along with executable bit.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
MEDIUMqa/standalone/ceph-helpers.sh2343# This function is usually used after a **run_in_background** callCOMMENT
MEDIUMqa/standalone/ceph-helpers.sh2467# Create a temporary file with random data and return its name. The fileCOMMENT
MEDIUMqa/standalone/scrub/osd-scrub-snaps.sh139 # Create a clone which isn't in snapset and doesn't have object infoCOMMENT
MEDIUMqa/standalone/scrub/osd-scrub-snaps.sh187 # Create a pool with a single pgCOMMENT
MEDIUMqa/standalone/scrub/osd-scrub-snaps.sh749 # Create a pool with a single pgCOMMENT
MEDIUMqa/standalone/scrub/osd-scrub-test.sh67 # Create a pool with a single pgCOMMENT
93 more matches not shown…
Modern Structural Boilerplate227 hits · 222 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
LOWmonitoring/ceph-mixin/tests_dashboards/__init__.py84 def set_evaluation_interval(self, interval: int, unit: str = 'm') -> None:CODE
LOWmonitoring/ceph-mixin/tests_dashboards/__init__.py94 def set_interval(self, interval: int, unit: str = 'm') -> None:CODE
LOWmonitoring/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.py15545logger = logging.getLogger(__name__)CODE
LOWsrc/python-common/ceph/deployment/translate.py10logger = logging.getLogger(__name__)CODE
LOWsrc/python-common/ceph/deployment/service_spec.py370 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__.py345def 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.py27 def _update_memory(self) -> None:CODE
LOWsrc/ceph-node-proxy/ceph_node_proxy/atollon.py35 def _update_storage(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py241 def _update_system(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py332 def _update_network(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py335 def _update_processors(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py338 def _update_storage(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py372 def _update_sn(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py382 def _update_memory(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py385 def _update_power(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py388 def _update_fans(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py391 def _update_temperatures(self) -> None:CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py394 def _update_firmware(self) -> None:CODE
LOWsrc/cephadm/cephadm.py1948 def update_func(self, func: Callable) -> None:CODE
LOWsrc/cephadm/cephadm.py480def update_default_image(ctx: CephadmContext) -> None:STRING
LOWsrc/cephadm/cephadm.py857def _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
LOWsrc/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
167 more matches not shown…
AI Structural Patterns162 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/vstart_runner.py492CODE
LOWqa/tasks/quiescer.py55CODE
LOWqa/tasks/mgr/mgr_test_case.py209CODE
LOWqa/tasks/mgr/dashboard/test_user.py35CODE
LOWqa/tasks/cephfs/test_misc.py622CODE
LOWqa/tasks/cephfs/test_volumes.py84CODE
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.py988CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1392CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1644CODE
LOWsrc/python-common/ceph/deployment/service_spec.py1848CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2357CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2436CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2600CODE
LOWsrc/python-common/ceph/deployment/service_spec.py2738CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3012CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3113CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3168CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3228CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3301CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3383CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3511CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3543CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3593CODE
LOWsrc/python-common/ceph/deployment/service_spec.py3703CODE
LOWsrc/python-common/ceph/deployment/service_spec.py4122CODE
LOWsrc/python-common/ceph/deployment/service_spec.py4357CODE
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.py173CODE
LOW…c/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py239CODE
LOWsrc/cephadm/cephadm_invoker.py186CODE
LOWsrc/cephadm/box/util.py176CODE
LOWsrc/cephadm/box/util.py183CODE
LOWsrc/cephadm/cephadmlib/container_daemon_form.py127CODE
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.py673CODE
LOWsrc/pybind/mgr/snap_schedule/fs/schedule.py82CODE
LOWsrc/pybind/mgr/nfs/qos_conf.py103CODE
LOWsrc/pybind/mgr/nfs/cluster.py156CODE
LOWsrc/pybind/mgr/nfs/cluster.py279CODE
LOWsrc/pybind/mgr/nfs/module.py37CODE
LOWsrc/pybind/mgr/nfs/module.py74CODE
LOWsrc/pybind/mgr/nfs/module.py158CODE
102 more matches not shown…
Redundant / Tautological Comments86 hits · 127 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.py526 # 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.py223 # Set max_mds to 2STRING
LOWqa/tasks/cephfs/test_nfs.py655 # Check if rados export object is deletedCOMMENT
LOWqa/tasks/cephfs/test_nfs.py691 # Check if exports gets listedCOMMENT
LOWqa/tasks/cephfs/test_nfs.py694 # Check if rados ganesha conf object is deletedCOMMENT
LOWqa/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…uites/orch/cephadm/smb/tasks/deploy_smb_mgr_basic.yaml48# 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
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.py9879 # Check if objects copied to target pathCOMMENT
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10127 # Check if objects copied to target pathCOMMENT
LOWsrc/python-common/ceph/deployment/service_spec.py2881 # 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.py1937 # Check if the Label exist in the repoSTRING
LOWsrc/script/redmine-upkeep.py366 # Check if rate limit has been hit globallyCOMMENT
LOWsrc/script/redmine-upkeep.py794 # Check if it's a backport trackerCOMMENT
LOWsrc/script/config-diff/config_diff.py21# Check if the folder exists in the specified branchesCOMMENT
LOW…-volume/ceph_volume/tests/functional/tests/conftest.py31 # Check if any markers on the test method exist in the nodes group_names.COMMENT
LOWsrc/ceph-volume/ceph_volume/devices/raw/list.py117 # Check if any LV has ceph.osd_id tag (making it a Ceph device)COMMENT
26 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
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py454 self.__class__.outer_self.meta.actions.clear()CODE
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py457 self.__class__.outer_self.meta.actions.append(action._asdict())CODE
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py460 self.__class__.outer_self.meta.forms.clear()CODE
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py468 self.__class__.outer_self.meta.forms.append(form_as_dict)CODE
CRITICALsrc/pybind/mgr/dashboard/controllers/_crud.py471 self.__class__.outer_self.meta.permissions.clear()CODE
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
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/module.py3322Zap 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 Vocabulary37 hits · 75 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.py190 # 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.h605 // XXX: leverage intrusive data structure to control memory overheadCOMMENT
MEDIUM…crimson/os/seastore/onode_manager/staged-fltree/node.h737 // XXX: leverage intrusive data structure to control memory overheadCOMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py8572# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py9569# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py9614# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py9839# The test harness for lifecycle is configured to treat days as 10 second intervals.COMMENT
MEDIUMsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py10084# 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.py193 # 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.py911 # 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.py2527 # not be called and it should just return immediately with nothingCOMMENT
MEDIUMsrc/pybind/mgr/cephadm/services/cephadmservice.py1171 # for the first bucket=loc pair in the list in order to facilitateCOMMENT
MEDIUMsrc/pybind/mgr/cephadm/services/nvmeof.py166 # Indicate to the daemon whether to utilize huge pagesCOMMENT
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.py66 # For other errors (e.g., invalid address), just return and let CherryPy handle itCOMMENT
LOWsrc/pybind/mgr/volumes/module.py637 # 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.py852 """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 Data36 hits · 38 pts
SeverityFileLineSnippetContext
LOWqa/workunits/rados/test_large_omap_detection.py36 ioctx.write_full('large-omap-test-object1', b"Lorem ipsum")CODE
LOWqa/workunits/rados/test_large_omap_detection.py49 ioctx.write_full('large-omap-test-object2', b"Lorem ipsum dolor")CODE
LOWqa/workunits/rados/test_large_omap_detection.py52 buffer = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWqa/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
LOWqa/tasks/cephfs/test_admin.py1383 self.fs.add_compat(63, "placeholder")CODE
LOWqa/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.sh1591 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.py15757def _flush_logs(client, src_bucket_name, dummy_key="dummy"):CODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py15764 client.put_object(Bucket=src_bucket_name, Key=dummy_key, Body='dummy')CODE
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py16177 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
LOWsrc/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
LOWsrc/pybind/mgr/cephadm/tests/test_ceph_volume.py25 assert c == {"this-is-a-fake-key": "this-is-a-fake-value"}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.html11 [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
LOWsrc/pybind/mgr/dashboard/tests/test_rgw.py20 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOWsrc/pybind/mgr/dashboard/tests/test_rgw.py30 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOWsrc/pybind/mgr/dashboard/tests/test_rgw.py41 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOWsrc/pybind/mgr/dashboard/tests/test_rgw.py51 @patch.object(RgwClient, '_get_user_id', Mock(return_value='fake-user'))CODE
LOWsrc/pybind/mgr/dashboard/tests/test_rgw.py60 '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 Overuse13 hits · 26 pts
SeverityFileLineSnippetContext
LOWsrc/test/rgw/s3-tests/s3tests/functional/test_s3.py5139 # 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.py5167 # 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
LOWsrc/cephadm/cephadm.py4954 # Step 1: Authorize SSH public key for the userCOMMENT
LOWsrc/cephadm/cephadm.py4965 # Step 2: Install/upgrade the cephadm package (includes cephadm_invoker.py)COMMENT
LOWsrc/cephadm/cephadm.py4973 # Step 3: Setup sudoers with restricted permissions for cephadm_invoker.pyCOMMENT
LOWsrc/pybind/mgr/cephadm/module.py1704 # Step 1: Prepare each host for sudo hardening (executed on all target hosts in parallel)COMMENT
LOWsrc/pybind/mgr/cephadm/module.py1720 # Step 2: Enable sudo hardening globallyCOMMENT
LOWsrc/pybind/mgr/cephadm/module.py1731 # Step 3: Set SSH user for cluster operationsCOMMENT
LOW…of-namespaces-form/nvmeof-namespaces-form.component.ts400 // Step 1: Create namespacesCOMMENT
LOW…of-namespaces-form/nvmeof-namespaces-form.component.ts401 // 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 Indicators11 hits · 24 pts
SeverityFileLineSnippetContext
LOWsrc/cephadm/cephadm.py4954 # Step 1: Authorize SSH public key for the userCOMMENT
LOWsrc/cephadm/cephadm.py4965 # Step 2: Install/upgrade the cephadm package (includes cephadm_invoker.py)COMMENT
LOWsrc/cephadm/cephadm.py4973 # 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
LOWsrc/pybind/mgr/cephadm/module.py1704 # Step 1: Prepare each host for sudo hardening (executed on all target hosts in parallel)COMMENT
LOWsrc/pybind/mgr/cephadm/module.py1720 # Step 2: Enable sudo hardening globallyCOMMENT
LOWsrc/pybind/mgr/cephadm/module.py1731 # Step 3: Set SSH user for cluster operationsCOMMENT
LOW…of-namespaces-form/nvmeof-namespaces-form.component.ts400 // Step 1: Create namespacesCOMMENT
LOW…of-namespaces-form/nvmeof-namespaces-form.component.ts401 // 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.py597 To run any sts-tests don't forget to set a config variable named 'sts_tests' to 'True' as follows::STRING
LOWqa/tasks/s3tests.py607 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.py1048 #: 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.h212 /* 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.py1182The "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 Padding9 hits · 14 pts
SeverityFileLineSnippetContext
LOWqa/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.h27 // TODO: implement flexible-sized onode value to store inline ss_attrCOMMENT
LOWsrc/crimson/os/seastore/async_cleaner.h1844 // TODO: implement allocation strategy (dirty metadata and multiple devices)COMMENT
LOWsrc/crimson/os/seastore/async_cleaner.h1854 // 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
LOWsrc/rgw/driver/motr/rgw_sal_motr.h753// TODO: implement it using Motr object locks.COMMENT
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.py541 # an orchestration module. If the orchestration module supports it the NFSCOMMENT
MEDIUMsrc/pybind/mgr/smb/handler.py768 # share before orchestrating the smb cluster. This is done because weCOMMENT
MEDIUMsrc/pybind/mgr/smb/handler.py773 # 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 Blocks4 hits · 6 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
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.py2864 def process_data(self, data):CODE
LOWsrc/pybind/mgr/smb/resourcelib.py58>>> def do_something():STRING