Skip to content

acceptance: hide DBR environment noise from local test output - #8053

Draft
shreyas-goenka wants to merge 3 commits into
shreyas-goenka/dbr-template-fusefrom
shreyas-goenka/dbr-local-env-noise
Draft

shreyas-goenka wants to merge 3 commits into
shreyas-goenka/dbr-template-fusefrom
shreyas-goenka/dbr-local-env-noise

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Stacked on #8052. On DBR: unset the forced-color env vars the notebook sets, drop the SDK's runtime/<version> user-agent suffix, and name workspace temp dirs 001 like t.TempDir() since uv derives project names from it.

This pull request and its description were written by Isaac.

On DBR: unset the forced-color env vars the notebook sets, drop the SDK's runtime/<version> user-agent suffix, and name workspace temp dirs 001 like t.TempDir() since uv derives project names from it.

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: 2480c3a02 | Workflow run

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

33 tests: regression=0 unreleased=1 coverage=32 failing=0
test branch main (2ab1082) latest (v1.28.0)
TestAccept/bundle/resources/alerts/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/alerts/basic/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/synced_database_tables/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/synced_database_tables/basic/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/config_file/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/config_file/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/default_profile/host/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/default_profile/host/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/default_profile/no_host/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/default_profile/no_host/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/disabled/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/disabled/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/host/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/host/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/list_targets/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/list_targets/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/no_host/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/no_host/DMS=true ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/profile/DMS= ✅ ✅ ✅
TestAccept/bundle/strict_profile_match/profile/DMS=true ✅ ✅ ✅
TestAccept/bundle/templates-machinery/workspace_variable/runtime/DMS= ✅ ✅ ✅
TestAccept/bundle/templates-machinery/workspace_variable/runtime/DMS=true ✅ ✅ ✅
TestAccept/bundle/templates/dbt-sql-workspace-id/DMS= ✅ ✅ ✅
TestAccept/bundle/templates/default-minimal/profiles/DMS= ✅ ✅ ✅
TestAccept/cmd/aitools/mcp/drift-profile-missing ✅ ✅ ✅
TestAccept/cmd/auth/login/device-code/non-interactive/nominal ✅ ✅ ❌
TestAccept/cmd/auth/login/discovery ✅ ✅ ✅
TestAccept/cmd/auth/login/nominal ✅ ✅ ✅
TestAccept/cmd/auth/logout/stale-account-id-workspace-host ✅ ✅ ✅
TestAccept/cmd/auth/login/device-code/non-interactive/nominal: branch ✅ | main (2ab1082) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1418: Diff:
        --- cmd/auth/login/device-code/non-interactive/nominal/output.txt
        +++ /tmp/TestAcceptcmdauthlogindevice-codenon-interactivenominal4219881617/002/output.txt
        @@ -15,6 +15,9 @@
         === The first step stores the device code and saves no profile
         
         >>> find.py home
        +home/.databricks/aitools/auto-install.json
        +home/.databricks/aitools/auto-install.json.lock
        +home/.databricks/aitools/auto-install.lock
         home/.databricks/token-cache.json
         
         >>> cache_keys

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 2480c3a

Run: 45847137689

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 4 291 35 12:32
💚​ aws-windows-latest-4core-16gb 4 293 33 10:39
💚​ azure linux-2core-8gb 4 284 37 11:30
💚​ azure-windows-latest-4core-16gb 4 286 35 11:47
💚​ gcp linux-2core-8gb 4 288 36 12:27
💚​ gcp-windows-latest-4core-16gb 4 290 34 13:54
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
💚​ TestAccept/bundle/resources/alerts/basic 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/alerts/basic/DMS= 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/alerts/basic/DMS=true 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 9 slowest tests (at least 2 minutes):
duration env testname
3:49 aws-windows-latest-4core-16gb TestAccept
3:48 azure-windows-latest-4core-16gb TestAccept
3:44 gcp-windows-latest-4core-16gb TestAccept
2:58 aws linux-2core-8gb TestFilerReadWrite/dbfs
2:29 aws linux-2core-8gb TestFsCpDir/dbfs_to_dbfs
2:28 azure linux-2core-8gb TestFsCpDir/dbfs_to_dbfs
2:07 gcp-windows-latest-4core-16gb TestFsCpDirToDirFileNotOverwritten/dbfs_to_dbfs
2:06 gcp-windows-latest-4core-16gb TestFsCpFileToDirWithOverwriteFlag/dbfs_to_dbfs
2:04 aws linux-2core-8gb TestTelemetryEndpoint

shreyas-goenka and others added 2 commits November 26, 2026 13:00
Co-authored-by: Isaac <no-reply@databricks.com>
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