Slurm: A Highly Scalable Workload Manager
This report summarizes scanner evidence for SchedMD/slurm, a C project with 4,488 GitHub stars. SynthScan examined 1,203,079 lines of code across 2487 source files, recording 3563 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 3078 finding(s).
Are imports declared and package/API names verified? 193 finding(s).
Are wrappers, guards, and repeated structures necessary? 2282 finding(s).
Which changes need focused human review? 3563 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3563 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/conftest.py | 25 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | testsuite/python/conftest.py | 146 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | testsuite/python/conftest.py | 315 | def update_tmp_path_exec_permissions(path): | CODE |
| LOW | testsuite/python/conftest.py | 690 | def pytest_keyboard_interrupt(excinfo): | CODE |
| LOW | testsuite/python/tests/test_117_5.py | 81 | def test_sstat_nonexistent_step(multistep_job): | CODE |
| LOW | testsuite/python/tests/test_172_9.py | 141 | def test_queue_and_release_routed_to_their_topics(): | CODE |
| LOW | testsuite/python/tests/test_172_9.py | 161 | def test_start_routed_to_its_topic(): | CODE |
| LOW | testsuite/python/tests/test_139_3.py | 64 | def test_dynamic_future_node_addr(slurmd_c): | CODE |
| LOW | testsuite/python/tests/test_100_10.py | 37 | def test_step_dependency_rejected_in_old_allocation(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 105 | def test_drain_receives_no_per_step_pushes(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 142 | def test_quiet_follow_suppresses_drain_line(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 173 | def test_follow_yaml_emits_separate_documents(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 211 | def test_follow_streams_multiple_steps(resolution): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 269 | def test_follow_in_batch_script_no_deadlock(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 298 | def test_follow_with_step_id_usage_error(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 315 | def test_follow_reports_never_launched(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 355 | def test_follow_reports_het_step_components(): | CODE |
| LOW | testsuite/python/tests/test_162_7.py | 400 | def test_follow_timeout_exits_two(): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 20 | def test_single_node_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 37 | def test_single_node_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 58 | def test_multiple_nodes_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 82 | def test_multiple_nodes_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 102 | def test_overwrite_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 126 | def test_overwrite_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 154 | def test_overwrite_multiple_nodes_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 184 | def test_overwrite_multiple_nodes_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 262 | def test_reset_multiple_nodes_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 292 | def test_reset_multiple_nodes_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 318 | def test_broadcast_instance_id(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 338 | def test_broadcast_instance_type(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 362 | def test_mismatched_instance_id_count(nodes): | CODE |
| LOW | testsuite/python/tests/test_108_8.py | 381 | def test_mismatched_instance_type_count(nodes): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 80 | def test_clear_with_other_gres(field, sbatch_args, kept_field): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 96 | def test_gres_sets_tres_per_node(): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 112 | def test_gres_clear_with_other_gres(): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 131 | def test_reject_invalid_with_other_gres(field, sbatch_args, kept_field): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 162 | def test_reject_invalid_without_gres(update): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 189 | def test_reject_invalid_with_gres_update(update): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 205 | def test_reject_invalid_at_submit(): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 262 | def test_update_partially_set(submit): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 282 | def test_update_second_differs(submit): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 360 | def test_array_update_running_task(field, value): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 409 | def test_license_tres_per_task(value): | CODE |
| LOW | testsuite/python/tests/test_140_5.py | 428 | def test_license_tres_per_task_without_ntasks(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 151 | def test_remove_gpu_then_lower_configured_count(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 184 | def test_absent_gpu_is_drained_at_its_index_until_it_returns(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 206 | def test_removing_the_first_gpu_renumbers_the_ones_slurmd_reports(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 222 | def test_swap_puts_the_new_gpu_in_the_departed_slot(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 240 | def test_adding_a_gpu_binds_it_to_the_new_slot(): | CODE |
| LOW | testsuite/python/tests/test_190_17.py | 260 | def test_excess_detected_gpus_stay_ignored_on_reregistration(): | CODE |
| LOW⚡ | testsuite/python/tests/test_190_17.py | 283 | def test_uuidless_drop_keeps_the_drain_on_its_index(): | CODE |
| LOW | testsuite/python/tests/test_108_16.py | 85 | def test_invalid_array_expression(array_job_id, expr): | CODE |
| LOW | testsuite/python/tests/test_108_16.py | 108 | def test_invalid_array_expression_message(array_job_id, expr, message, operation): | CODE |
| LOW | testsuite/python/tests/test_108_16.py | 123 | def test_valid_array_expression(array_job_id, operation): | CODE |
| LOW | testsuite/python/tests/test_108_16.py | 137 | def test_valid_array_expression_applies(array_job_id): | CODE |
| LOW | testsuite/python/tests/test_123_7.py | 76 | def _down_one_node_and_wait_for_replacement( | CODE |
| LOW | testsuite/python/tests/test_123_7.py | 208 | def test_reservation_replacement_overlap_behavior( | CODE |
| LOW | testsuite/python/tests/test_150_17.py | 94 | def test_sbatch_segment_zero_opts_out(part_with_default): | CODE |
| LOW | testsuite/python/tests/test_150_17.py | 105 | def test_interactive_segment_zero_opts_out(part_with_default, command): | CODE |
| LOW | testsuite/python/tests/test_150_17.py | 115 | def test_default_always_applied(part_with_default): | CODE |
| 1926 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | slurm/pmi.h | 81 | D*/ | COMMENT |
| LOW | slurm/slurm.h | 41 | \*****************************************************************************/ | COMMENT |
| LOW | slurm/slurm.h | 101 | * DEFINITIONS FOR INPUT VALUES | COMMENT |
| LOW | slurm/slurm.h | 341 | * waiting for reboot */ | COMMENT |
| LOW | slurm/slurm.h | 1061 | * or FAILING node to service (e.g. | COMMENT |
| LOW | slurm/slurm.h | 1081 | #define NODE_STATE_INVALID_REG SLURM_BIT(22) /* invalid registration, don't | COMMENT |
| LOW | slurm/slurm.h | 1181 | #define MEM_PER_CPU 0x8000000000000000 | COMMENT |
| LOW | slurm/slurm.h | 1261 | #define KILL_INV_DEP SLURM_BIT(0) /* Kill job on invalid dependency */ | COMMENT |
| LOW | slurm/slurm.h | 1281 | #define BF_WHOLE_NODE_TEST SLURM_BIT(16) /* Backfill test in progress */ | COMMENT |
| LOW | slurm/slurm.h | 1301 | #define BACKFILL_SCHED SLURM_BIT(32) /* Job was considered in last | COMMENT |
| LOW | slurm/slurm.h | 2701 | #define PART_FLAG_EXCLUSIVE_USER SLURM_BIT(6)/* Set if nodes allocated exclusively | COMMENT |
| LOW | slurm/slurm.h | 2861 | #define RESERVE_FLAG_MAINT SLURM_BIT(0) /* Set MAINT flag */ | COMMENT |
| LOW | slurm/slurm.h | 2881 | /* SLURM_BIT(16) unused */ | COMMENT |
| LOW | slurm/slurm.h | 3021 | char *name; /* name of reservation just created or | COMMENT |
| LOW | slurm/slurm.h | 3041 | #define DEBUG_FLAG_BACKFILL SLURM_BIT(12) /* debug for | COMMENT |
| LOW | slurm/slurm.h | 3061 | * map */ | COMMENT |
| LOW | slurm/slurm.h | 3081 | #define DEBUG_FLAG_JOBCOMP SLURM_BIT(46) /* JobComp debug */ | COMMENT |
| LOW | slurm/slurm.h | 3101 | #define PREEMPT_MODE_WITHIN 0x4000 /* enable preemption within qos */ | COMMENT |
| LOW | slurm/slurm.h | 3121 | * slurmctld knows the prolog has | COMMENT |
| LOW | slurm/slurm.h | 3141 | #define CONF_FLAG_SJE SLURM_BIT(10) /* AccountingStoreFlags=job_env */ | COMMENT |
| LOW | slurm/slurm.h | 3661 | uint32_t *rpc_queue_count; | COMMENT |
| LOW | slurm/slurm.h | 3681 | #define TRIGGER_TYPE_FINI SLURM_BIT(4) | COMMENT |
| LOW | slurm/slurm.h | 5361 | #define BB_STATE_PENDING 0x0000 /* Placeholder: no action started */ | COMMENT |
| LOW | slurm/slurmdb.h | 221 | #define JOBCOND_FLAG_NO_DEFAULT_USAGE SLURM_BIT(7) /* Use usage_time as the | COMMENT |
| LOW | slurm/slurmdb.h | 281 | #define ASSOC_COND_FLAG_WITH_DELETED SLURM_BIT(0) | COMMENT |
| LOW | testsuite/python/tests/test_157_4.py | 301 | COMMENT | |
| LOW | testsuite/python/tests/test_115_3.py | 161 | # contract is user_stale_usage on the user row and job9_usage on the | COMMENT |
| LOW | testsuite/python/tests/test_141_4.py | 81 | # requesting node1 triggers a power-up; ResumeProgram=/bin/true does not | COMMENT |
| LOW | testsuite/python/tests/test_183_1.py | 21 | COMMENT | |
| LOW | testsuite/python/tests/test_108_23.py | 21 | LOWEST_SLURM_ERROR_CODE = 1000 | COMMENT |
| LOW | testsuite/python/tests/test_141_5.py | 321 | assert_idle_not_unknown("POWERED_DOWN", "reconfigure") | COMMENT |
| LOW | testsuite/python/tests/test_116_62.py | 41 | # pool below (the job would never be admitted) and, if the pool were | COMMENT |
| LOW | testsuite/python/tests/test_101_14.py | 41 | # - The job must use the DEFAULT output file. expand_stdio_fields() joins | COMMENT |
| LOW | testsuite/python/tests/test_128_6.py | 21 | QOS_PROTECTED = "qos_128_6_protected" | COMMENT |
| LOW | testsuite/python/tests/test_128_6.py | 61 | atf.require_config_parameter_includes("SchedulerParameters", ("sched_interval", 1)) | COMMENT |
| LOW | testsuite/python/tests/test_112_7.py | 41 | # quickly instead of hanging the suite. | COMMENT |
| LOW | testsuite/python/tests/test_128_7.py | 21 | # PreemptType including preempt/none. Vary both so neither the SUSPEND mode nor | COMMENT |
| LOW | testsuite/python/tests/test_105_14.py | 21 | """ | COMMENT |
| LOW | testsuite/python/tests/test_111_7.py | 541 | # | COMMENT |
| LOW | testsuite/python/tests/test_116_50.py | 1 | ############################################################################ | COMMENT |
| LOW | testsuite/python/tests/test_127_3.py | 21 | COMMENT | |
| LOW | testsuite/python/tests/test_130_6.py | 41 | # At least three PriorityCalcPeriod ticks while the jobs are still running, so | COMMENT |
| LOW | testsuite/python/tests/test_144_22.py | 61 | # node4's GPUs are typed. A typed request (gpu:a100:2) is matched against | COMMENT |
| LOW | testsuite/python/tests/test_116_65.py | 21 | # What detects the regression these tests cover is the srun exit code, not any | COMMENT |
| LOW | testsuite/python/tests/test_127_2.py | 61 | COMMENT | |
| LOW | testsuite/python/tests/test_127_2.py | 121 | # job onto a distinct, known index on each, so a swapped index shows up | COMMENT |
| LOW | testsuite/python/tests/test_127_2.py | 401 | # that lands on a node holding no GPU leaves the device bitmap empty, | COMMENT |
| LOW | testsuite/python/tests/test_127_2.py | 721 | ) | COMMENT |
| LOW | testsuite/python/tests/test_144_37.py | 21 | # "offset": a non-chunked Type holds devices 0-2 and the chunked Type 3-6, so | COMMENT |
| LOW | testsuite/python/tests/test_162_5.py | 41 | COMMENT | |
| LOW | testsuite/python/tests/test_162_5.py | 461 | ) | COMMENT |
| LOW | testsuite/python/tests/test_144_28.py | 81 | "SlurmdDebug", ["verbose", "debug", "debug2", "debug3", "debug4", "debug5"] | COMMENT |
| LOW | testsuite/python/tests/test_181_1.py | 41 | # SchedulerParameters gained that option in 25.11, so on older versions the | COMMENT |
| LOW | testsuite/python/tests/test_181_1.py | 61 | COMMENT | |
| LOW | testsuite/python/tests/test_141_6.py | 61 | COMMENT | |
| LOW | testsuite/python/tests/test_121_2.py | 1 | ############################################################################ | COMMENT |
| LOW | …e/python/tests/test_150_9_testcases/root_not_list.yaml | 1 | --- | COMMENT |
| LOW | testsuite/python/scripts/spank_plugin.c | 61 | * used on the client process environment. | COMMENT |
| LOW | testsuite/python/check/tests/topology/test_route_tree.c | 1 | /****************************************************************************** | COMMENT |
| LOW | testsuite/python/check/tests/topology/test_topology.c | 1 | /*****************************************************************************\ | COMMENT |
| 873 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | testsuite/python/conftest.py | 1074 | call statement_repeat('select unix_timestamp()', 10, null, null, null); | STRING |
| HIGH⚡ | testsuite/python/tests/test_190_17.py | 290 | _reset((0, "(null)"), (1, "(null)"), (2, "(null)"), count=3) | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_17.py | 298 | atf.set_gpu_set(NODE, atf.fake_gpus_conf((0, "(null)"), (1, "(null)")), 2) | CODE |
| HIGH | testsuite/python/tests/test_123_7.py | 59 | if v.lower() in ("(null)", "none"): | CODE |
| HIGH⚡ | testsuite/python/tests/test_157_4.py | 304 | """Return get_job_parameter result, or None if absent or (null).""" | STRING |
| HIGH | testsuite/python/tests/test_176_1.py | 55 | "(null)", | CODE |
| HIGH | testsuite/python/tests/test_141_11.py | 142 | lines.append(f"{gpu_type}|2|(null)|(null)|{path}|(null)|nvidia_gpu_env") | CODE |
| HIGH | testsuite/python/tests/test_141_11.py | 186 | SCRIPT_DIR="$( cd -- "$( dirname -- "${{BASH_SOURCE[0]:-$0}}"; )" &> /dev/null && pwd 2> /dev/null; )"; | CODE |
| HIGH | testsuite/python/tests/test_141_11.py | 186 | SCRIPT_DIR="$( cd -- "$( dirname -- "${{BASH_SOURCE[0]:-$0}}"; )" &> /dev/null && pwd 2> /dev/null; )"; | CODE |
| HIGH | testsuite/python/tests/test_141_11.py | 498 | err=$(cat "$f" 2>&1 >/dev/null) | CODE |
| HIGH | testsuite/python/tests/test_134_6.py | 64 | return true | CODE |
| HIGH | testsuite/python/tests/test_141_4.py | 72 | # controller advertised SLURM_STEPMGR as the literal string "(null)" for a job | COMMENT |
| HIGH⚡ | testsuite/python/tests/test_190_13.py | 876 | _first_registration((0, "(null)"), (1, "(null)"), (2, "(null)")) | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_13.py | 882 | _register_slurmd((0, "(null)"), (2, "(null)")) | CODE |
| HIGH | testsuite/python/tests/test_108_26.py | 121 | return "" if value == "(null)" else value | CODE |
| HIGH | testsuite/python/tests/test_120_4.py | 50 | grep -qw pids "/sys/fs/cgroup${cg%/*}/cgroup.controllers" && echo yes || echo no | STRING |
| HIGH | testsuite/python/tests/test_134_2.py | 135 | return false | CODE |
| HIGH | testsuite/python/tests/test_190_8.py | 60 | "fake_gpus.conf", atf.fake_gpus_conf((0, "(null)"), (1, "(null)")) | CODE |
| HIGH | testsuite/python/tests/test_190_8.py | 78 | "fake_gpus.conf", atf.fake_gpus_conf((0, "(null)"), (1, "(null)")) | CODE |
| HIGH | testsuite/python/tests/test_139_6.py | 82 | f"> $t; [ $? -le 1 ]; }} && cat $t > /etc/hosts && rm -f $t", | CODE |
| HIGH | testsuite/python/tests/test_162_2.py | 245 | [ -e {done1} ] && step1=done || step1=running | CODE |
| HIGH | testsuite/python/tests/test_162_2.py | 323 | [ -e {done} ] && step0=done || step0=running | CODE |
| HIGH⚡ | testsuite/python/tests/test_159_3.py | 80 | "--wrap 'command -v ipcmk >/dev/null && command -v ipcs >/dev/null " | CODE |
| HIGH⚡ | testsuite/python/tests/test_159_3.py | 85 | 'echo MQUEUE_DEV=$(stat -Lc "%d" /dev/mqueue 2>/dev/null); ' | CODE |
| HIGH⚡ | testsuite/python/tests/test_159_3.py | 86 | "echo QUEUES; ipcs -q 2>/dev/null; echo READY; sleep infinity'", | CODE |
| HIGH | testsuite/python/tests/test_176_4.py | 155 | "(null)", | CODE |
| HIGH | testsuite/python/tests/test_134_3.py | 95 | return true | CODE |
| HIGH | testsuite/python/tests/test_190_9.py | 109 | (0, uuids[0] or "(null)"), | CODE |
| HIGH | testsuite/python/tests/test_190_9.py | 110 | (1, uuids[1] or "(null)"), | CODE |
| HIGH | testsuite/python/tests/test_190_9.py | 142 | if match and match.group(1) != "(null)": | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_16.py | 28 | (0, "(null)", "GPU-aaaaaaaa-0000-0000-0000-000000000000"), | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_16.py | 29 | (1, "(null)", "GPU-bbbbbbbb-1111-1111-1111-111111111111"), | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_16.py | 30 | (2, "(null)", "GPU-cccccccc-2222-2222-2222-222222222222"), | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_16.py | 31 | (3, "(null)", "GPU-dddddddd-3333-3333-3333-333333333333"), | CODE |
| HIGH | testsuite/python/tests/test_134_7.py | 59 | return true | CODE |
| HIGH | testsuite/python/tests/test_116_62.py | 145 | grep -q 'StepId=.* queued' '{pend_err}' 2>/dev/null && break | CODE |
| HIGH | testsuite/python/tests/test_116_52.py | 74 | '--exclusive --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status && env | | CODE |
| HIGH | testsuite/python/tests/test_116_52.py | 97 | '--exclusive --exact --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status | CODE |
| HIGH | testsuite/python/tests/test_116_52.py | 124 | '--exact --exclusive --gpus-per-task=1 -n 2 -N 1 --label /bin/bash -c "grep Cpus_allowed_list /proc/self/status | CODE |
| HIGH | testsuite/python/tests/test_162_14.py | 515 | until grep -q A_FAILED "$SLURM_JOB_NAME.0.out" 2>/dev/null; do sleep 0.2; done | CODE |
| HIGH | testsuite/python/tests/test_162_14.py | 1082 | END {{ exit !(target_line && dependent_line && target_line < dependent_line) }} | CODE |
| HIGH | testsuite/python/tests/test_162_14.py | 1124 | until grep -q A_DONE "$SLURM_JOB_NAME.0.out" 2>/dev/null; do sleep 0.2; done | CODE |
| HIGH | testsuite/python/tests/test_150_5.py | 519 | IS_NODE_CLOUD && (was_powering_up || was_powered_down) and never | STRING |
| HIGH⚡ | testsuite/python/tests/test_144_41.py | 30 | A100 = (0, "a100", "(null)") | CODE |
| HIGH⚡ | testsuite/python/tests/test_144_41.py | 31 | V100 = (1, "v100", "(null)") | CODE |
| HIGH⚡ | testsuite/python/tests/test_144_41.py | 32 | H100 = (2, "h100", "(null)") | CODE |
| HIGH | testsuite/python/tests/test_144_10.py | 31 | f"(null)|2|0-1|(null)|/dev/tty0|{gpu_uuid0}|nvidia_gpu_env,amd_gpu_env\n" | CODE |
| HIGH | testsuite/python/tests/test_144_10.py | 32 | f"(null)|2|0-1|(null)|/dev/tty1|{gpu_uuid1}|nvidia_gpu_env,amd_gpu_env\n", | CODE |
| HIGH | testsuite/python/tests/test_134_8.py | 91 | return false | CODE |
| HIGH | testsuite/python/tests/test_134_8.py | 100 | return true | CODE |
| HIGH | testsuite/python/tests/test_190_2.py | 91 | "fake_gpus.conf", atf.fake_gpus_conf(*((i, "(null)") for i in range(count))) | CODE |
| HIGH | testsuite/python/tests/test_123_8.py | 58 | if v.lower() in ("(null)", "none"): | CODE |
| HIGH | testsuite/python/tests/test_123_8.py | 84 | if v.lower() in ("(null)", "none"): | CODE |
| HIGH | testsuite/python/tests/test_190_18.py | 126 | _register((0, "(null)"), (1, "(null)"), count=2) | CODE |
| HIGH | testsuite/python/tests/test_190_18.py | 137 | _reregister((0, "(null)"), (1, "(null)")) | CODE |
| HIGH | testsuite/python/tests/test_134_9.py | 59 | return true | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_7.py | 110 | (0, uuids[0] or "(null)"), | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_7.py | 111 | (1, uuids[1] or "(null)"), | CODE |
| HIGH⚡ | testsuite/python/tests/test_190_7.py | 183 | atf.require_config_file("fake_gpus.conf", atf.fake_gpus_conf((0, "(null)"))) | CODE |
| HIGH | testsuite/python/tests/test_190_7.py | 238 | atf.fake_gpus_conf((0, "a100", "(null)"), (1, "v100", "(null)")), | CODE |
| 84 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | testsuite/python/tests/test_157_4.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 220 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | testsuite/python/tests/test_157_4.py | 222 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | testsuite/python/tests/test_157_4.py | 277 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | testsuite/python/tests/test_157_4.py | 279 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | testsuite/python/tests/test_157_4.py | 308 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_157_4.py | 310 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_157_4.py | 345 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_157_4.py | 347 | # =========================================================================== | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 399 | # =========================================================================== | COMMENT |
| MEDIUM | testsuite/python/tests/test_157_4.py | 401 | # =========================================================================== | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 395 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 398 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 547 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_115_2.py | 549 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 152 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 377 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 379 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 568 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 570 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 975 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_14.py | 977 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 426 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 428 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 691 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 693 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_162_14.py | 1049 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | testsuite/python/tests/test_162_14.py | 1051 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | testsuite/python/tests/test_150_5.py | 417 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_150_5.py | 424 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 141 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 275 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 354 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_2.py | 356 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_190_2.py | 471 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_190_2.py | 473 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 98 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 181 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 232 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | testsuite/python/tests/test_162_11.py | 234 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | testsuite/python/tests/test_190_7.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_7.py | 178 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_7.py | 600 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_190_7.py | 607 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_190_7.py | 736 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | testsuite/python/tests/test_190_7.py | 747 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | testsuite/python/tests/test_116_55.py | 453 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | testsuite/python/tests/test_116_55.py | 455 | # --------------------------------------------------------------------------- | STRING |
| 122 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | testsuite/python/tests/test_150_17.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_150_1.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_150_18.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_152_2.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_150_2.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_150_8.py | 0 | blockname=b1 nodes=node[1-4] blockname=b2 nodes=node[5-8] blocksizes=4,8 | STRING |
| HIGH | testsuite/python/tests/test_102_20.py | 0 | write a sacctmgr load file as the slurm user (remote-exec safe). | STRING |
| HIGH | testsuite/python/tests/test_102_18.py | 0 | write a sacctmgr load file as the slurm user (remote-exec safe). | STRING |
| HIGH | testsuite/python/tests/test_102_19.py | 0 | write a sacctmgr load file as the slurm user (remote-exec safe). | STRING |
| HIGH | testsuite/python/tests/test_183_1.py | 0 | path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_js | STRING |
| HIGH | testsuite/python/tests/test_183_3.py | 0 | path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_js | STRING |
| HIGH | testsuite/python/tests/test_183_2.py | 0 | path slurmd is told to relay to. in a directory owned by root and writable by no one else, which is what relay_io/uds_js | STRING |
| HIGH | testsuite/python/tests/test_141_10.py | 0 | timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module | STRING |
| HIGH | testsuite/python/tests/test_141_8.py | 0 | timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module | STRING |
| HIGH | testsuite/python/tests/test_141_9.py | 0 | timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module | STRING |
| HIGH | testsuite/python/tests/test_141_7.py | 0 | timestamps of slurmctld log lines matching an extended regex. the log is only cleared once per module, and a mid-module | STRING |
| HIGH | testsuite/python/tests/test_128_6.py | 0 | assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminal | STRING |
| HIGH | testsuite/python/tests/test_128_3.py | 0 | assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminal | STRING |
| HIGH | testsuite/python/tests/test_128_7.py | 0 | assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminal | STRING |
| HIGH | testsuite/python/tests/test_128_4.py | 0 | assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminal | STRING |
| HIGH | testsuite/python/tests/test_128_5.py | 0 | assert job_id is pending because another job holds its resources. wait_for_job_state() also returns false for a terminal | STRING |
| HIGH | testsuite/python/tests/test_130_13.py | 0 | keep one node busy. returns the job id and the node name. | STRING |
| HIGH | testsuite/python/tests/test_130_12.py | 0 | keep one node busy. returns the job id and the node name. | STRING |
| HIGH | testsuite/python/tests/test_130_11.py | 0 | keep one node busy. returns the job id and the node name. | STRING |
| HIGH | testsuite/python/tests/test_144_24.py | 0 | expand an 'idx' string like '0,2-3' into a set of ints. | STRING |
| HIGH | testsuite/python/tests/test_144_26.py | 0 | expand an 'idx' string like '0,2-3' into a set of ints. | STRING |
| HIGH | testsuite/python/tests/test_144_22.py | 0 | expand an 'idx' string like '0,2-3' into a set of ints. | STRING |
| HIGH | testsuite/python/tests/test_144_23.py | 0 | expand an 'idx' string like '0,2-3' into a set of ints. | STRING |
| HIGH | testsuite/python/tests/test_144_27.py | 0 | expand an 'idx' string like '0,2-3' into a set of ints. | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_42.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_41.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | delete a user once slurmdbd no longer accounts active jobs for it. cancelled jobs are done for slurmctld before slurmdbd | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in au | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in au | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in au | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | require accountingstorageenforce=associations. in local-config mode only the tests using this fixture are skipped. in au | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's in | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's in | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's in | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | wait until slurmctld's association cache reflects a sacctmgr change. sacctmgr modifies slurmdbd directly; slurmctld's in | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account). | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account). | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account). | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | wait until slurmctld's association cache no longer has any association for user (see _wait_for_assoc_mgr_account). | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | create association for local user when accountingstorageenforce=associations. | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | create association for local user when accountingstorageenforce=associations. | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | create association for local user when accountingstorageenforce=associations. | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | create association for local user when accountingstorageenforce=associations. | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | ensure local_user_name has no association for the duration of the test. removes any association before the test runs (so | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | ensure local_user_name has no association for the duration of the test. removes any association before the test runs (so | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | ensure local_user_name has no association for the duration of the test. removes any association before the test runs (so | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | ensure local_user_name has no association for the duration of the test. removes any association before the test runs (so | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | check a rejected job submission against the documented response. | STRING |
| HIGH | testsuite/python/tests/test_112_46.py | 0 | check a rejected job submission against the documented response. | STRING |
| HIGH | testsuite/python/tests/test_112_45.py | 0 | check a rejected job submission against the documented response. | STRING |
| HIGH | testsuite/python/tests/test_112_44.py | 0 | check a rejected job submission against the documented response. | STRING |
| HIGH | testsuite/python/tests/test_112_43.py | 0 | test that job submission with an associated account is accepted. verifies that when accountingstorageenforce=association | STRING |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | testsuite/python/conftest.py | 390 | # Creating a module level tmp_path mimicking what tmp_path does | COMMENT |
| MEDIUM | testsuite/python/conftest.py | 480 | # Create the required node directories for node0 | COMMENT |
| MEDIUM | testsuite/python/tests/test_108_22.py | 186 | # Create the entity so that only authorization rejects an update or delete | COMMENT |
| MEDIUM | testsuite/python/tests/test_140_1.py | 127 | # Create a job | STRING |
| MEDIUM | testsuite/python/tests/test_140_1.py | 166 | # Create a job | STRING |
| MEDIUM | testsuite/python/tests/test_140_1.py | 262 | # Create a job | STRING |
| MEDIUM | testsuite/python/tests/test_140_1.py | 294 | # Create a job | STRING |
| MEDIUM | testsuite/python/tests/test_118_2.py | 22 | # Create a dummy trigger program | COMMENT |
| MEDIUM | testsuite/python/tests/test_116_49.py | 45 | # Create the job script | COMMENT |
| MEDIUM | testsuite/python/tests/test_100_1.py | 402 | # Create a test_function() for all test file in the testsuite_check_dir. | COMMENT |
| MEDIUM | testsuite/python/tests/test_141_10.py | 40 | # This module is about the default, so the option must stay unset. It is | COMMENT |
| MEDIUM | testsuite/python/tests/test_138_3.py | 98 | # Create a dictionary to map future objects to their thread_ids | COMMENT |
| MEDIUM | testsuite/python/tests/test_128_6.py | 144 | # Create the association if it is missing, then set the QOS list | COMMENT |
| MEDIUM | testsuite/python/tests/test_165_2.py | 45 | # Define the partitions in slurm.conf rather than with 'scontrol create' so | COMMENT |
| MEDIUM | testsuite/python/tests/test_165_2.py | 68 | # Create the marker so a cancelled job's epilog blocks and the job stays | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_43.py | 1554 | # Create a reservation | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_43.py | 1692 | # Create a reservation with empty node_list | COMMENT |
| MEDIUM | testsuite/python/tests/test_106_4.py | 44 | # Create a source file to broadcast | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_46.py | 3267 | # Create a reservation | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_46.py | 3510 | # Create a reservation with empty node_list | COMMENT |
| MEDIUM | testsuite/python/tests/test_165_3.py | 33 | # Define the partitions in slurm.conf rather than with 'scontrol create' so | COMMENT |
| MEDIUM | testsuite/python/tests/test_147_1.py | 39 | # Create a file outside the container; spank_tmp_clean already wiped the dir | COMMENT |
| MEDIUM | testsuite/python/tests/test_102_18.py | 746 | # Create a config file with cluster, accounts, and user | COMMENT |
| MEDIUM | testsuite/python/tests/test_123_17.py | 84 | # Create a permanent reservation on specific nodes, as in the reported | COMMENT |
| MEDIUM | testsuite/python/tests/test_116_25.py | 47 | # Create the batch script content | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_45.py | 2019 | # Create a reservation | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_45.py | 2262 | # Create a reservation with empty node_list | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_44.py | 1741 | # Create a reservation | COMMENT |
| MEDIUM | testsuite/python/tests/test_112_44.py | 1984 | # Create a reservation with empty node_list | COMMENT |
| MEDIUM | testsuite/python/tests/test_123_5.py | 77 | # Create the reservation for QOS test | COMMENT |
| MEDIUM | testsuite/python/tests/test_123_4.py | 26 | # Create the reservation for user slurm | COMMENT |
| MEDIUM | testsuite/python/tests/test_108_21.py | 383 | # Create the entity so that only authorization rejects an update or delete | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 976 | # Create the slurmd's spool and tmpfs directories, and remove at teardown | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 2351 | # Create a tmp expect dir from sources with the right permissions | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 2360 | # Create the globals.local | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 4138 | # Create the headers with the token to connect later | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 6968 | # Create the required node directories | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 7325 | # Create a new aggregate node | COMMENT |
| MEDIUM | testsuite/expect/regression.py | 8 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/openlava/bsub.pl | 11 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/openlava/bsub.pl | 295 | # Create the hostlist for formatting | COMMENT |
| MEDIUM | contribs/openlava/lsid.pl | 12 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/openlava/bjobs.pl | 12 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/openlava/bkill.pl | 11 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/slurm_completion_help/slurm_completion.sh | 8 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qstat.pl | 13 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qdel.pl | 13 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/mpiexec.pl | 13 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qrerun.pl | 7 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qsub.pl | 14 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qhold.pl | 14 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/pbsnodes.pl | 14 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | contribs/torque/qrls.pl | 13 | # This file is part of Slurm, a resource management program. | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 77 | # This file is dual licensed under the terms of the MIT license | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 1530 | # This file is dual licensed under the terms of the MIT license | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 1548 | # This file is a library for parsing options in your shell scripts along | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 2800 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 2810 | # This function implements the same check as func_lalib_p without | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 2833 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 2843 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/conftest.py | 146 | CODE | |
| LOW | testsuite/python/conftest.py | 239 | CODE | |
| LOW | testsuite/python/conftest.py | 566 | CODE | |
| LOW | testsuite/python/tests/test_172_9.py | 75 | CODE | |
| LOW | testsuite/python/tests/test_116_49.py | 42 | CODE | |
| LOW | testsuite/python/tests/test_144_8.py | 332 | CODE | |
| LOW | testsuite/python/tests/test_100_5.py | 219 | CODE | |
| LOW | testsuite/python/tests/test_138_3.py | 80 | CODE | |
| LOW | testsuite/python/tests/test_116_33.py | 20 | CODE | |
| LOW | testsuite/python/tests/test_172_6.py | 79 | CODE | |
| LOW | testsuite/python/tests/test_153_3.py | 61 | CODE | |
| LOW | testsuite/python/tests/test_164_2.py | 82 | CODE | |
| LOW | testsuite/python/tests/test_116_63.py | 39 | CODE | |
| LOW | testsuite/python/tests/test_132_3.py | 325 | CODE | |
| LOW | testsuite/python/tests/test_172_5.py | 74 | CODE | |
| LOW | testsuite/python/tests/test_102_18.py | 281 | CODE | |
| LOW | testsuite/python/tests/test_105_1.py | 35 | CODE | |
| LOW | testsuite/python/tests/test_130_6.py | 119 | CODE | |
| LOW | testsuite/python/tests/test_172_4.py | 89 | CODE | |
| LOW | testsuite/python/tests/test_102_19.py | 199 | CODE | |
| LOW | testsuite/python/tests/test_158_1.py | 124 | CODE | |
| LOW | testsuite/python/tests/test_100_2.py | 33 | CODE | |
| LOW | testsuite/python/tests/test_100_2.py | 34 | CODE | |
| LOW | testsuite/python/tests/test_139_1.py | 131 | CODE | |
| LOW | testsuite/python/tests/test_122_5.py | 168 | CODE | |
| LOW | testsuite/python/lib/atf.py | 515 | CODE | |
| LOW | testsuite/python/lib/atf.py | 893 | CODE | |
| LOW | testsuite/python/lib/atf.py | 1587 | CODE | |
| LOW | testsuite/python/lib/atf.py | 2554 | CODE | |
| LOW | testsuite/python/lib/atf.py | 2794 | CODE | |
| LOW | testsuite/python/lib/atf.py | 2963 | CODE | |
| LOW | testsuite/python/lib/atf.py | 3514 | CODE | |
| LOW | testsuite/python/lib/atf.py | 3814 | CODE | |
| LOW | testsuite/python/lib/atf.py | 4169 | CODE | |
| LOW | testsuite/python/lib/atf.py | 4303 | CODE | |
| LOW | testsuite/python/lib/atf.py | 4874 | CODE | |
| LOW | testsuite/python/lib/atf.py | 4995 | CODE | |
| LOW | testsuite/python/lib/atf.py | 5261 | CODE | |
| LOW | testsuite/python/lib/atf.py | 5370 | CODE | |
| LOW | testsuite/python/lib/atf.py | 5439 | CODE | |
| LOW | testsuite/python/lib/atf.py | 5531 | CODE | |
| LOW | testsuite/python/lib/atf.py | 5645 | CODE | |
| LOW | testsuite/python/lib/atf.py | 6214 | CODE | |
| LOW | testsuite/python/lib/atf.py | 6612 | CODE | |
| LOW | testsuite/python/lib/atf.py | 7053 | CODE | |
| LOW | testsuite/python/lib/atf.py | 7779 | CODE | |
| LOW | testsuite/python/lib/atf.py | 7870 | CODE | |
| LOW | testsuite/src/lib/cli.py | 61 | CODE | |
| LOW | testsuite/src/lib/utils/conf.py | 8 | CODE | |
| LOW | testsuite/src/lib/utils/test/test_list.py | 19 | CODE | |
| LOW | testsuite/src/lib/test_runners/regressions_runner.py | 130 | CODE | |
| LOW | testsuite/src/lib/test_runners/unit_runner.py | 123 | CODE | |
| LOW | testsuite/expect/regression.py | 75 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/tests/test_112_43.py | 7 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 358 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 359 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 361 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 618 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 745 | CODE | |
| LOW | testsuite/python/tests/test_112_43.py | 1149 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 6 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 7 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 288 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 289 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 291 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 548 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 675 | CODE | |
| LOW | testsuite/python/tests/test_112_42.py | 1082 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 8 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 639 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 640 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 642 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 929 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 1056 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 2372 | CODE | |
| LOW | testsuite/python/tests/test_112_46.py | 2382 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 5 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 288 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 289 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 291 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 548 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 675 | CODE | |
| LOW | testsuite/python/tests/test_112_41.py | 1082 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 7 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 406 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 407 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 409 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 666 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 793 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 1198 | CODE | |
| LOW | testsuite/python/tests/test_112_45.py | 1208 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 7 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 405 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 406 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 408 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 665 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 792 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 1197 | CODE | |
| LOW | testsuite/python/tests/test_112_44.py | 1207 | CODE | |
| LOW | testsuite/expect/regression.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | testsuite/python/tests/test_123_7.py | 113 | except Exception: | CODE |
| HIGH | testsuite/python/tests/test_123_7.py | 301 | except Exception: | CODE |
| HIGH | testsuite/python/tests/test_123_8.py | 138 | except Exception: | CODE |
| HIGH | testsuite/python/tests/test_123_8.py | 259 | except Exception: | CODE |
| HIGH | testsuite/python/lib/atf.py | 5355 | except Exception: | CODE |
| HIGH | testsuite/src/lib/utils/fs.py | 44 | except OSError: | CODE |
| HIGH | testsuite/expect/regression.py | 202 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | testsuite/python/tests/test_183_1.py | 368 | # --output=none keeps the raw byte out of srun's stdout, which the harness | COMMENT |
| MEDIUM | testsuite/python/tests/test_183_1.py | 407 | # --output=none keeps the raw byte out of srun's stdout, which the harness | COMMENT |
| MEDIUM | testsuite/python/tests/test_102_18.py | 940 | """Test comprehensive modification covering account metadata, account associations, and user associations | STRING |
| MEDIUM | testsuite/python/tests/test_139_1.py | 94 | # Wait for jobs to finish to facilitate deleting node later | COMMENT |
| LOW | testsuite/python/tests/test_115_1.py | 728 | # Since there are 2 test clusters we will just use one | COMMENT |
| LOW | testsuite/python/tests/test_115_1.py | 860 | # Since there are 2 test clusters we will just use one | COMMENT |
| LOW | testsuite/python/tests/test_115_1.py | 1102 | # Since there are 2 test clusters we will just use one | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 706 | # We have to elevate privileges here, but forking off thousands of sudo | COMMENT |
| MEDIUM | testsuite/python/lib/atf.py | 5795 | # well clear of swait's own 0/1/2/3 so a harness timeout is not read as a | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 345 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| MEDIUM | auxdir/ltmain.sh | 5624 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/tests/test_100_1.py | 467 | # Check if we still have remaining xfails (not popped above) | COMMENT |
| LOW⚡ | testsuite/python/tests/test_144_7.py | 220 | # Verify if devices are constrained, CUDA_VISIBLE_DEVICES start always | COMMENT |
| LOW⚡ | testsuite/python/tests/test_144_7.py | 226 | # Verify if devices are NOT constrained, all CUDA_VISIBLE_DEVICES are | COMMENT |
| LOW | testsuite/python/tests/test_123_8.py | 192 | # Assign features to pairs of nodes | COMMENT |
| LOW⚡ | testsuite/python/tests/test_147_1.py | 55 | # Check if slurm_spank_user_init executed its functions and left behind a file | COMMENT |
| LOW⚡ | testsuite/python/tests/test_147_1.py | 62 | # Check if slurm_spank_task_post_fork executed its functions and left behind a file | COMMENT |
| LOW⚡ | testsuite/python/tests/test_147_1.py | 69 | # Check if slurm_spank_task_exit executed its functions and left behind a file | COMMENT |
| LOW | testsuite/python/tests/test_139_1.py | 105 | # Check if node is powered up. If we catch the node while it is powering up, | COMMENT |
| LOW | testsuite/python/lib/atf.py | 5211 | # Return output | COMMENT |
| LOW | testsuite/python/lib/atf.py | 8187 | # Check if user has sudo privileges | COMMENT |
| LOW | testsuite/src/lib/db/test_db.py | 86 | li[3] = "" # Set status to "" | STRING |
| LOW | contribs/slurm_completion_help/slurm_completion.sh | 681 | # Check if slurm value completions are enabled | COMMENT |
| LOW | auxdir/ltmain.sh | 379 | # Check if we can use backslash as IFS='\' separator, and set | COMMENT |
| LOW | auxdir/ltmain.sh | 655 | # Set func_arith_result to the result of evaluating TERMs. | COMMENT |
| LOW | auxdir/ltmain.sh | 679 | # Set func_basename_result to FILE with everything up to and including | COMMENT |
| LOW | auxdir/ltmain.sh | 845 | # Set func_len_result to the length of STRING. STRING may not | COMMENT |
| LOW | auxdir/ltmain.sh | 1063 | # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. | COMMENT |
| LOW | auxdir/ltmain.sh | 4287 | # Check if any of the arguments is a wrapper script. | COMMENT |
| LOW | auxdir/ltmain.sh | 10241 | # Loop over the list of objects to be linked. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/tests/test_123_7.py | 113 | except Exception: | CODE |
| LOW | testsuite/python/tests/test_123_7.py | 301 | except Exception: | CODE |
| LOW | testsuite/python/tests/test_138_3.py | 129 | except Exception as e: | CODE |
| LOW | testsuite/python/tests/test_138_3.py | 142 | except Exception as e: | CODE |
| LOW | testsuite/python/tests/test_123_8.py | 138 | except Exception: | CODE |
| LOW | testsuite/python/tests/test_123_8.py | 259 | except Exception: | CODE |
| LOW | testsuite/python/tests/test_172_2.py | 62 | except Exception as e: | CODE |
| LOW | testsuite/python/tests/test_172_2.py | 69 | except Exception as e: | CODE |
| LOW | testsuite/python/tests/test_172_2.py | 95 | except Exception as e: | CODE |
| LOW | testsuite/python/tests/test_172_2.py | 102 | except Exception as e: | CODE |
| MEDIUM | testsuite/python/lib/signal_forwarding_script.py | 19 | print("Error: Readiness file path argument required.", file=sys.stderr) | CODE |
| LOW | testsuite/python/lib/signal_forwarding_script.py | 49 | except Exception as e: | CODE |
| MEDIUM | testsuite/python/lib/signal_forwarding_script.py | 50 | print(f"Error creating readiness file: {e}", file=sys.stderr, flush=True) | CODE |
| MEDIUM | testsuite/python/lib/atf.py | 726 | def safe_request_openapi(): | CODE |
| MEDIUM | testsuite/python/lib/atf.py | 847 | def _args(pid): | CODE |
| MEDIUM | testsuite/python/lib/atf.py | 5352 | def read_line(): | CODE |
| LOW | testsuite/python/lib/atf.py | 729 | except Exception as err: | CODE |
| LOW | testsuite/python/lib/atf.py | 1527 | except Exception: | CODE |
| LOW | testsuite/python/lib/atf.py | 1536 | except Exception: | CODE |
| LOW | testsuite/python/lib/atf.py | 1821 | except Exception: | CODE |
| LOW | testsuite/python/lib/atf.py | 4108 | except Exception as e: | CODE |
| LOW | testsuite/python/lib/atf.py | 5355 | except Exception: | CODE |
| LOW | testsuite/expect/regression.py | 202 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | testsuite/python/lib/atf.py | 3399 | Compiles the whereami.c program to be used by tests. This function installs the whereami program. To get the c | STRING |
| HIGH | testsuite/python/lib/atf.py | 3522 | Ensures that a configuration parameter has the required value. In local-config mode, the test is skipped if the req | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | doc/html/jquery.min.js | 4 | if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.se | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | testsuite/python/tests/test_157_4.py | 346 | # Group D - Non-whitelist guardrails | COMMENT |
| MEDIUM | testsuite/python/tests/test_105_12.py | 47 | # health-check firing. This scaffolding is an implementation-timing crutch to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/tests/test_115_2.py | 359 | CODE | |
| LOW | testsuite/python/lib/atf.py | 203 | CODE | |
| LOW | testsuite/src/lib/db/test_db.py | 129 | CODE | |
| LOW | testsuite/src/lib/db/test_db.py | 181 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/slurmctld/job_mgr.c | 14821 | * We need to check if the state is BadConstraints here since we | COMMENT |
| LOW | src/common/slurm_protocol_socket.c | 853 | * We need to check if the connection succeeded by | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/interfaces/acct_gather.h | 58 | /* don't forget to free this */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | testsuite/python/tests/test_116_55.py | 385 | f"placeholder's unset exit code must not raise it, got {derived!r}\n" | STRING |