← Back to Pull requests

Remove Dataproc Serverless xfail marks for AST JIT tests #17251

Closed
unknown closed this pull request without merging on Dec 02, 2026 10:49 UTC
View on GitHub
unknown unknown commented on Dec 02, 2026 07:59 UTC
Author

Fixes #16778.

Description

#16785 temporarily marked the AST JIT integration tests in ast_test.py and cpu_bridge_test.py as xfail on Dataproc Serverless because librtcx passed a CUkernel handle directly to cuOccupancyMaxPotentialBlockSize(), which fails with invalid resource handle on drivers older than CUDA 12.5 (such as the R550 driver on Dataproc Serverless 2.2).

The upstream fix landed in rapidsai/librtcx#24 (resolving the CUkernel via cuKernelGetFunction() before querying occupancy) and was picked up by cudf-spark-jni in NVIDIA/cudf-spark-jni#5497 (rtcx pin updated to d3e85e28, present on both release/26.12 and main).

This PR removes the temporary Dataproc Serverless xfail marks and helper definitions from ast_test.py and cpu_bridge_test.py (along with the now-unused is_dataproc_serverless_runtime import in ast_test.py), so all AST JIT integration tests run as normal required tests on Dataproc Serverless again.

Validation

  • Observed on rapids-it-dataproc-serverless-2.2 nightly CI (Dataproc Serverless 2.2, 26.12.0-SNAPSHOT):

  • - Before the librtcx pin update (build 588, cudf-spark-jni d83a1ddf): all 22 AST JIT cases in ast_test.py and all 16 AST JIT cases in cpu_bridge_test.py reported XFAIL.
    - After the librtcx pin update (build 590, cudf-spark-jni d54f2b28): all 16 cpu_bridge_test.py AST JIT cases flipped to XPASS.
    - Latest full run (build 598, plugin 730ebf0b50, cudf-spark-jni d0746260): all 32 marked AST JIT cases in ast_test.py and all 16 marked AST JIT cases in cpu_bridge_test.py reported XPASS (0 FAILED; the only remaining XFAIL in ast_test.py was the unrelated test_columnar_pow tracked by #89).
  • Ran locally on Spark 3.5.2 (buildver=352, NVIDIA RTX 5880 Ada, driver 580.159.03, freshly packaged dist built from release/26.12 c4effad97 with cudf-spark-jni d0746260; ast_test.py and cpu_bridge_test.py are identical between c4effad97 and main 66404ee9c):

  • - TESTS="ast_test.py cpu_bridge_test.py" TEST_PARALLEL=1 ./integration_tests/run_pyspark_from_build.sh --runtime_env dataproc_serverless -v: 307 passed, 1 xpassed (the single xpassed is unrelated test_columnar_pow[(Double, True)]; all 48 previously xfailed AST JIT cases passed without xfail marks).

    AI assistance: An AI coding assistant helped inspect the CI runs, remove the xfail marks, run local integration tests, and draft the PR description; the author reviewed and verified the changes.

    Checklists

    Documentation

  • Updated for new or modified user-facing features or behaviors

  • No user-facing change
  • Testing

  • Added or modified tests to cover new code paths

  • Covered by existing tests

  • (Please provide the names of the existing tests in the PR description.)
  • Not required
  • Performance

  • Tests ran and results are added in the PR description

  • Issue filed with a link in the PR description

  • Not required
  • Diff: 373 lines (+279 / -94) across 4 files Reviewer: res-life Review duration: 170m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 373 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #17251"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.9% · Safe to merge
    16.9%