Skip to content

test: DRA e2e tests#1109

Open
itsomri wants to merge 3 commits intomainfrom
omric/dra-e2e-tests
Open

test: DRA e2e tests#1109
itsomri wants to merge 3 commits intomainfrom
omric/dra-e2e-tests

Conversation

@itsomri
Copy link
Collaborator

@itsomri itsomri commented Mar 1, 2026

Description

Related Issues

Fixes #

Checklist

Note: Ensure your PR title follows the Conventional Commits format (e.g., feat(scheduler): add new feature)

  • Self-reviewed
  • Added/updated tests (if needed)
  • Updated documentation (if needed)

Breaking Changes

Additional Notes

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 1, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch omric/dra-e2e-tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Mar 1, 2026

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant/constant.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd/pod.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_distributed_specs.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_specs.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_suite_test.go

@itsomri itsomri force-pushed the omric/dra-e2e-tests branch from caebb72 to 3b508a4 Compare March 2, 2026 11:11
@itsomri itsomri force-pushed the omric/dra-e2e-tests branch from 3b508a4 to 0729de7 Compare March 2, 2026 11:28
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant/constant.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd/pod.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_distributed_specs.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_specs.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_suite_test.go

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

📊 Performance Benchmark Results

Comparing PR (omric/dra-e2e-tests) vs main branch:

main-bench.txt:155: parsing iteration count: invalid syntax
pr-bench.txt:155: parsing iteration count: invalid syntax
goos: linux
goarch: amd64
pkg: github.com/NVIDIA/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
                                    │ main-bench.txt │            pr-bench.txt            │
                                    │     sec/op     │    sec/op     vs base              │
AllocateAction_SmallCluster-4           108.8m ±  3%   108.6m ±  3%       ~ (p=0.240 n=6)
AllocateAction_MediumCluster-4          140.2m ±  4%   138.3m ±  1%       ~ (p=0.132 n=6)
AllocateAction_LargeCluster-4           233.5m ± 16%   232.3m ± 12%       ~ (p=0.818 n=6)
ReclaimAction_SmallCluster-4            103.1m ±  0%   102.8m ±  0%  -0.37% (p=0.002 n=6)
ReclaimAction_MediumCluster-4           106.6m ±  1%   105.8m ±  0%  -0.76% (p=0.002 n=6)
PreemptAction_SmallCluster-4            103.9m ±  0%   103.6m ±  0%  -0.36% (p=0.002 n=6)
PreemptAction_MediumCluster-4           114.5m ±  0%   113.5m ±  0%  -0.87% (p=0.002 n=6)
ConsolidationAction_SmallCluster-4      115.5m ±  0%   114.6m ±  0%  -0.76% (p=0.002 n=6)
ConsolidationAction_MediumCluster-4     215.1m ±  1%   208.1m ±  1%  -3.28% (p=0.002 n=6)
FullSchedulingCycle_SmallCluster-4      106.1m ±  0%   105.5m ±  0%  -0.58% (p=0.002 n=6)
FullSchedulingCycle_MediumCluster-4     122.1m ±  1%   120.5m ±  1%  -1.28% (p=0.002 n=6)
FullSchedulingCycle_LargeCluster-4      166.1m ±  1%   163.3m ±  1%  -1.72% (p=0.009 n=6)
ManyQueues_MediumCluster-4              145.0m ±  1%   143.2m ±  1%  -1.24% (p=0.002 n=6)
GangScheduling_MediumCluster-4          164.8m ±  3%   161.5m ±  1%       ~ (p=0.180 n=6)
geomean                                 133.9m         132.4m        -1.09%

                                    │ main-bench.txt │            pr-bench.txt            │
                                    │      B/op      │     B/op      vs base              │
