Skip to content

test: DRA e2e tests#1109

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

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

Conversation

@itsomri
Copy link
Copy Markdown
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
Copy Markdown
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.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5c149084-6130-4c8a-8a66-0d11913d6586

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

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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

@github-actions
Copy link
Copy Markdown

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 2 times, most recently from 3b508a4 to 0729de7 Compare March 2, 2026 11:28
@github-actions
Copy link
Copy Markdown

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
Copy Markdown

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.6m ±  0%   109.4m ± 0%  +0.72% (p=0.002 n=6)
AllocateAction_MediumCluster-4          137.7m ±  2%   141.7m ± 2%  +2.92% (p=0.015 n=6)
AllocateAction_LargeCluster-4           232.2m ± 15%   239.6m ± 8%       ~ (p=0.310 n=6)
ReclaimAction_SmallCluster-4            102.9m ±  0%   103.1m ± 0%  +0.18% (p=0.009 n=6)
ReclaimAction_MediumCluster-4           106.4m ±  1%   106.6m ± 1%  +0.26% (p=0.041 n=6)
PreemptAction_SmallCluster-4            103.8m ±  0%   103.9m ± 0%  +0.15% (p=0.002 n=6)
PreemptAction_MediumCluster-4           114.2m ±  0%   114.7m ± 0%  +0.39% (p=0.009 n=6)
ConsolidationAction_SmallCluster-4      115.1m ±  0%   115.5m ± 0%  +0.39% (p=0.002 n=6)
ConsolidationAction_MediumCluster-4     210.4m ±  2%   213.5m ± 2%  +1.50% (p=0.026 n=6)
FullSchedulingCycle_SmallCluster-4      105.6m ±  0%   106.0m ± 0%  +0.34% (p=0.002 n=6)
FullSchedulingCycle_MediumCluster-4     121.3m ±  1%   122.5m ± 0%  +0.99% (p=0.002 n=6)
FullSchedulingCycle_LargeCluster-4      164.1m ±  1%   167.4m ± 2%  +2.05% (p=0.002 n=6)
ManyQueues_MediumCluster-4              144.2m ±  1%   146.1m ± 1%  +1.32% (p=0.002 n=6)
GangScheduling_MediumCluster-4          163.3m ±  1%   164.6m ± 2%       ~ (p=0.394 n=6)
geomean                                 133.0m         134.4m       +1.08%

                                    │ main-bench.txt │            pr-bench.txt            │
                                    │      B/op      │     B/op      vs base              │
AllocateAction_SmallCluster-4           2.347Mi ± 0%   2.347Mi ± 1%       ~ (p=0.855 n=6)
AllocateAction_MediumCluster-4          12.63Mi ± 0%   12.63Mi ± 0%       ~ (p=1.000 n=6)
AllocateAction_LargeCluster-4           43.47Mi ± 0%   43.47Mi ± 0%       ~ (p=0.485 n=6)
ReclaimAction_SmallCluster-4           1000.6Ki ± 1%   996.9Ki ± 0%       ~ (p=0.937 n=6)
ReclaimAction_MediumCluster-4           3.260Mi ± 0%   3.264Mi ± 0%       ~ (p=0.240 n=6)
PreemptAction_SmallCluster-4            1.095Mi ± 0%   1.095Mi ± 0%       ~ (p=0.937 n=6)
PreemptAction_MediumCluster-4           4.381Mi ± 0%   4.381Mi ± 0%       ~ (p=0.699 n=6)
ConsolidationAction_SmallCluster-4      5.898Mi ± 0%   5.896Mi ± 0%       ~ (p=0.394 n=6)
ConsolidationAction_MediumCluster-4     48.41Mi ± 0%   48.42Mi ± 0%       ~ (p=0.394 n=6)
FullSchedulingCycle_SmallCluster-4      1.523Mi ± 1%   1.523Mi ± 0%       ~ (p=0.699 n=6)
FullSchedulingCycle_MediumCluster-4     7.445Mi ± 0%   7.445Mi ± 0%       ~ (p=0.937 n=6)
FullSchedulingCycle_LargeCluster-4      24.31Mi ± 0%   24.31Mi ± 0%       ~ (p=0.485 n=6)
ManyQueues_MediumCluster-4              17.10Mi ± 0%   17.10Mi ± 0%       ~ (p=0.589 n=6)
GangScheduling_MediumCluster-4          18.54Mi ± 0%   18.54Mi ± 0%       ~ (p=1.000 n=6)
geomean                                 6.841Mi        6.839Mi       -0.02%

                                    │ main-bench.txt │           pr-bench.txt            │
                                    │   allocs/op    │  allocs/op   vs base              │
AllocateAction_SmallCluster-4            37.85k ± 0%   37.85k ± 0%       ~ (p=1.000 n=6)
AllocateAction_MediumCluster-4           331.7k ± 0%   331.8k ± 0%       ~ (p=0.846 n=6)
AllocateAction_LargeCluster-4            1.410M ± 0%   1.410M ± 0%       ~ (p=0.818 n=6)
ReclaimAction_SmallCluster-4             9.242k ± 0%   9.241k ± 0%       ~ (p=0.372 n=6)
ReclaimAction_MediumCluster-4            29.92k ± 0%   29.93k ± 0%       ~ (p=0.126 n=6)
PreemptAction_SmallCluster-4             11.95k ± 0%   11.95k ± 0%       ~ (p=0.617 n=6)
PreemptAction_MediumCluster-4            41.83k ± 0%   41.83k ± 0%       ~ (p=0.190 n=6)
ConsolidationAction_SmallCluster-4       75.93k ± 0%   75.92k ± 0%       ~ (p=0.853 n=6)
ConsolidationAction_MediumCluster-4      697.0k ± 0%   697.1k ± 0%       ~ (p=0.065 n=6)
FullSchedulingCycle_SmallCluster-4       22.61k ± 0%   22.61k ± 0%       ~ (p=0.708 n=6)
FullSchedulingCycle_MediumCluster-4      179.6k ± 0%   179.6k ± 0%       ~ (p=0.727 n=6)
FullSchedulingCycle_LargeCluster-4       739.4k ± 0%   739.4k ± 0%       ~ (p=0.615 n=6)
ManyQueues_MediumCluster-4               369.8k ± 0%   369.8k ± 0%       ~ (p=0.171 n=6)
GangScheduling_MediumCluster-4           608.7k ± 0%   608.7k ± 0%       ~ (p=0.942 n=6)
geomean                                  116.8k        116.8k       -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%     105.2m ± 1%         ~ (p=0.818 n=6)
ReclaimLargeJobs_50Node-4      144.7m ± 2%     148.8m ± 1%    +2.89% (p=0.004 n=6)
ReclaimLargeJobs_100Node-4     293.5m ± 2%     311.3m ± 1%    +6.07% (p=0.002 n=6)
ReclaimLargeJobs_200Node-4      1.191 ± 2%      1.261 ± 8%    +5.89% (p=0.002 n=6)
ReclaimLargeJobs_500Node-4      13.90 ± 2%      14.84 ± 2%    +6.77% (p=0.002 n=6)
ReclaimLargeJobs_1000Node-4     119.2 ±  ∞ ¹    117.4 ±  ∞ ¹       ~ (p=0.057 n=4)
geomean                         1.437           1.485         +3.28%
¹ 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.932Mi ± 3%     1.927Mi ± 3%         ~ (p=0.699 n=6)
ReclaimLargeJobs_50Node-4     18.01Mi ± 0%     18.02Mi ± 0%         ~ (p=0.180 n=6)
ReclaimLargeJobs_100Node-4    61.26Mi ± 0%     61.24Mi ± 0%         ~ (p=0.699 n=6)
ReclaimLargeJobs_200Node-4    241.3Mi ± 0%     241.4Mi ± 0%    +0.03% (p=0.041 n=6)
ReclaimLargeJobs_500Node-4    1.738Gi ± 0%     1.739Gi ± 0%         ~ (p=0.065 n=6)
ReclaimLargeJobs_1000Node-4   9.088Gi ±  ∞ ¹   9.091Gi ±  ∞ ¹  +0.03% (p=0.029 n=4)
geomean                       142.9Mi          142.9Mi         -0.02%
¹ 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.96k ± 3%     20.96k ± 3%         ~ (p=1.000 n=6)
ReclaimLargeJobs_50Node-4      240.5k ± 0%     240.6k ± 0%    +0.04% (p=0.002 n=6)
ReclaimLargeJobs_100Node-4     892.1k ± 0%     892.5k ± 0%    +0.04% (p=0.002 n=6)
ReclaimLargeJobs_200Node-4     3.751M ± 0%     3.752M ± 0%    +0.05% (p=0.002 n=6)
ReclaimLargeJobs_500Node-4     29.81M ± 0%     29.82M ± 0%    +0.04% (p=0.002 n=6)
ReclaimLargeJobs_1000Node-4    165.1M ±  ∞ ¹   165.1M ±  ∞ ¹  +0.03% (p=0.029 n=4)
geomean                        2.089M          2.089M         +0.03%
¹ 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         	      10	 109448158 ns/op	 2460113 B/op	   37848 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109527238 ns/op	 2462418 B/op	   37850 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109080408 ns/op	 2462312 B/op	   37849 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109323090 ns/op	 2478888 B/op	   37846 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109472837 ns/op	 2460586 B/op	   37845 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 109029182 ns/op	 2459649 B/op	   37842 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 140640918 ns/op	13260508 B/op	  331757 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 143105178 ns/op	13244741 B/op	  331744 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 140491748 ns/op	13245325 B/op	  331749 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 142810386 ns/op	13255613 B/op	  331756 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 144929172 ns/op	13244203 B/op	  331745 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 139478462 ns/op	13249496 B/op	  331757 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       4	 255468886 ns/op	45584668 B/op	 1410388 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 240029671 ns/op	45585294 B/op	 1410384 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 221286101 ns/op	45599128 B/op	 1410380 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 239031027 ns/op	45593576 B/op	 1410403 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 239241496 ns/op	45585851 B/op	 1410389 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       4	 256805622 ns/op	45584478 B/op	 1410391 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103270814 ns/op	 1015722 B/op	    9212 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103102062 ns/op	 1017372 B/op	    9232 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103300152 ns/op	 1020844 B/op	    9242 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103128881 ns/op	 1024640 B/op	    9242 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103091864 ns/op	 1020722 B/op	    9241 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103079086 ns/op	 1025536 B/op	    9241 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 107363462 ns/op	 3422792 B/op	   29926 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106631784 ns/op	 3422301 B/op	   29925 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106730408 ns/op	 3418452 B/op	   29923 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106441142 ns/op	 3422538 B/op	   29925 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106554350 ns/op	 3422357 B/op	   29924 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106642909 ns/op	 3422480 B/op	   29925 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103910087 ns/op	 1144504 B/op	   11952 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103916160 ns/op	 1148372 B/op	   11952 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103967005 ns/op	 1144306 B/op	   11951 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103938924 ns/op	 1148447 B/op	   11953 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103947463 ns/op	 1151084 B/op	   11952 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103949137 ns/op	 1148533 B/op	   11954 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114699247 ns/op	 4591449 B/op	   41829 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114402016 ns/op	 4595556 B/op	   41829 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114801201 ns/op	 4591346 B/op	   41829 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114790924 ns/op	 4595903 B/op	   41832 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114457123 ns/op	 4587081 B/op	   41828 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114602708 ns/op	 4595385 B/op	   41829 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115474311 ns/op	 6181608 B/op	   75906 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115510823 ns/op	 6178061 B/op	   75887 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115503759 ns/op	 6184036 B/op	   75952 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115527537 ns/op	 6193832 B/op	   75939 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         	      10	 108630920 ns/op	 2461613 B/op	   37849 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108527467 ns/op	 2461850 B/op	   37848 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108571060 ns/op	 2461980 B/op	   37850 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108711695 ns/op	 2460597 B/op	   37845 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108507900 ns/op	 2461172 B/op	   37845 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108632511 ns/op	 2460113 B/op	   37845 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137213841 ns/op	13250236 B/op	  331765 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137443993 ns/op	13244419 B/op	  331743 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137409172 ns/op	13246085 B/op	  331755 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 140539364 ns/op	13245997 B/op	  331749 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137969140 ns/op	13249837 B/op	  331750 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 140075588 ns/op	13247880 B/op	  331747 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 236083280 ns/op	45617073 B/op	 1410406 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 230621961 ns/op	45599908 B/op	 1410381 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 227764694 ns/op	45584819 B/op	 1410382 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 233850897 ns/op	45586297 B/op	 1410392 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 228567644 ns/op	45585008 B/op	 1410385 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       4	 268096468 ns/op	45585730 B/op	 1410402 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103094975 ns/op	 1011999 B/op	    9213 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102912635 ns/op	 1017636 B/op	    9233 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102984815 ns/op	 1024592 B/op	    9242 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102862318 ns/op	 1024600 B/op	    9242 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102927154 ns/op	 1024535 B/op	    9242 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102934975 ns/op	 1024724 B/op	    9243 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 107029566 ns/op	 3422640 B/op	   29925 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106385384 ns/op	 3418492 B/op	   29923 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106230887 ns/op	 3418628 B/op	   29924 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106266564 ns/op	 3418336 B/op	   29923 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106371299 ns/op	 3422418 B/op	   29924 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106348120 ns/op	 3418352 B/op	   29922 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103815743 ns/op	 1143951 B/op	   11949 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103818854 ns/op	 1148544 B/op	   11954 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103734105 ns/op	 1148416 B/op	   11953 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103810269 ns/op	 1144570 B/op	   11952 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103669513 ns/op	 1148439 B/op	   11953 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103768107 ns/op	 1148525 B/op	   11953 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 113993598 ns/op	 4595888 B/op	   41832 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114208020 ns/op	 4591497 B/op	   41830 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114205095 ns/op	 4595810 B/op	   41831 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114480725 ns/op	 4595823 B/op	   41831 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114128894 ns/op	 4591348 B/op	   41829 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 114349813 ns/op	 4591304 B/op	   41829 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 114557670 ns/op	 6185730 B/op	   75930 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115183080 ns/op	 6184152 B/op	   75928 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115076321 ns/op	 6197723 B/op	   75982 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 115063086 ns/op	 6195389 B/op	   75942 allocs/op

@github-actions
Copy link
Copy Markdown

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
Copy Markdown

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

@itsomri itsomri force-pushed the omric/dra-e2e-tests branch from 5b26084 to 983af8d Compare March 9, 2026 08:23
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/framework 33.37% (ø)
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/framework/operations.go 100.00% (ø) 12 12 0
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/framework/statement.go 50.35% (ø) 288 145 143
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 983af8d to a6f881b Compare March 9, 2026 09:04
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/framework 33.37% (ø)
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/framework/operations.go 100.00% (ø) 12 12 0
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/framework/statement.go 50.35% (ø) 288 145 143
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