Skip to content

retire deltaDebug.py references, replace with whittle.py - #3991

Merged
maliberty merged 3 commits into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:delta-debug-pruned
Mar 17, 2026
Merged

maliberty merged 3 commits into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:delta-debug-pruned

Conversation

@oharboe

@oharboe oharboe commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator

@vvbandeira Note: test_delta_debug.sh must also be pruned from Jenkins test files if referenced there. No such references were found currently.

Note: test_delta_debug.sh must also be pruned from Jenkins test
files if referenced there. No such references were found currently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe

oharboe commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator Author

@maliberty @vvbandeira Could you remove deltaDebug.py testing from ORFS?

When you have done so, retrigger this PR & ready for automerge.

PR #3991 Build Failure Analysis

Summary

PR #3991 ("retire deltaDebug.py references, replace with whittle.py") fails in
Jenkins CI because the pipeline still tries to execute the deleted script
flow/test/test_delta_debug.sh.

Root Cause

The commit (5467434) deleted flow/test/test_delta_debug.sh, but the Jenkins
shared library that orchestrates CI tests still has a "delta debug" test slug
that runs this script.

The exact error from the build log:

./flow/test/test_delta_debug.sh: not found
ERROR: Test delta debug failed
Finished: FAILURE

Where the Problem Lives

The Jenkinsfile at jenkins/public_tests_all.Jenkinsfile imports a shared
library:

@Library('utils@orfs-v2.3.6') _

The runTests() function from this library defines the test slugs (including
"delta debug") and maps them to shell scripts. This configuration is not in
the repo
-- it lives in the external Jenkins shared library utils at tag
orfs-v2.3.6.

What Needs to Happen

  1. Update the Jenkins shared library (utils):

    • Remove the "delta debug" test slug entirely, or
    • testing in the future will happen inside OpenROAD from bazelisk test ..., no CI configuration will be necessary.
  2. Bump the library tag in jenkins/public_tests_all.Jenkinsfile (line 1)
    to the new version that no longer references test_delta_debug.sh.

All Other Tests Passed

All 45+ parallel design tests across asap7, gf180, ihp-sg13g2, nangate45,
sky130hd, and sky130hs completed successfully. The only failure was the
missing test_delta_debug.sh script.

@maliberty

Copy link
Copy Markdown
Member

Currently we run sh './flow/test/test_delta_debug.sh' in the CI. What should replace it?

@oharboe

oharboe commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator Author

Currently we run sh './flow/test/test_delta_debug.sh' in the CI. What should replace it?

There is a bazel test alongside whittle.py in OpenROAD, no action needed from @vvbandeira

@oharboe

oharboe commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator Author

@vvbandeira please delete delta_debug tests from Jenkins so this will go green.

@maliberty please confirm now if you are OK, or wait until call to discuss

@oharboe

oharboe commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator Author

@vvbandeira @maliberty I've made test_delta_debug.sh a no-op so it can be pruned from Jenkins at leisure.

@oharboe

oharboe commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator Author

@maliberty Automerge?

@oharboe

oharboe commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator Author

@maliberty If pr-head fails and pr-merge works, then automerge will merge?

@oharboe

oharboe commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator Author

@vvbandeira @maliberty Unrelated pr-head failure. This is the suspect I lined up The-OpenROAD-Project/OpenROAD#9781

@maliberty
maliberty requested a review from vvbandeira March 16, 2026 22:58
echo "Test deltaDebug.py with a make invocation"
make DESIGN_CONFIG=designs/asap7/gcd/config.mk clean_all floorplan
openroad -exit -python ../tools/OpenROAD/etc/deltaDebug.py --persistence 2 --use_stdout --error_string " 100 | " --base_db_path results/asap7/gcd/base/2_floorplan.odb --step "make DESIGN_CONFIG=designs/asap7/gcd/config.mk do-3_1_place_gp_skip_io"
# Delete me when this file is no longer invoked from Jenkins CI

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vvbandeira for you to take care of

@maliberty
maliberty merged commit 489ff76 into The-OpenROAD-Project:master Mar 17, 2026
5 checks passed
@oharboe
oharboe deleted the delta-debug-pruned branch April 19, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants