Skip to content

acceptance: opt more tests out of local DBR runs - #8064

Draft
shreyas-goenka wants to merge 2 commits into
shreyas-goenka/dbr-local-timeouts-venvfrom
shreyas-goenka/dbr-local-optouts-2
Draft

shreyas-goenka wants to merge 2 commits into
shreyas-goenka/dbr-local-timeouts-venvfrom
shreyas-goenka/dbr-local-optouts-2

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Stacked on #8063. Second round of RunsOnDbr = false (39 tests) from a full local DBR run: dbr_version in telemetry, more source-linked deploy output, wheel/venv builds that time out on the workspace file system, Python versions the archive lacks, yamlfmt, I/O errors after killing the CLI mid-write, and the two invariant suites that redeploy every resource config.

This pull request and its description were written by Isaac.

Second round from a full local DBR run: telemetry includes dbr_version on DBR, more source-linked deploy output, wheel and venv builds that time out on the workspace file system, Python versions the archive does not ship, yamlfmt, I/O errors after killing the CLI mid-write, and the two invariant suites that redeploy every resource config.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: dd22c9d10 | Workflow run

Selected 20 changed tests (limit=20, 156 not selected)

35 tests: regression=0 unreleased=1 coverage=34 failing=0
test branch main (2ab1082) latest (v1.28.0)
TestAccept/air/image-push ✅ ✅ ❌
TestAccept/air/run ✅ ✅ ✅
TestAccept/air/run-submit ✅ ✅ ✅
TestAccept/apps/validate ✅ ✅ ✅
TestAccept/apps/validate-package-manager ✅ ✅ ✅
TestAccept/bundle/artifacts/issue_3109/DMS= ✅ ✅ ✅
TestAccept/bundle/artifacts/issue_3109/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cli_defaults/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cli_defaults/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/config_edits/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/config_edits/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/flushed_cache/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/flushed_cache/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/formatting_preserved/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/formatting_preserved/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_fields/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_fields/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_multiple_tasks/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_multiple_tasks/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_params_variables/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_params_variables/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_pipeline_task/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_pipeline_task/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_selectors/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_selectors/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_files/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_files/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_resources/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_json/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_json/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_no_changes/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_no_changes/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/pipeline_fields/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/pipeline_fields/DMS=true ✅ ✅ ✅
TestAccept/air/image-push: branch ✅ | main (2ab1082) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1434: Diff:
        --- air/image-push/output.txt
        +++ /tmp/TestAcceptairimage-push3956801128/002/output.txt
        @@ -8,340 +8,6 @@
         Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
         Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
         Using local source image nvidia/cuda:13.4.1
        -Source image nvidia/cuda:13.4.1 is 7.1 GB uncompressed.
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04
        -Docker push progress
        -Pushed image.
        -Compressed image size: 3.1 GB (layers: 2).
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -Now you can set `environment.unity_catalog_image = my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04` in your YAML config and create a workload with `databricks air run -f config.yaml`.
        +Error: source image nvidia/cuda:13.4.1 has platform "linux/amd64|7140000000|"; AIR requires linux/amd64: use --pull to fetch a compatible image, or rebuild the source for linux/amd64
         
        -=== inferred region and workspace ID requests
        -
        ->>> print_requests.py --get //api
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/preview/scim/v2/Me",
        -  "q": {
        -    "excludedAttributes": "entitlements"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.1/unity-catalog/metastore_summary"
        -}
        -
        -=== docker commands
        -image ls --quiet nvidia/cuda:13.4.1
        -image inspect --format {{.Os}}/{{.Architecture}}|{{.Size}}|{{with .Config}}{{.WorkingDir}}{{end}} nvidia/cuda:13.4.1
        -tag nvidia/cuda:13.4.1 [WORKSPACE_ID].container.us-west-2.localhost/my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04
        -push [WORKSPACE_ID].container.us-west-2.localhost/my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04
        -manifest inspect --verbose [WORKSPACE_ID].container.us-west-2.localhost/my-catalog.my-schema.cuda:13.4.1-cudnn-devel-ubuntu26.04
        -
        -=== missing image is pulled for AIR; destination defaults to source
        -
        ->>> databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Pulling source image example/image:v1 for linux/amd64
        -Docker pull progress
        -Source image example/image:v1 is 7.1 GB uncompressed.
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Docker push progress
        -Pushed image.
        -Compressed image size: 3.1 GB (layers: 2).
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -Now you can set `environment.unity_catalog_image = main.training.image:v1` in your YAML config and create a workload with `databricks air run -f config.yaml`.
        -
        -=== forced pull and JSON output
        -
        ->>> databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training --pull -o json
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Pulling source image example/image:v1 for linux/amd64
        -Docker pull progress
        -Source image example/image:v1 is 7.1 GB uncompressed.
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Docker push progress
        -Pushed image.
        -Compressed image size: 3.1 GB (layers: 2).
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -
        ->>> jq -e {v, data} [TEST_TMP_DIR]/home/result.json
        -{
        -  "v": 1,
        -  "data": {
        -    "unity_catalog_image": "main.training.image:v1",
        -    "registry_image": "[WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1"
        -  }
        -}
        -
        -=== image with WORKDIR warns but is pushed
        -
        ->>> databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Source image example/image:v1 is 7.1 GB uncompressed.
        -Warning: source image example/image:v1 sets WORKDIR /app. Use absolute paths in your command and scripts. See how AI Runtime command paths work:
        -  AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#command
        -  Azure: https://learn.microsoft.com/azure/databricks/machine-learning/ai-runtime/connecting/cli/yaml-config#command
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Docker push progress
        -Pushed image.
        -Compressed image size: 3.1 GB (layers: 2).
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -Now you can set `environment.unity_catalog_image = main.training.image:v1` in your YAML config and create a workload with `databricks air run -f config.yaml`.
        -
        -=== image with WORKDIR / does not warn
        -
        ->>> databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Source image example/image:v1 is 7.1 GB uncompressed.
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Docker push progress
        -Pushed image.
        -Compressed image size: 3.1 GB (layers: 2).
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -Now you can set `environment.unity_catalog_image = main.training.image:v1` in your YAML config and create a workload with `databricks air run -f config.yaml`.
        -
        -=== daemon failure must not pull
        -
        ->>> musterr databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Cannot connect to the Docker daemon
        -Error: check local source image example/image:v1 (ensure Docker is running and accessible): exit status 1
        -
        -=== inspect failure must not pull
        -
        ->>> musterr databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Docker inspect failed
        -Error: inspect source image example/image:v1: exit status 1
        -
        -=== unreadable image sizes warn but the image is pushed
        -
        ->>> databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Warning: could not read the uncompressed size of source image example/image:v1 (got "").
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Docker push progress
        -Pushed image.
        -Warning: could not read the compressed size of [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1: no such manifest: [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -For Databricks Artifact Registry image limits, see https://docs.databricks.com/aws/en/artifact-registry/#limitations
        -Now you can set `environment.unity_catalog_image = main.training.image:v1` in your YAML config and create a workload with `databricks air run -f config.yaml`.
        -
        -=== incompatible local image must not be pushed
        -
        ->>> musterr databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Error: source image example/image:v1 has platform "linux/arm64"; AIR requires linux/amd64: use --pull to fetch a compatible image, or rebuild the source for linux/amd64
        -
        -=== incompatible pulled image must not be pushed
        -
        ->>> musterr databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training --pull
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Pulling source image example/image:v1 for linux/amd64
        -Docker pull progress
        -Error: source image example/image:v1 has platform "linux/arm64"; AIR requires linux/amd64: use --pull to fetch a compatible image, or rebuild the source for linux/amd64
        -
        -=== rejected push still links the registry limits
        -
        ->>> musterr databricks air images push -p docker-test -s example/image:v1 --catalog main --schema training
        -Warning: This feature is in Preview. APIs may change, and the workspace must enable the Preview features.
        -Pushing example/image:v1 as main.training.image:v1 using profile docker-test
        -Configured Docker credential helper for [WORKSPACE_ID].container.us-west-2.localhost
        -Updated Docker config: [TEST_TMP_DIR]/home/docker/config.json
        -Installed Docker credential helper: [TEST_TMP_DIR]/home/bin/docker-credential-databricks
        -Using local source image example/image:v1
        -Source image example/image:v1 is 7.1 GB uncompressed.
        -Tagging image as [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
        -Pushing image to [WORKSPACE_ID].container.us-west-2.localhost/main.training.image:v1
... (146 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: dd22c9d

Run: 45857579627

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 356 45 11:38
💚​ aws-windows-latest-4core-16gb 1 292 65 4:53
💚​ azure linux-2core-8gb 1 355 45 8:58
💚​ azure-windows-latest-4core-16gb 1 291 65 4:45
💚​ gcp linux-2core-8gb 1 356 45 9:55
💚​ gcp-windows-latest-4core-16gb 1 292 65 4:12
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 10 slowest tests (at least 2 minutes):
duration env testname
6:39 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:18 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
4:00 azure-windows-latest-4core-16gb TestAccept
3:54 aws-windows-latest-4core-16gb TestAccept
3:11 gcp-windows-latest-4core-16gb TestAccept
2:38 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
2:34 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
2:27 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
2:22 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
2:04 gcp linux-2core-8gb TestAccept

Co-authored-by: Isaac <no-reply@databricks.com>

This branch has not been deployed

No deployments
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