AllocateAction_SmallCluster-4           2.296Mi ± 1%   2.296Mi ± 1%       ~ (p=0.937 n=6)
AllocateAction_MediumCluster-4          12.42Mi ± 0%   12.42Mi ± 0%       ~ (p=0.699 n=6)
AllocateAction_LargeCluster-4           42.96Mi ± 0%   42.96Mi ± 0%       ~ (p=0.818 n=6)
ReclaimAction_SmallCluster-4            973.1Ki ± 1%   972.9Ki ± 1%       ~ (p=0.699 n=6)
ReclaimAction_MediumCluster-4           3.161Mi ± 0%   3.161Mi ± 0%       ~ (p=0.818 n=6)
PreemptAction_SmallCluster-4            1.068Mi ± 1%   1.068Mi ± 0%       ~ (p=0.589 n=6)
PreemptAction_MediumCluster-4           4.263Mi ± 0%   4.261Mi ± 0%       ~ (p=0.132 n=6)
ConsolidationAction_SmallCluster-4      5.837Mi ± 0%   5.836Mi ± 0%       ~ (p=0.589 n=6)
ConsolidationAction_MediumCluster-4     48.16Mi ± 0%   48.15Mi ± 0%       ~ (p=0.132 n=6)
FullSchedulingCycle_SmallCluster-4      1.485Mi ± 1%   1.485Mi ± 0%       ~ (p=0.699 n=6)
FullSchedulingCycle_MediumCluster-4     7.288Mi ± 0%   7.288Mi ± 0%       ~ (p=0.937 n=6)
FullSchedulingCycle_LargeCluster-4      23.94Mi ± 0%   23.94Mi ± 0%       ~ (p=0.240 n=6)
ManyQueues_MediumCluster-4              16.88Mi ± 0%   16.88Mi ± 0%       ~ (p=0.589 n=6)
GangScheduling_MediumCluster-4          18.17Mi ± 0%   18.17Mi ± 0%       ~ (p=0.310 n=6)
geomean                                 6.709Mi        6.708Mi       -0.02%

                                    │ main-bench.txt │           pr-bench.txt            │
                                    │   allocs/op    │  allocs/op   vs base              │
AllocateAction_SmallCluster-4            37.07k ± 0%   37.07k ± 0%       ~ (p=0.848 n=6)
AllocateAction_MediumCluster-4           328.6k ± 0%   328.6k ± 0%       ~ (p=0.554 n=6)
AllocateAction_LargeCluster-4            1.403M ± 0%   1.403M ± 0%       ~ (p=0.818 n=6)
ReclaimAction_SmallCluster-4             8.915k ± 0%   8.915k ± 0%       ~ (p=1.000 n=6)
ReclaimAction_MediumCluster-4            28.57k ± 0%   28.57k ± 0%       ~ (p=1.000 n=6)
PreemptAction_SmallCluster-4             11.60k ± 0%   11.60k ± 0%       ~ (p=0.400 n=6)
PreemptAction_MediumCluster-4            40.37k ± 0%   40.37k ± 0%       ~ (p=0.212 n=6)
ConsolidationAction_SmallCluster-4       74.96k ± 0%   74.97k ± 0%       ~ (p=1.000 n=6)
ConsolidationAction_MediumCluster-4      693.1k ± 0%   693.0k ± 0%       ~ (p=0.310 n=6)
FullSchedulingCycle_SmallCluster-4       22.05k ± 0%   22.05k ± 0%       ~ (p=0.959 n=6)
FullSchedulingCycle_MediumCluster-4      177.4k ± 0%   177.4k ± 0%       ~ (p=0.976 n=6)
FullSchedulingCycle_LargeCluster-4       733.9k ± 0%   733.9k ± 0%       ~ (p=0.496 n=6)
ManyQueues_MediumCluster-4               366.7k ± 0%   366.7k ± 0%       ~ (p=0.589 n=6)
GangScheduling_MediumCluster-4           603.0k ± 0%   603.0k ± 0%       ~ (p=0.561 n=6)
geomean                                  114.6k        114.6k       -0.00%

pkg: github.com/NVIDIA/KAI-scheduler/pkg/scheduler/actions/integration_tests/reclaim
                            │ main-bench.txt │             pr-bench.txt             │
                            │     sec/op     │    sec/op      vs base               │
ReclaimLargeJobs_10Node-4      105.2m ± 0%     104.8m ± 0%     -0.42% (p=0.002 n=6)
ReclaimLargeJobs_50Node-4      144.7m ± 1%     140.8m ± 1%     -2.65% (p=0.002 n=6)
ReclaimLargeJobs_100Node-4     295.7m ± 2%     284.4m ± 1%     -3.81% (p=0.002 n=6)
ReclaimLargeJobs_200Node-4      1.220 ± 8%      1.133 ± 3%     -7.18% (p=0.002 n=6)
ReclaimLargeJobs_500Node-4      13.16 ± 5%      14.58 ± 8%    +10.82% (p=0.009 n=6)
ReclaimLargeJobs_1000Node-4     112.6 ±  ∞ ¹    115.1 ±  ∞ ¹        ~ (p=0.343 n=4)
geomean                         1.418           1.414          -0.33%
¹ need >= 6 samples for confidence interval at level 0.95

                            │ main-bench.txt │             pr-bench.txt             │
                            │      B/op      │      B/op       vs base              │
