Skip to content

acc: replace retry-warning env var with SuppressLines - #7192

Merged
denik merged 1 commit into
mainfrom
denik/disable-warning
Oct 27, 2026
Merged

denik merged 1 commit into
mainfrom
denik/disable-warning

Conversation

@denik

@denik denik commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

Better for error analysis to see the warnings & can be extended to other & flaky output instead of grepping it out.

Changes

Follow-up to #7149

Instead of an env var that disables the retry warning in the CLI, the acceptance runner gets SuppressLines: lines matching a named pattern are removed from the compared output and written to the test log. Root test.toml sets SuppressLines.warn_retry; the 6 tests that assert the warning set it to "". Reverts DATABRICKS_BUNDLE_RETRY_DISABLE_WARNING.

This pull request and its description were written by Isaac.

…s by default

Instead of disabling the retry warning in the CLI, the acceptance runner moves
lines matching SuppressLines patterns from the compared output to the test log.
Tests that assert the warning disable the named pattern with an empty value.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Commit: b97d8239f | Workflow run

Regression test report

Selected 7 changed tests (limit=20, 0 not selected)

10 tests: regression=0 unreleased=0 coverage=10 failing=0

test branch main (accb3df) latest (v1.22.1)
TestAccept/bundle/deploy/files/upload-504/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/files/upload-504/DMS=true ✅ ✅ ✅
TestAccept/bundle/sync/upload-504/DMS= ✅ ✅ ✅
TestAccept/bundle/sync/upload-504/DMS=true ✅ ✅ ✅
TestAccept/bundle/upload/internal_server_error/DMS= ✅ ✅ ✅
TestAccept/bundle/upload/internal_server_error/DMS=true ✅ ✅ ✅
TestAccept/cmd/sync/get-status-504 ✅ ✅ ✅
TestAccept/cmd/sync/upload-504 ✅ ✅ ✅
TestAccept/selftest/suppresslines ✅ ✅ ✅
TestAccept/selftest/suppresslines/keep ✅ ✅ ✅

@denik denik changed the title acceptance: replace retry-warning env var with SuppressLines acc: replace retry-warning env var with SuppressLines Oct 27, 2026
@denik
denik marked this pull request as ready for review October 27, 2026 11:39
@denik
denik requested review from a team as code owners October 27, 2026 11:39
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b97d823

Run: 40494739378

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 281 22 6:20
✅​ aws-windows-latest-4core-16gb 283 20 4:22
✅​ azure linux-2core-8gb 280 22 5:56
✅​ azure-windows-latest-4core-16gb 282 20 5:47
✅​ gcp linux-2core-8gb 281 22 6:08
✅​ gcp-windows-latest-4core-16gb 283 20 5:17
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:39 azure-windows-latest-4core-16gb TestAccept
5:10 gcp-windows-latest-4core-16gb TestAccept
4:18 aws-windows-latest-4core-16gb TestAccept
3:55 gcp linux-2core-8gb TestAccept
3:46 aws linux-2core-8gb TestAccept
3:41 azure linux-2core-8gb TestAccept

@denik
denik added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 6afbb24 Oct 27, 2026
28 checks passed
@denik
denik deleted the denik/disable-warning branch October 27, 2026 16:08
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 6afbb24

Run: 40538040380

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 1467 1217 145:48
✅​ aws-windows-latest-4core-16gb 1392 1242 158:16
✅​ azure linux-2core-8gb 1316 1269 118:12
✅​ azure-windows-latest-4core-16gb 1241 1294 126:13
✅​ gcp linux-2core-8gb 1303 1274 127:13
✅​ gcp-windows-latest-4core-16gb 1228 1299 138:09
Top 50 slowest tests (at least 2 minutes):
duration env testname
14:15 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
11:04 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
8:49 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:32 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
8:20 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:16 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
8:12 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
8:11 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:05 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
7:56 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:53 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:48 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:44 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
7:43 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
7:40 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:36 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
7:32 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
7:32 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:19 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
7:18 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
7:16 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
7:14 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
7:04 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
7:03 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
7:02 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:00 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
6:56 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
6:55 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
6:53 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
6:45 aws linux-2core-8gb TestAccept/bundle/resources/clusters/resize-terminated-fallback/DMS=
6:45 azure-windows-latest-4core-16gb TestAccept/bundle/deploy/spark-jar-task/DMS=
6:45 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:35 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:32 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
6:31 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
6:21 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:12 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:12 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
6:06 azure linux-2core-8gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
6:02 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
5:50 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
5:44 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
5:41 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
5:34 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
5:34 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
5:28 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=true
5:27 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:24 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
5:22 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:17 aws linux-2core-8gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1

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

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants