Skip to content

Add regression coverage for greedy fallback iteration behavior - #2291

Draft
cursor[bot] wants to merge 2 commits into
developfrom
cursor/regression-test-coverage-c9f1
Draft

Add regression coverage for greedy fallback iteration behavior#2291
cursor[bot] wants to merge 2 commits into
developfrom
cursor/regression-test-coverage-c9f1

Add coverage for greedy fallback iteration edge cases

99980fc
Select commit
Loading
Failed to load commit list.
ROCm Repo Management API / Jenkins failed Mar 12, 2026 in 1h 1m 12s

Build and Test/Matrix - CODEPATH = 'gfx950'/Matrix row orchestration/SCM Checkout: error in 'error' step

Build and Test / Matrix - CODEPATH = 'mfma' / Matrix - CODEPATH = 'mfma' / Matrix row orchestration / Shared Library: fixed E2E / Shell Script

Error in sh step, with arguments python3 ./mlir/utils/jenkins/static-checks/premerge-checks.py --base-commit=origin/develop.

script returned exit code 1
Build log
[2026-03-12T21:24:34.459Z] + python3 ./mlir/utils/jenkins/static-checks/premerge-checks.py --base-commit=origin/develop
[2026-03-12T21:24:34.893Z] Running linters against base commit : origin/develop
[2026-03-12T21:24:34.893Z] diff --git a/mlir/unittests/Dialect/Rock/TuningParamSpaceTests.cpp b/mlir/unittests/Dialect/Rock/TuningParamSpaceTests.cpp
[2026-03-12T21:24:34.893Z] index aa60a5c11b..66fbdd5cb1 100644
[2026-03-12T21:24:34.893Z] --- a/mlir/unittests/Dialect/Rock/TuningParamSpaceTests.cpp
[2026-03-12T21:24:34.893Z] +++ b/mlir/unittests/Dialect/Rock/TuningParamSpaceTests.cpp
[2026-03-12T21:24:34.893Z] @@ -41,7 +41,8 @@ class TuningParamSpaceTest : public ::testing::Test {
[2026-03-12T21:24:34.893Z]  public:
[2026-03-12T21:24:34.893Z]    TuningParamSpaceTest() {
[2026-03-12T21:24:34.893Z]      DialectRegistry registry;
[2026-03-12T21:24:34.893Z] -    registry.insert<func::FuncDialect, memref::MemRefDialect, rock::RockDialect>();
[2026-03-12T21:24:34.893Z] +    registry
[2026-03-12T21:24:34.893Z] +        .insert<func::FuncDialect, memref::MemRefDialect, rock::RockDialect>();
[2026-03-12T21:24:34.893Z]      context.appendDialectRegistry(registry);
[2026-03-12T21:24:34.893Z]      context.loadAllAvailableDialects();
[2026-03-12T21:24:34.893Z]    }
[2026-03-12T21:24:34.893Z] 
[2026-03-12T21:24:34.893Z] Please format your changes with clang-format by running `git-clang-format origin/develop` or applying patch.

Build and Test / Matrix - CODEPATH = 'navi4x' / Matrix - CODEPATH = 'navi4x' / Matrix row orchestration / Prepare Docker environment / Shell Script

Error in sh step, with arguments docker pull "$JD_TO_PULL".

Failed in branch Matrix - CODEPATH = 'mfma'
Build log
[2026-03-12T21:23:06.760Z] + docker pull rocm/mlir:rocm7.0-latest
[2026-03-12T21:23:06.760Z] rocm7.0-latest: Pulling from rocm/mlir
[2026-03-12T21:23:07.102Z] c98db2d35709: Pulling fs layer
[2026-03-12T21:23:07.102Z] dc7496c268e6: Pulling fs layer
[2026-03-12T21:23:07.102Z] 93c7693f5fea: Pulling fs layer
[2026-03-12T21:23:07.102Z] a4e522598f72: Pulling fs layer
[2026-03-12T21:23:07.102Z] d21daea6bedb: Pulling fs layer
[2026-03-12T21:23:07.102Z] 6991a0f4eab0: Pulling fs layer
[2026-03-12T21:23:07.102Z] 54bf9f058aab: Pulling fs layer
[2026-03-12T21:23:07.102Z] 07a228716473: Pulling fs layer
[2026-03-12T21:23:07.102Z] e44503698da2: Pulling fs layer
[2026-03-12T21:23:07.102Z] 357c65e018dc: Pulling fs layer
[2026-03-12T21:23:07.102Z] 996ebb9e36b6: Pulling fs layer
[2026-03-12T21:23:07.102Z] 607a21aa2154: Pulling fs layer
[2026-03-12T21:23:07.102Z] d99e896c0730: Pulling fs layer
[2026-03-12T21:23:07.102Z] d0f7e6940ed1: Pulling fs layer
[2026-03-12T21:23:07.102Z] 7e49dc6156b0: Pulling fs layer
[2026-03-12T21:23:07.102Z] 592c16717e7e: Pulling fs layer
[2026-03-12T21:23:07.102Z] df324bbc77e9: Pulling fs layer
[2026-03-12T21:23:07.102Z] 2a5705c55486: Pulling fs layer
[2026-03-12T21:23:07.102Z] 755da17a7eb7: Pulling fs layer
[2026-03-12T21:23:07.102Z] dc7496c268e6: Download complete
[2026-03-12T21:23:07.102Z] d99e896c0730: Download complete
[2026-03-12T21:23:07.102Z] 93c7693f5fea: Download complete
[2026-03-12T21:23:07.102Z] c98db2d35709: Download complete
[2026-03-12T21:23:07.102Z] 54bf9f058aab: Download complete
[2026-03-12T21:23:07.102Z] 607a21aa2154: Download complete
[2026-03-12T21:23:07.102Z] d21daea6bedb: Download complete
[2026-03-12T21:23:07.102Z] 755da17a7eb7: Download complete
[2026-03-12T21:23:07.102Z] 07a228716473: Download complete
[2026-03-12T21:23:07.432Z] 996ebb9e36b6: Download complete
[2026-03-12T21:23:07.432Z] df324bbc77e9: Download complete
[2026-03-12T21:23:09.397Z] 7e49dc6156b0: Download complete
[2026-03-12T21:23:09.762Z] 7e49dc6156b0: Pull complete
[2026-03-12T21:23:10.115Z] dc7496c268e6: Pull complete
[2026-03-12T21:23:10.115Z] a4e522598f72: Download complete
[2026-03-12T21:23:21.536Z] 2a5705c55486: Download complete
[2026-03-12T21:23:24.035Z] 6991a0f4eab0: Download complete
[2026-03-12T21:23:27.911Z] d0f7e6940ed1: Download complete
[2026-03-12T21:23:31.075Z] 592c16717e7e: Download complete
[2026-03-12T21:23:37.296Z] d0f7e6940ed1: Pull complete
[2026-03-12T21:23:38.363Z] a4e522598f72: Pull complete
[2026-03-12T21:23:42.062Z] 357c65e018dc: Download complete
[2026-03-12T21:23:42.062Z] d99e896c0730: Pull complete
[2026-03-12T21:23:42.062Z] c98db2d35709: Pull complete
[2026-03-12T21:23:42.062Z] 755da17a7eb7: Pull complete
[2026-03-12T21:23:42.062Z] 996ebb9e36b6: Pull complete
[2026-03-12T21:23:42.062Z] 2a5705c55486: Pull complete
[2026-03-12T21:23:47.242Z] 54bf9f058aab: Pull complete
[2026-03-12T21:23:47.242Z] d21daea6bedb: Pull complete
[2026-03-12T21:23:47.242Z] 07a228716473: Pull complete
[2026-03-12T21:23:47.242Z] df324bbc77e9: Pull complete
[2026-03-12T21:23:47.242Z] 6991a0f4eab0: Pull complete
[2026-03-12T21:23:47.242Z] 93c7693f5fea: Pull complete
[2026-03-12T21:24:28.821Z] e44503698da2: Download complete
[2026-03-12T21:24:39.889Z] Sending interrupt signal to process
[2026-03-12T21:24:42.767Z] script returned exit code 143

Build and Test / Matrix - CODEPATH = 'gfx950' / Matrix - CODEPATH = 'gfx950' / Matrix row orchestration / SCM Checkout / Check out from version control

Error in checkout step.

Failed in branch Matrix - CODEPATH = 'mfma'
Build log
[2026-03-12T21:03:56.998Z] The recommended git tool is: git
[2026-03-12T21:04:09.368Z] using credential rocm-repo-management-api
[2026-03-12T21:04:09.429Z] Cloning the remote Git repository
[2026-03-12T21:04:09.429Z] Using shallow clone with depth 1
[2026-03-12T21:04:09.541Z] Cloning repository https://github.com/ROCm/rocMLIR.git
[2026-03-12T21:04:09.591Z]  > git init /home/jenkins/agent/workspace/MLIR_mlir_PR-2285 # timeout=10
[2026-03-12T21:04:09.767Z] Fetching upstream changes from https://github.com/ROCm/rocMLIR.git
[2026-03-12T21:04:09.767Z]  > git --version # timeout=10
[2026-03-12T21:04:09.769Z]  > git --version # 'git version 2.34.1'
[2026-03-12T21:04:09.769Z] using GIT_ASKPASS to set credentials rocm-repo-management-api
[2026-03-12T21:04:10.091Z]  > git fetch --tags --force --progress --depth=1 -- https://github.com/ROCm/rocMLIR.git +refs/heads/*:refs/remotes/origin/* # timeout=600
[2026-03-12T21:24:40.589Z] ERROR: Checkout failed
[2026-03-12T21:24:40.589Z] java.lang.InterruptedException
[2026-03-12T21:24:40.589Z] 	at java.base/java.lang.Object.wait(Native Method)
[2026-03-12T21:24:40.589Z] 	at hudson.remoting.Request.call(Request.java:179)
[2026-03-12T21:24:40.589Z] 	at hudson.remoting.Channel.call(Channel.java:1107)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155)
[2026-03-12T21:24:40.589Z] 	at jdk.internal.reflect.GeneratedMethodAccessor1159.invoke(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git-client/jdk.proxy146/jdk.proxy146.$Proxy259.execute(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1221)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1311)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1278)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88)
[2026-03-12T21:24:40.589Z] 	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:49)
[2026-03-12T21:24:40.589Z] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[2026-03-12T21:24:40.589Z] 	at java.base/java.lang.Thread.run(Unknown Source)
[2026-03-12T21:24:40.589Z] ERROR: Maximum checkout retry attempts reached, aborting

Build and Test / Matrix - CODEPATH = 'gfx950' / Matrix - CODEPATH = 'gfx950' / Matrix row orchestration / SCM Checkout / Error signal

Error in error step, with arguments [SCM] Checkout failed on k8s-mi355-1-fx8tp: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException: Failed in branch Matrix - CODEPATH = 'mfma'.

[SCM] Checkout failed on k8s-mi355-1-fx8tp: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException: Failed in branch Matrix - CODEPATH = 'mfma'

Details

  • Set System Property (6 sec)
  • Kill old PR builds (1.2 sec)
  • Build and Test (59 min)
    • Matrix - CODEPATH = 'vanilla' (13 ms)
      • Matrix - CODEPATH = 'vanilla' (18 sec)
        • Matrix row orchestration (8 sec)
    • Matrix - CODEPATH = 'mfma' (17 ms)
      • Matrix - CODEPATH = 'mfma' (59 min)
        • Matrix row orchestration (59 min)
          • Health checks on k8s-mi100-1-nq72f (24 sec)
          • Node selected (1 sec)
          • SCM Checkout (34 min)
          • Prepare Docker environment (8 min 17 sec)
            • Shared Library: fixed E2E (14 min)
              Error: script returned exit code 1 - logs
    • Matrix - CODEPATH = 'navi21' (24 ms)
      • Matrix - CODEPATH = 'navi21' (18 sec)
        • Matrix row orchestration (7.9 sec)
    • Matrix - CODEPATH = 'navi3x' (15 ms)
      • Matrix - CODEPATH = 'navi3x' (59 min)
        • Matrix row orchestration (59 min)
    • Matrix - CODEPATH = 'navi4x' (13 ms)
      • Matrix - CODEPATH = 'navi4x' (59 min)
        • Matrix row orchestration (59 min)
          • Health checks on k8s-navi4x-1-690xb (19 sec)
          • Node selected (1.3 sec)
          • SCM Checkout (6 min 38 sec)
          • Prepare Docker environment (1 min 41 sec)
            Error: Failed in branch Matrix - CODEPATH = 'mfma' - logs
    • Matrix - CODEPATH = 'gfx950' (59 min)
      • Matrix - CODEPATH = 'gfx950' (59 min)
        • Matrix row orchestration (59 min)
          • Health checks on k8s-mi355-1-fx8tp (25 sec)
          • Node selected (1.1 sec)
          • SCM Checkout (20 min)
            Error: Failed in branch Matrix - CODEPATH = 'mfma' - logs
            Error: [SCM] Checkout failed on k8s-mi355-1-fx8tp: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException: Failed in branch Matrix - CODEPATH = 'mfma' - logs
  • Parameter sweeps (16 sec)
    • Matrix - CODEPATH = 'mfma' (8 ms)
      • Matrix - CODEPATH = 'mfma' (9.6 sec)
        • Matrix row orchestration (4.4 sec)
    • Matrix - CODEPATH = 'vanilla' (8 ms)
      • Matrix - CODEPATH = 'vanilla' (9.6 sec)
        • Matrix row orchestration (4.5 sec)
    • Matrix - CODEPATH = 'navi21' (9 ms)
      • Matrix - CODEPATH = 'navi21' (9.6 sec)
        • Matrix row orchestration (4.5 sec)
    • Matrix - CODEPATH = 'gfx950' (14 sec)
      • Matrix - CODEPATH = 'gfx950' (9.5 sec)
        • Matrix row orchestration (4.5 sec)
  • Tune MLIR kernels (23 sec)
    • Matrix - CHIP = 'gfx908' (19 ms)
      • Matrix - CHIP = 'gfx908' (14 sec)
        • Matrix row orchestration (6.9 sec)
    • Matrix - CHIP = 'gfx90a' (19 ms)
      • Matrix - CHIP = 'gfx90a' (14 sec)
        • Matrix row orchestration (6.9 sec)
    • Matrix - CHIP = 'gfx942' (13 ms)
      • Matrix - CHIP = 'gfx942' (14 sec)
        • Matrix row orchestration (6.9 sec)
    • Matrix - CHIP = 'gfx950' (13 ms)
      • Matrix - CHIP = 'gfx950' (14 sec)
        • Matrix row orchestration (6.9 sec)
    • Matrix - CHIP = 'gfx1100' (15 ms)
      • Matrix - CHIP = 'gfx1100' (14 sec)
        • Matrix row orchestration (6.9 sec)
    • Matrix - CHIP = 'gfx1201' (21 sec)
      • Matrix - CHIP = 'gfx1201' (14 sec)
        • Matrix row orchestration (7 sec)
  • Archive weekly tuning perfDB (1.1 sec)
  • Benchmark and Report Performance (26 sec)
    • Matrix - CHIP = 'gfx908' (8 ms)
      • Matrix - CHIP = 'gfx908' (16 sec)
        • Matrix row orchestration (7.7 sec)
    • Matrix - CHIP = 'gfx90a' (7 ms)
      • Matrix - CHIP = 'gfx90a' (16 sec)
        • Matrix row orchestration (7.8 sec)
    • Matrix - CHIP = 'gfx942' (8 ms)
      • Matrix - CHIP = 'gfx942' (16 sec)
        • Matrix row orchestration (7.8 sec)
    • Matrix - CHIP = 'gfx950' (9 ms)
      • Matrix - CHIP = 'gfx950' (16 sec)
        • Matrix row orchestration (7.8 sec)
    • Matrix - CHIP = 'gfx1030' (7 ms)
      • Matrix - CHIP = 'gfx1030' (16 sec)
        • Matrix row orchestration (7.8 sec)
    • Matrix - CHIP = 'gfx1100' (10 ms)
      • Matrix - CHIP = 'gfx1100' (16 sec)
        • Matrix row orchestration (7.9 sec)
    • Matrix - CHIP = 'gfx1201' (24 sec)
      • Matrix - CHIP = 'gfx1201' (16 sec)
        • Matrix row orchestration (7.9 sec)
  • MIGraphX (15 sec)
    • Matrix - CODEPATH = 'mfma' (20 ms)
      • Matrix - CODEPATH = 'mfma' (9.7 sec)
        • Matrix row orchestration (4.4 sec)
    • Matrix - CODEPATH = 'navi21' (17 ms)
      • Matrix - CODEPATH = 'navi21' (9.6 sec)
        • Matrix row orchestration (4.4 sec)
    • Matrix - CODEPATH = 'navi4x' (7 ms)
      • Matrix - CODEPATH = 'navi4x' (9.6 sec)
        • Matrix row orchestration (4.5 sec)
    • Matrix - CODEPATH = 'gfx950' (14 sec)
      • Matrix - CODEPATH = 'gfx950' (9.5 sec)
        • Matrix row orchestration (4.5 sec)
  • Code coverage (12 sec)
    • Matrix - CODEPATH = 'mfma' (9 ms)
      • Matrix - CODEPATH = 'mfma' (7.6 sec)
        • Matrix row orchestration (3.4 sec)
    • Matrix - CODEPATH = 'navi4x' (8 ms)
      • Matrix - CODEPATH = 'navi4x' (7.6 sec)
        • Matrix row orchestration (3.5 sec)
    • Matrix - CODEPATH = 'gfx950' (11 sec)
      • Matrix - CODEPATH = 'gfx950' (7.6 sec)
        • Matrix row orchestration (3.5 sec)
  • Declarative: Post Actions (1.3 sec)