ReclaimLargeJobs_10Node-4     1.884Mi ± 3%     1.880Mi ± 3%         ~ (p=0.699 n=6)
ReclaimLargeJobs_50Node-4     17.51Mi ± 0%     17.51Mi ± 0%         ~ (p=0.937 n=6)
ReclaimLargeJobs_100Node-4    59.59Mi ± 0%     59.57Mi ± 0%    -0.05% (p=0.015 n=6)
ReclaimLargeJobs_200Node-4    235.5Mi ± 0%     235.5Mi ± 0%         ~ (p=0.937 n=6)
ReclaimLargeJobs_500Node-4    1.705Gi ± 0%     1.704Gi ± 0%         ~ (p=0.093 n=6)
ReclaimLargeJobs_1000Node-4   8.958Gi ±  ∞ ¹   8.958Gi ±  ∞ ¹       ~ (p=0.886 n=4)
geomean                       139.6Mi          139.6Mi         -0.05%
¹ need >= 6 samples for confidence interval at level 0.95

                            │ main-bench.txt │            pr-bench.txt             │
                            │   allocs/op    │   allocs/op    vs base              │
ReclaimLargeJobs_10Node-4      20.23k ± 3%     20.23k ± 3%         ~ (p=0.753 n=6)
ReclaimLargeJobs_50Node-4      232.9k ± 0%     232.9k ± 0%         ~ (p=0.671 n=6)
ReclaimLargeJobs_100Node-4     866.7k ± 0%     866.7k ± 0%         ~ (p=0.729 n=6)
ReclaimLargeJobs_200Node-4     3.659M ± 0%     3.659M ± 0%         ~ (p=0.909 n=6)
ReclaimLargeJobs_500Node-4     29.28M ± 0%     29.28M ± 0%         ~ (p=0.310 n=6)
ReclaimLargeJobs_1000Node-4    163.0M ±  ∞ ¹   163.0M ±  ∞ ¹       ~ (p=0.686 n=4)
geomean                        2.036M          2.036M         +0.00%
¹ need >= 6 samples for confidence interval at level 0.95

Legend

  • 📉 Negative delta = Performance improvement (faster)
  • 📈 Positive delta = Performance regression (slower)
  • p-value < 0.05 indicates statistically significant change
Raw benchmark data

PR branch:

goos: linux
goarch: amd64
pkg: github.com/NVIDIA/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkAllocateAction_SmallCluster-4         	       9	 112333312 ns/op	 2413547 B/op	   37079 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109038770 ns/op	 2407480 B/op	   37072 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108501643 ns/op	 2407352 B/op	   37067 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108533264 ns/op	 2407344 B/op	   37072 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108671760 ns/op	 2423736 B/op	   37073 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108175916 ns/op	 2405769 B/op	   37066 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136917881 ns/op	13021766 B/op	  328599 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137240873 ns/op	13024725 B/op	  328598 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137706153 ns/op	13021615 B/op	  328601 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 138977465 ns/op	13021685 B/op	  328593 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 139739728 ns/op	13021331 B/op	  328595 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 139697387 ns/op	13021317 B/op	  328594 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 232874675 ns/op	45050316 B/op	 1402683 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 235870401 ns/op	45048955 B/op	 1402677 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       4	 261008611 ns/op	45052152 B/op	 1402707 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 231728690 ns/op	45048720 B/op	 1402671 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 224943270 ns/op	45053590 B/op	 1402658 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 226093604 ns/op	45050291 B/op	 1402681 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102799940 ns/op	  991448 B/op	    8886 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102697251 ns/op	  993474 B/op	    8907 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102790283 ns/op	 1000325 B/op	    8916 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102746559 ns/op	  996316 B/op	    8915 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102756620 ns/op	  996199 B/op	    8914 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102735973 ns/op	 1005365 B/op	    8917 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106139434 ns/op	 3317067 B/op	   28569 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105644234 ns/op	 3316887 B/op	   28569 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105787766 ns/op	 3312924 B/op	   28567 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105835682 ns/op	 3316765 B/op	   28568 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105986396 ns/op	 3308914 B/op	   28565 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105738764 ns/op	 3312797 B/op	   28566 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103654840 ns/op	 1120117 B/op	   11603 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103592893 ns/op	 1120280 B/op	   11603 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103624554 ns/op	 1115924 B/op	   11599 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103550289 ns/op	 1116128 B/op	   11600 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103526142 ns/op	 1118791 B/op	   11599 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103547445 ns/op	 1120106 B/op	   11602 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113339582 ns/op	 4469833 B/op	   40373 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113336192 ns/op	 4465417 B/op	   40372 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113586337 ns/op	 4465206 B/op	   40371 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113543532 ns/op	 4465606 B/op	   40372 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113525361 ns/op	 4469727 B/op	   40373 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113683944 ns/op	 4469904 B/op	   40374 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 114147843 ns/op	 6121376 B/op	   74972 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 114867813 ns/op	 6120045 B/op	   74976 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 114464376 ns/op	 6113599 B/op	   74905 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 114600337 ns/op	 6131977 B/op	   74984 allocs/op

Main branch:

goos: linux
goarch: amd64
pkg: github.com/NVIDIA/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkAllocateAction_SmallCluster-4         	       9	 111709293 ns/op	 2441101 B/op	   37088 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109481455 ns/op	 2408225 B/op	   37077 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108813531 ns/op	 2406220 B/op	   37067 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108726110 ns/op	 2412034 B/op	   37076 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108732610 ns/op	 2406188 B/op	   37065 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108815983 ns/op	 2407448 B/op	   37070 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 146153672 ns/op	13023894 B/op	  328605 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 138829366 ns/op	13023769 B/op	  328596 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 140791823 ns/op	13020991 B/op	  328590 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 142753500 ns/op	13020957 B/op	  328592 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 139519043 ns/op	13022115 B/op	  328600 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 138927953 ns/op	13034670 B/op	  328590 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 223526386 ns/op	45051164 B/op	 1402690 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 246293550 ns/op	45048705 B/op	 1402672 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       4	 271244872 ns/op	45050288 B/op	 1402691 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 235903308 ns/op	45049696 B/op	 1402675 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 229653816 ns/op	45056323 B/op	 1402682 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 231160212 ns/op	45049254 B/op	 1402676 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103175654 ns/op	  991618 B/op	    8888 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103119240 ns/op	  996663 B/op	    8905 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103103583 ns/op	  996336 B/op	    8915 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103137334 ns/op	 1000159 B/op	    8916 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103152502 ns/op	  996292 B/op	    8915 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103086182 ns/op	 1005180 B/op	    8916 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 107058667 ns/op	 3316955 B/op	   28569 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106511110 ns/op	 3308821 B/op	   28565 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106592027 ns/op	 3308904 B/op	   28566 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106632452 ns/op	 3316823 B/op	   28568 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106602884 ns/op	 3316816 B/op	   28568 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 107391077 ns/op	 3313117 B/op	   28568 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103928440 ns/op	 1120125 B/op	   11602 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 104082414 ns/op	 1120228 B/op	   11603 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 104051482 ns/op	 1120052 B/op	   11602 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103917544 ns/op	 1116194 B/op	   11601 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103950118 ns/op	 1126752 B/op	   11604 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103931553 ns/op	 1115936 B/op	   11600 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 115044965 ns/op	 4469872 B/op	   40374 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114331003 ns/op	 4465568 B/op	   40372 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114429505 ns/op	 4469837 B/op	   40373 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114632659 ns/op	 4469784 B/op	   40373 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114504352 ns/op	 4469961 B/op	   40374 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114555200 ns/op	 4474345 B/op	   40375 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115140875 ns/op	 6122811 B/op	   74983 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115740366 ns/op	 6120128 B/op	   74964 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115490999 ns/op	 6117432 B/op	   74949 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115414384 ns/op	 6128793 B/op	   74950 allocs/op

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/dynamicresources 70.92% (-0.22%) 👎
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/dynamicresources/dynamicresources.go 70.92% (-0.22%) 141 (-8) 100 (-6) 41 (-2) 👎
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant/constant.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd/pod.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_distributed_specs.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_specs.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_suite_test.go

1 similar comment
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/dynamicresources 70.92% (-0.22%) 👎
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt 0.00% (ø)
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/dynamicresources/dynamicresources.go 70.92% (-0.22%) 141 (-8) 100 (-6) 41 (-2) 👎
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/constant/constant.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd/pod.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_distributed_specs.go 0.00% (ø) 0 0 0
github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_specs.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/preempt/preempt_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_dra_test.go
  • github.com/NVIDIA/KAI-scheduler/test/e2e/suites/reclaim/reclaim_suite_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant