From 94e3d3dd9dbbbf43bdb4053915e12b0ee8c73570 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 12 Feb 2026 16:04:18 +0100 Subject: [PATCH 01/15] testserver: add job run output endpoint and Python wheel execution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add GET /api/2.2/jobs/runs/get-output endpoint, simulate cloud-like RUNNING→TERMINATED job run transitions, and execute PythonWheelTasks locally using uv to enable local acceptance testing of wheel workflows. Co-Authored-By: Claude Opus 4.6 --- libs/testserver/fake_workspace.go | 10 +- libs/testserver/handlers.go | 4 + libs/testserver/jobs.go | 195 +++++++++++++++++++++++++++++- 3 files changed, 200 insertions(+), 9 deletions(-) diff --git a/libs/testserver/fake_workspace.go b/libs/testserver/fake_workspace.go index 91b25ea967..e65ddec16b 100644 --- a/libs/testserver/fake_workspace.go +++ b/libs/testserver/fake_workspace.go @@ -126,8 +126,9 @@ type FakeWorkspace struct { files map[string]FileEntry repoIdByPath map[string]int64 - Jobs map[int64]jobs.Job - JobRuns map[int64]jobs.Run + Jobs map[int64]jobs.Job + JobRuns map[int64]jobs.Run + JobRunOutputs map[int64]jobs.RunOutput Pipelines map[string]pipelines.GetPipelineResponse PipelineUpdates map[string]bool Monitors map[string]catalog.MonitorInfo @@ -252,8 +253,9 @@ func NewFakeWorkspace(url, token string) *FakeWorkspace { files: make(map[string]FileEntry), repoIdByPath: make(map[string]int64), - Jobs: map[int64]jobs.Job{}, - JobRuns: map[int64]jobs.Run{}, + Jobs: map[int64]jobs.Job{}, + JobRuns: map[int64]jobs.Run{}, + JobRunOutputs: map[int64]jobs.RunOutput{}, Grants: map[string][]catalog.PrivilegeAssignment{}, Pipelines: map[string]pipelines.GetPipelineResponse{}, PipelineUpdates: map[string]bool{}, diff --git a/libs/testserver/handlers.go b/libs/testserver/handlers.go index 6bc2ccd4b2..06a4df2663 100644 --- a/libs/testserver/handlers.go +++ b/libs/testserver/handlers.go @@ -253,6 +253,10 @@ func AddDefaultHandlers(server *Server) { return req.Workspace.JobsGetRun(req) }) + server.Handle("GET", "/api/2.2/jobs/runs/get-output", func(req Request) any { + return req.Workspace.JobsGetRunOutput(req) + }) + server.Handle("GET", "/api/2.2/jobs/runs/list", func(req Request) any { return MapList(req.Workspace, req.Workspace.JobRuns, "runs") }) diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 38870bea49..c2cc3c2cb6 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -3,8 +3,12 @@ package testserver import ( "encoding/json" "fmt" + "os" + "os/exec" + "path/filepath" "sort" "strconv" + "strings" "github.com/databricks/databricks-sdk-go/service/compute" "github.com/databricks/databricks-sdk-go/service/jobs" @@ -182,29 +186,168 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { defer s.LockUnlock()() - if _, ok := s.Jobs[request.JobId]; !ok { + job, ok := s.Jobs[request.JobId] + if !ok { return Response{StatusCode: 404} } runId := nextID() + runName := "run-name" + if job.Settings != nil && job.Settings.Name != "" { + runName = job.Settings.Name + } + + // Build task list with individual RunIds, mirroring cloud behavior. + // Execute PythonWheelTasks locally and store their output. + var tasks []jobs.RunTask + if job.Settings != nil { + for _, t := range job.Settings.Tasks { + taskRunId := nextID() + taskRun := jobs.RunTask{ + RunId: taskRunId, + TaskKey: t.TaskKey, + State: &jobs.RunState{ + LifeCycleState: jobs.RunLifeCycleStateTerminated, + ResultState: jobs.RunResultStateSuccess, + }, + } + tasks = append(tasks, taskRun) + + if t.PythonWheelTask != nil { + logs, err := s.executePythonWheelTask(t) + if err != nil { + taskRun.State.ResultState = jobs.RunResultStateFailed + s.JobRunOutputs[taskRunId] = jobs.RunOutput{ + Error: err.Error(), + } + } else { + s.JobRunOutputs[taskRunId] = jobs.RunOutput{ + Logs: logs, + } + } + } + } + } + s.JobRuns[runId] = jobs.Run{ RunId: runId, + JobId: request.JobId, State: &jobs.RunState{LifeCycleState: jobs.RunLifeCycleStateRunning}, - RunPageUrl: fmt.Sprintf("%s/job/run/%d", s.url, runId), + RunPageUrl: fmt.Sprintf("%s/?o=900800700600#job/%d/run/%d", s.url, request.JobId, runId), RunType: jobs.RunTypeJobRun, - RunName: "run-name", + RunName: runName, + Tasks: tasks, } return Response{Body: jobs.RunNowResponse{RunId: runId}} } +// executePythonWheelTask runs a python wheel task locally using uv. +// It finds whl files in the task's libraries, installs them in a temp venv, +// and runs the entry point. +func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { + tmpDir, err := os.MkdirTemp("", "wheel-task-*") + if err != nil { + return "", fmt.Errorf("failed to create temp dir: %w", err) + } + defer os.RemoveAll(tmpDir) + + // Extract whl files from the fake workspace to the temp dir. + var whlPaths []string + for _, lib := range task.Libraries { + if lib.Whl == "" { + continue + } + data := s.files[lib.Whl].Data + if len(data) == 0 { + return "", fmt.Errorf("wheel file not found in workspace: %s", lib.Whl) + } + localPath := filepath.Join(tmpDir, filepath.Base(lib.Whl)) + if err := os.WriteFile(localPath, data, 0o644); err != nil { + return "", fmt.Errorf("failed to write wheel file: %w", err) + } + whlPaths = append(whlPaths, localPath) + } + + if len(whlPaths) == 0 { + return "", fmt.Errorf("no wheel libraries found in task") + } + + // Determine Python version from spark_version (e.g. "13.3.x-snapshot-scala2.12" -> 3.10). + pythonVersion := sparkVersionToPython(task) + + venvDir := filepath.Join(tmpDir, ".venv") + + // Create venv and install wheels using uv. + uvArgs := []string{"venv", "-q", "--python", pythonVersion, venvDir} + if out, err := exec.Command("uv", uvArgs...).CombinedOutput(); err != nil { + return "", fmt.Errorf("uv venv failed: %s\n%s", err, out) + } + + installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(venvDir, "bin", "python")} + installArgs = append(installArgs, whlPaths...) + if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { + return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) + } + + // Run the entry point using runpy with sys.argv[0] set to the package name, + // matching Databricks cloud behavior. + wt := task.PythonWheelTask + script := fmt.Sprintf("import sys; sys.argv[0] = %q; from runpy import run_module; run_module(%q, run_name='__main__')", wt.PackageName, wt.PackageName) + runArgs := []string{"-c", script} + runArgs = append(runArgs, wt.Parameters...) + + cmd := exec.Command(filepath.Join(venvDir, "bin", "python"), runArgs...) + if len(wt.NamedParameters) > 0 { + cmd.Env = os.Environ() + for k, v := range wt.NamedParameters { + cmd.Args = append(cmd.Args, fmt.Sprintf("--%s=%s", k, v)) + } + } + + output, err := cmd.CombinedOutput() + if err != nil { + return string(output), fmt.Errorf("wheel task execution failed: %s\n%s", err, output) + } + + return string(output), nil +} + +// sparkVersionToPython maps Databricks Runtime spark_version to Python version. +func sparkVersionToPython(task jobs.Task) string { + sv := "" + if task.NewCluster != nil { + sv = task.NewCluster.SparkVersion + } + + // Extract major version from strings like "13.3.x-snapshot-scala2.12" or "15.4.x-scala2.12". + parts := strings.SplitN(sv, ".", 2) + if len(parts) >= 1 { + major, err := strconv.Atoi(parts[0]) + if err == nil { + switch { + case major >= 16: + return "3.12" + case major >= 15: + return "3.11" + case major >= 13: + return "3.10" + default: + return "3.9" + } + } + } + + return "3.10" +} + func (s *FakeWorkspace) JobsGetRun(req Request) Response { runId := req.URL.Query().Get("run_id") runIdInt, err := strconv.ParseInt(runId, 10, 64) if err != nil { return Response{ StatusCode: 400, - Body: fmt.Sprintf("Failed to parse job id: %s: %v", err, runId), + Body: fmt.Sprintf("Failed to parse run id: %s: %v", err, runId), } } @@ -215,10 +358,52 @@ func (s *FakeWorkspace) JobsGetRun(req Request) Response { return Response{StatusCode: 404} } - run.State.LifeCycleState = jobs.RunLifeCycleStateTerminated + // Simulate cloud behavior: first poll returns RUNNING, next returns TERMINATED SUCCESS. + if run.State.LifeCycleState == jobs.RunLifeCycleStateRunning { + // Transition stored state to TERMINATED for the next poll. + run.State = &jobs.RunState{ + LifeCycleState: jobs.RunLifeCycleStateTerminated, + ResultState: jobs.RunResultStateSuccess, + } + for i := range run.Tasks { + run.Tasks[i].State = &jobs.RunState{ + LifeCycleState: jobs.RunLifeCycleStateTerminated, + ResultState: jobs.RunResultStateSuccess, + } + } + s.JobRuns[runIdInt] = run + + // Return RUNNING for this poll (before the transition). + runResp := run + runResp.State = &jobs.RunState{ + LifeCycleState: jobs.RunLifeCycleStateRunning, + } + return Response{Body: runResp} + } + return Response{Body: run} } +func (s *FakeWorkspace) JobsGetRunOutput(req Request) Response { + runId := req.URL.Query().Get("run_id") + runIdInt, err := strconv.ParseInt(runId, 10, 64) + if err != nil { + return Response{ + StatusCode: 400, + Body: fmt.Sprintf("Failed to parse run id: %s: %v", err, runId), + } + } + + defer s.LockUnlock()() + + output, ok := s.JobRunOutputs[runIdInt] + if !ok { + return Response{Body: jobs.RunOutput{}} + } + + return Response{Body: output} +} + func setSourceIfNotSet(job jobs.Job) jobs.Job { if job.Settings != nil { source := "WORKSPACE" From df7468b0e292f3d10d99f9369b4aea23f1a4dc23 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 12 Feb 2026 16:12:32 +0100 Subject: [PATCH 02/15] testserver: cache cluster venvs for Python wheel tasks Cache Python venvs per existing_cluster_id, matching cloud behavior where libraries installed on running clusters are reused across job runs. Wheels with the same workspace path are not reinstalled, so re-deploying a wheel with the same version but different content will use the cached version. Co-Authored-By: Claude Opus 4.6 --- libs/testserver/fake_workspace.go | 32 +++++++++-- libs/testserver/jobs.go | 93 ++++++++++++++++++++++--------- libs/testserver/server.go | 6 ++ 3 files changed, 98 insertions(+), 33 deletions(-) diff --git a/libs/testserver/fake_workspace.go b/libs/testserver/fake_workspace.go index e65ddec16b..e558621af4 100644 --- a/libs/testserver/fake_workspace.go +++ b/libs/testserver/fake_workspace.go @@ -5,6 +5,7 @@ import ( "encoding/binary" "encoding/json" "fmt" + "os" "path" "path/filepath" "strings" @@ -126,9 +127,9 @@ type FakeWorkspace struct { files map[string]FileEntry repoIdByPath map[string]int64 - Jobs map[int64]jobs.Job - JobRuns map[int64]jobs.Run - JobRunOutputs map[int64]jobs.RunOutput + Jobs map[int64]jobs.Job + JobRuns map[int64]jobs.Run + JobRunOutputs map[int64]jobs.RunOutput Pipelines map[string]pipelines.GetPipelineResponse PipelineUpdates map[string]bool Monitors map[string]catalog.MonitorInfo @@ -166,6 +167,10 @@ type FakeWorkspace struct { PostgresBranches map[string]postgres.Branch PostgresEndpoints map[string]postgres.Endpoint PostgresOperations map[string]postgres.Operation + + // clusterVenvs caches Python venvs per existing cluster ID, + // matching cloud behavior where libraries are cached on running clusters. + clusterVenvs map[string]*clusterEnv } func (s *FakeWorkspace) LockUnlock() func() { @@ -253,9 +258,9 @@ func NewFakeWorkspace(url, token string) *FakeWorkspace { files: make(map[string]FileEntry), repoIdByPath: make(map[string]int64), - Jobs: map[int64]jobs.Job{}, - JobRuns: map[int64]jobs.Run{}, - JobRunOutputs: map[int64]jobs.RunOutput{}, + Jobs: map[int64]jobs.Job{}, + JobRuns: map[int64]jobs.Run{}, + JobRunOutputs: map[int64]jobs.RunOutput{}, Grants: map[string][]catalog.PrivilegeAssignment{}, Pipelines: map[string]pipelines.GetPipelineResponse{}, PipelineUpdates: map[string]bool{}, @@ -288,6 +293,7 @@ func NewFakeWorkspace(url, token string) *FakeWorkspace { PostgresBranches: map[string]postgres.Branch{}, PostgresEndpoints: map[string]postgres.Endpoint{}, PostgresOperations: map[string]postgres.Operation{}, + clusterVenvs: map[string]*clusterEnv{}, Alerts: map[string]sql.AlertV2{}, Experiments: map[string]ml.GetExperimentResponse{}, ModelRegistryModels: map[string]ml.Model{}, @@ -464,6 +470,20 @@ func (s *FakeWorkspace) DirectoryExists(path string) bool { return exists } +// clusterEnv represents a cached Python venv for an existing cluster. +type clusterEnv struct { + dir string // base temp directory containing the venv + venvDir string // path to .venv inside dir + installedLibs map[string]bool // workspace paths of already-installed wheels +} + +// Cleanup removes all cached cluster venvs. +func (s *FakeWorkspace) Cleanup() { + for _, env := range s.clusterVenvs { + os.RemoveAll(env.dir) + } +} + // jsonConvert saves input to a value pointed by output func jsonConvert(input, output any) error { writer := new(bytes.Buffer) diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index c2cc3c2cb6..ff7f4d18bc 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -243,51 +243,49 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { } // executePythonWheelTask runs a python wheel task locally using uv. -// It finds whl files in the task's libraries, installs them in a temp venv, -// and runs the entry point. +// For tasks using existing_cluster_id, the venv is cached per cluster to match +// cloud behavior where libraries are cached on running clusters. func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { - tmpDir, err := os.MkdirTemp("", "wheel-task-*") + env, cleanup, err := s.getOrCreateClusterEnv(task) if err != nil { - return "", fmt.Errorf("failed to create temp dir: %w", err) + return "", err + } + if cleanup != nil { + defer cleanup() } - defer os.RemoveAll(tmpDir) - // Extract whl files from the fake workspace to the temp dir. - var whlPaths []string + // Install only wheels not yet present in this cluster env, + // matching cloud behavior where same library path is not reinstalled. + var newWhlPaths []string for _, lib := range task.Libraries { if lib.Whl == "" { continue } + if env.installedLibs[lib.Whl] { + continue + } data := s.files[lib.Whl].Data if len(data) == 0 { return "", fmt.Errorf("wheel file not found in workspace: %s", lib.Whl) } - localPath := filepath.Join(tmpDir, filepath.Base(lib.Whl)) + localPath := filepath.Join(env.dir, filepath.Base(lib.Whl)) if err := os.WriteFile(localPath, data, 0o644); err != nil { return "", fmt.Errorf("failed to write wheel file: %w", err) } - whlPaths = append(whlPaths, localPath) + newWhlPaths = append(newWhlPaths, localPath) + env.installedLibs[lib.Whl] = true } - if len(whlPaths) == 0 { - return "", fmt.Errorf("no wheel libraries found in task") - } - - // Determine Python version from spark_version (e.g. "13.3.x-snapshot-scala2.12" -> 3.10). - pythonVersion := sparkVersionToPython(task) - - venvDir := filepath.Join(tmpDir, ".venv") - - // Create venv and install wheels using uv. - uvArgs := []string{"venv", "-q", "--python", pythonVersion, venvDir} - if out, err := exec.Command("uv", uvArgs...).CombinedOutput(); err != nil { - return "", fmt.Errorf("uv venv failed: %s\n%s", err, out) + if len(newWhlPaths) > 0 { + installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(env.venvDir, "bin", "python")} + installArgs = append(installArgs, newWhlPaths...) + if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { + return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) + } } - installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(venvDir, "bin", "python")} - installArgs = append(installArgs, whlPaths...) - if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { - return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) + if len(env.installedLibs) == 0 { + return "", fmt.Errorf("no wheel libraries found in task") } // Run the entry point using runpy with sys.argv[0] set to the package name, @@ -297,7 +295,7 @@ func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { runArgs := []string{"-c", script} runArgs = append(runArgs, wt.Parameters...) - cmd := exec.Command(filepath.Join(venvDir, "bin", "python"), runArgs...) + cmd := exec.Command(filepath.Join(env.venvDir, "bin", "python"), runArgs...) if len(wt.NamedParameters) > 0 { cmd.Env = os.Environ() for k, v := range wt.NamedParameters { @@ -313,6 +311,47 @@ func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { return string(output), nil } +// getOrCreateClusterEnv returns a cached venv for existing clusters or creates +// a fresh one for new clusters. The cleanup function is non-nil only for new +// clusters (whose venvs should be removed after use). +func (s *FakeWorkspace) getOrCreateClusterEnv(task jobs.Task) (*clusterEnv, func(), error) { + clusterID := task.ExistingClusterId + + if clusterID != "" { + if env, ok := s.clusterVenvs[clusterID]; ok { + return env, nil, nil + } + } + + tmpDir, err := os.MkdirTemp("", "wheel-task-*") + if err != nil { + return nil, nil, fmt.Errorf("failed to create temp dir: %w", err) + } + + pythonVersion := sparkVersionToPython(task) + venvDir := filepath.Join(tmpDir, ".venv") + + uvArgs := []string{"venv", "-q", "--python", pythonVersion, venvDir} + if out, err := exec.Command("uv", uvArgs...).CombinedOutput(); err != nil { + os.RemoveAll(tmpDir) + return nil, nil, fmt.Errorf("uv venv failed: %s\n%s", err, out) + } + + env := &clusterEnv{ + dir: tmpDir, + venvDir: venvDir, + installedLibs: map[string]bool{}, + } + + // Cache venv for existing clusters; use cleanup for new clusters. + if clusterID != "" { + s.clusterVenvs[clusterID] = env + return env, nil, nil + } + + return env, func() { os.RemoveAll(tmpDir) }, nil +} + // sparkVersionToPython maps Databricks Runtime spark_version to Python version. func sparkVersionToPython(task jobs.Task) string { sv := "" diff --git a/libs/testserver/server.go b/libs/testserver/server.go index 735b43cadc..7307e7a04a 100644 --- a/libs/testserver/server.go +++ b/libs/testserver/server.go @@ -212,6 +212,12 @@ func New(t testutil.TestingT) *Server { fakeOidc: &FakeOidc{url: server.URL}, } + t.Cleanup(func() { + for _, ws := range s.fakeWorkspaces { + ws.Cleanup() + } + }) + // Set up the not found handler as fallback notFoundFunc := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { pattern := r.Method + " " + r.URL.Path From 2fa83255d87f26e4ff6cc0a82fdeecc5681edd5f Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 12 Feb 2026 20:33:30 +0100 Subject: [PATCH 03/15] enable on local --- .../integration_whl/interactive_single_user/out.test.toml | 2 +- .../bundle/integration_whl/interactive_single_user/test.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 acceptance/bundle/integration_whl/interactive_single_user/test.toml diff --git a/acceptance/bundle/integration_whl/interactive_single_user/out.test.toml b/acceptance/bundle/integration_whl/interactive_single_user/out.test.toml index e26b67058a..5366fbb1a4 100644 --- a/acceptance/bundle/integration_whl/interactive_single_user/out.test.toml +++ b/acceptance/bundle/integration_whl/interactive_single_user/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/interactive_single_user/test.toml b/acceptance/bundle/integration_whl/interactive_single_user/test.toml new file mode 100644 index 0000000000..2713ce3c61 --- /dev/null +++ b/acceptance/bundle/integration_whl/interactive_single_user/test.toml @@ -0,0 +1 @@ +Local = true From cb86704d22904109680725e0e86cd080acaa7fcc Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 11:14:13 +0100 Subject: [PATCH 04/15] testserver: match cloud behavior for SINGLE_USER cluster drift detection Auto-set single_user_name for SINGLE_USER clusters to match cloud behavior. This enables Terraform to detect drift when bundle configs don't specify single_user_name. When drift is detected, Terraform updates the cluster, triggering a restart that clears library caches. Also clear venv cache in ClustersEdit to simulate the cluster restart behavior that occurs on cloud when clusters are updated. This fixes the integration_whl/interactive_single_user acceptance test where Terraform mode now correctly picks up updated wheels while direct mode preserves cached wheels. Co-Authored-By: Claude Sonnet 4.5 --- libs/testserver/clusters.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libs/testserver/clusters.go b/libs/testserver/clusters.go index 0b2d523c4a..c3d94d4eec 100644 --- a/libs/testserver/clusters.go +++ b/libs/testserver/clusters.go @@ -3,6 +3,7 @@ package testserver import ( "encoding/json" "fmt" + "os" "github.com/databricks/databricks-sdk-go/service/compute" ) @@ -20,6 +21,14 @@ func (s *FakeWorkspace) ClustersCreate(req Request) any { clusterId := nextUUID() request.ClusterId = clusterId + + // Match cloud behavior: SINGLE_USER clusters automatically get single_user_name set + // to the current user. This enables terraform drift detection when the bundle config + // doesn't specify single_user_name. + if request.DataSecurityMode == compute.DataSecurityModeSingleUser && request.SingleUserName == "" { + request.SingleUserName = s.CurrentUser().UserName + } + s.Clusters[clusterId] = request return Response{ @@ -67,6 +76,14 @@ func (s *FakeWorkspace) ClustersEdit(req Request) any { } s.Clusters[request.ClusterId] = request + + // Clear venv cache when cluster is edited to match cloud behavior where + // cluster edits trigger restarts that clear library caches. + if env, ok := s.clusterVenvs[request.ClusterId]; ok { + os.RemoveAll(env.dir) + delete(s.clusterVenvs, request.ClusterId) + } + return Response{} } From a44d9e3639dbeb2888e0af8a2c910a06dd4269c7 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 11:24:02 +0100 Subject: [PATCH 05/15] update cluster tests to use Local=true --- acceptance/bundle/integration_whl/base/out.test.toml | 2 +- acceptance/bundle/integration_whl/custom_params/out.test.toml | 2 +- .../bundle/integration_whl/interactive_cluster/out.test.toml | 2 +- .../interactive_cluster_dynamic_version/out.test.toml | 2 +- acceptance/bundle/integration_whl/serverless/out.test.toml | 2 +- acceptance/bundle/integration_whl/serverless/test.toml | 2 +- .../integration_whl/serverless_custom_params/out.test.toml | 2 +- .../bundle/integration_whl/serverless_custom_params/test.toml | 2 +- .../integration_whl/serverless_dynamic_version/out.test.toml | 2 +- acceptance/bundle/integration_whl/test.toml | 2 +- acceptance/bundle/integration_whl/wrapper/out.test.toml | 2 +- .../bundle/integration_whl/wrapper_custom_params/out.test.toml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/acceptance/bundle/integration_whl/base/out.test.toml b/acceptance/bundle/integration_whl/base/out.test.toml index e26b67058a..5366fbb1a4 100644 --- a/acceptance/bundle/integration_whl/base/out.test.toml +++ b/acceptance/bundle/integration_whl/base/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/custom_params/out.test.toml b/acceptance/bundle/integration_whl/custom_params/out.test.toml index e26b67058a..5366fbb1a4 100644 --- a/acceptance/bundle/integration_whl/custom_params/out.test.toml +++ b/acceptance/bundle/integration_whl/custom_params/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/interactive_cluster/out.test.toml b/acceptance/bundle/integration_whl/interactive_cluster/out.test.toml index e26b67058a..5366fbb1a4 100644 --- a/acceptance/bundle/integration_whl/interactive_cluster/out.test.toml +++ b/acceptance/bundle/integration_whl/interactive_cluster/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/out.test.toml b/acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/out.test.toml index 2d4b5bde54..133aeebaa5 100644 --- a/acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/out.test.toml +++ b/acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/serverless/out.test.toml b/acceptance/bundle/integration_whl/serverless/out.test.toml index aaa0505d23..1573e025f6 100644 --- a/acceptance/bundle/integration_whl/serverless/out.test.toml +++ b/acceptance/bundle/integration_whl/serverless/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true RequiresUnityCatalog = true diff --git a/acceptance/bundle/integration_whl/serverless/test.toml b/acceptance/bundle/integration_whl/serverless/test.toml index d43aee10c9..565f411a97 100644 --- a/acceptance/bundle/integration_whl/serverless/test.toml +++ b/acceptance/bundle/integration_whl/serverless/test.toml @@ -1,5 +1,5 @@ CloudSlow = true -Local = false +Local = true # serverless is only enabled if UC is enabled RequiresUnityCatalog = true diff --git a/acceptance/bundle/integration_whl/serverless_custom_params/out.test.toml b/acceptance/bundle/integration_whl/serverless_custom_params/out.test.toml index aaa0505d23..1573e025f6 100644 --- a/acceptance/bundle/integration_whl/serverless_custom_params/out.test.toml +++ b/acceptance/bundle/integration_whl/serverless_custom_params/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true RequiresUnityCatalog = true diff --git a/acceptance/bundle/integration_whl/serverless_custom_params/test.toml b/acceptance/bundle/integration_whl/serverless_custom_params/test.toml index 4ae06ab09c..a981bc44c0 100644 --- a/acceptance/bundle/integration_whl/serverless_custom_params/test.toml +++ b/acceptance/bundle/integration_whl/serverless_custom_params/test.toml @@ -1,5 +1,5 @@ Cloud = true -Local = false +Local = true # serverless is only enabled if UC is enabled RequiresUnityCatalog = true diff --git a/acceptance/bundle/integration_whl/serverless_dynamic_version/out.test.toml b/acceptance/bundle/integration_whl/serverless_dynamic_version/out.test.toml index aaa0505d23..1573e025f6 100644 --- a/acceptance/bundle/integration_whl/serverless_dynamic_version/out.test.toml +++ b/acceptance/bundle/integration_whl/serverless_dynamic_version/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true RequiresUnityCatalog = true diff --git a/acceptance/bundle/integration_whl/test.toml b/acceptance/bundle/integration_whl/test.toml index d7c6d5fa9a..d97c489629 100644 --- a/acceptance/bundle/integration_whl/test.toml +++ b/acceptance/bundle/integration_whl/test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true CloudSlow = true # Workspace file system does not allow initializing python envs on it. diff --git a/acceptance/bundle/integration_whl/wrapper/out.test.toml b/acceptance/bundle/integration_whl/wrapper/out.test.toml index b021cbc740..69e2e2028f 100644 --- a/acceptance/bundle/integration_whl/wrapper/out.test.toml +++ b/acceptance/bundle/integration_whl/wrapper/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true diff --git a/acceptance/bundle/integration_whl/wrapper_custom_params/out.test.toml b/acceptance/bundle/integration_whl/wrapper_custom_params/out.test.toml index b021cbc740..69e2e2028f 100644 --- a/acceptance/bundle/integration_whl/wrapper_custom_params/out.test.toml +++ b/acceptance/bundle/integration_whl/wrapper_custom_params/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true CloudSlow = true From 5947b6c7691ca604b0e7fa6c07f5449f70392970 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 11:34:18 +0100 Subject: [PATCH 06/15] testserver: add job output retrieval, instance pool, and serverless support Fix job run output retrieval by checking both run ID and task run IDs. When a run_id is passed to JobsGetRunOutput, first check if output exists directly for that ID, then fall back to checking if it's a job run with tasks and return the first task's output. Add default instance pool ID constant and initialize TEST_INSTANCE_POOL_ID environment variable for local testserver runs to match cloud behavior. Add serverless task execution support by extracting wheel dependencies from job environment specifications when tasks use environment_key instead of cluster configs. These changes enable most integration_whl acceptance tests to run locally on testserver. Tests now passing: - base, interactive_cluster, interactive_single_user - interactive_cluster_dynamic_version - serverless, serverless_dynamic_version Co-Authored-By: Claude Sonnet 4.5 --- acceptance/acceptance_test.go | 3 ++ libs/testserver/fake_workspace.go | 1 + libs/testserver/handlers.go | 4 +-- libs/testserver/jobs.go | 59 +++++++++++++++++++++++-------- 4 files changed, 50 insertions(+), 17 deletions(-) diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index 29eca1108c..9625b88607 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -241,6 +241,9 @@ func testAccept(t *testing.T, inprocessMode bool, singleTest string) int { if os.Getenv("TEST_DEFAULT_CLUSTER_ID") == "" { t.Setenv("TEST_DEFAULT_CLUSTER_ID", testserver.TestDefaultClusterId) } + if os.Getenv("TEST_INSTANCE_POOL_ID") == "" { + t.Setenv("TEST_INSTANCE_POOL_ID", testserver.TestDefaultInstancePoolId) + } } setReplsForTestEnvVars(t, &repls) diff --git a/libs/testserver/fake_workspace.go b/libs/testserver/fake_workspace.go index e558621af4..9d132f5604 100644 --- a/libs/testserver/fake_workspace.go +++ b/libs/testserver/fake_workspace.go @@ -35,6 +35,7 @@ const ( UserID = "1000012345" TestDefaultClusterId = "0123-456789-cluster0" TestDefaultWarehouseId = "8ec9edc1-db0c-40df-af8d-7580020fe61e" + TestDefaultInstancePoolId = "0123-456789-pool0" ) var TestUser = iam.User{ diff --git a/libs/testserver/handlers.go b/libs/testserver/handlers.go index 06a4df2663..6fef4ba871 100644 --- a/libs/testserver/handlers.go +++ b/libs/testserver/handlers.go @@ -41,8 +41,8 @@ func AddDefaultHandlers(server *Server) { return compute.ListInstancePools{ InstancePools: []compute.InstancePoolAndStats{ { - InstancePoolName: "some-test-instance-pool", - InstancePoolId: "1234", + InstancePoolName: "DEFAULT Test Instance Pool", + InstancePoolId: TestDefaultInstancePoolId, }, }, } diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index ff7f4d18bc..3b590b5255 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -2,6 +2,7 @@ package testserver import ( "encoding/json" + "errors" "fmt" "os" "os/exec" @@ -214,7 +215,7 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { tasks = append(tasks, taskRun) if t.PythonWheelTask != nil { - logs, err := s.executePythonWheelTask(t) + logs, err := s.executePythonWheelTask(job.Settings, t) if err != nil { taskRun.State.ResultState = jobs.RunResultStateFailed s.JobRunOutputs[taskRunId] = jobs.RunOutput{ @@ -245,7 +246,8 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { // executePythonWheelTask runs a python wheel task locally using uv. // For tasks using existing_cluster_id, the venv is cached per cluster to match // cloud behavior where libraries are cached on running clusters. -func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { +// For serverless tasks (environment_key), dependencies are loaded from the environment spec. +func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, task jobs.Task) (string, error) { env, cleanup, err := s.getOrCreateClusterEnv(task) if err != nil { return "", err @@ -254,26 +256,42 @@ func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { defer cleanup() } + // Collect wheel paths from either task libraries or environment dependencies + var whlPaths []string + if len(task.Libraries) > 0 { + // Cluster-based task with libraries + for _, lib := range task.Libraries { + if lib.Whl != "" { + whlPaths = append(whlPaths, lib.Whl) + } + } + } else if task.EnvironmentKey != "" && jobSettings != nil { + // Serverless task with environment_key + for _, envItem := range jobSettings.Environments { + if envItem.EnvironmentKey == task.EnvironmentKey && envItem.Spec != nil { + whlPaths = append(whlPaths, envItem.Spec.Dependencies...) + break + } + } + } + // Install only wheels not yet present in this cluster env, // matching cloud behavior where same library path is not reinstalled. var newWhlPaths []string - for _, lib := range task.Libraries { - if lib.Whl == "" { + for _, whlPath := range whlPaths { + if env.installedLibs[whlPath] { continue } - if env.installedLibs[lib.Whl] { - continue - } - data := s.files[lib.Whl].Data + data := s.files[whlPath].Data if len(data) == 0 { - return "", fmt.Errorf("wheel file not found in workspace: %s", lib.Whl) + return "", fmt.Errorf("wheel file not found in workspace: %s", whlPath) } - localPath := filepath.Join(env.dir, filepath.Base(lib.Whl)) + localPath := filepath.Join(env.dir, filepath.Base(whlPath)) if err := os.WriteFile(localPath, data, 0o644); err != nil { return "", fmt.Errorf("failed to write wheel file: %w", err) } newWhlPaths = append(newWhlPaths, localPath) - env.installedLibs[lib.Whl] = true + env.installedLibs[whlPath] = true } if len(newWhlPaths) > 0 { @@ -285,7 +303,7 @@ func (s *FakeWorkspace) executePythonWheelTask(task jobs.Task) (string, error) { } if len(env.installedLibs) == 0 { - return "", fmt.Errorf("no wheel libraries found in task") + return "", errors.New("no wheel libraries found in task") } // Run the entry point using runpy with sys.argv[0] set to the package name, @@ -435,12 +453,23 @@ func (s *FakeWorkspace) JobsGetRunOutput(req Request) Response { defer s.LockUnlock()() + // First check if output exists directly for this run ID output, ok := s.JobRunOutputs[runIdInt] - if !ok { - return Response{Body: jobs.RunOutput{}} + if ok { + return Response{Body: output} + } + + // If not, check if this is a job run ID with tasks + jobRun, ok := s.JobRuns[runIdInt] + if ok && len(jobRun.Tasks) > 0 { + // For single-task jobs, return the task's output + taskRunId := jobRun.Tasks[0].RunId + if taskOutput, ok := s.JobRunOutputs[taskRunId]; ok { + return Response{Body: taskOutput} + } } - return Response{Body: output} + return Response{Body: jobs.RunOutput{}} } func setSourceIfNotSet(job jobs.Job) jobs.Job { From 6f8f17cb478681255d697fce9af6e7a89af3b3db Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 11:47:21 +0100 Subject: [PATCH 07/15] testserver: support python_params override in RunNow Apply python_params from RunNow request to override task parameters, matching cloud behavior where --python-params CLI flag overrides the default parameters defined in the job task. This fixes custom_params tests which use --python-params to pass different parameters at job run time. Co-Authored-By: Claude Sonnet 4.5 --- .../custom_params/tmp.requests.direct.txt | 1588 +++++++++++++++++ libs/testserver/jobs.go | 8 +- 2 files changed, 1595 insertions(+), 1 deletion(-) create mode 100644 acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt diff --git a/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt b/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt new file mode 100644 index 0000000000..824b3d116c --- /dev/null +++ b/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt @@ -0,0 +1,1588 @@ ++ exec deco env run -i -n aws-prod-ucws -- testme /direct -v -logrequests +2026/02/13 11:35:43 [INFO] Listing secrets from https://deco-aws-prod-ucws-is.vault.azure.net/ ++ go test ../../.. -run ^TestAccept$/^bundle$/^integration_whl$/^custom_params$/direct -v -logrequests -timeout=1h +=== RUN TestAccept + acceptance_test.go:1185: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 59.915833ms + acceptance_test.go:1189: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] output: Read version 1.105.0 from /Users/denis.bilenko/work/cli-main-cluster-testserver-0/bundle/internal/tf/codegen/schema/version.go + acceptance_test.go:1185: [uv build --no-cache -q --wheel --out-dir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 512.126166ms + acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks] took 436.71375ms + acceptance_test.go:1185: [make -s tools/yamlfmt] took 11.200167ms + acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_amd64/databricks] took 398.147792ms + acceptance_test.go:955: Created linux amd64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_amd64.zip + acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_arm64/databricks] took 400.374708ms + acceptance_test.go:955: Created linux arm64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_arm64.zip +=== RUN TestAccept/bundle/integration_whl/custom_params +=== PAUSE TestAccept/bundle/integration_whl/custom_params +=== NAME TestAccept + acceptance_test.go:357: Summary (dirs): 1/1/690 run/selected/total, 0 skipped +=== CONT TestAccept/bundle/integration_whl/custom_params +=== RUN TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct +=== PAUSE TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct +=== CONT TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct + acceptance_test.go:1269: 0.234 >>> cat databricks.yml + acceptance_test.go:1269: 0.238 bundle: + acceptance_test.go:1269: 0.238 name: wheel-task + acceptance_test.go:1269: 0.238 workspace: + acceptance_test.go:1269: 0.238 root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" + acceptance_test.go:1269: 0.239 include: + acceptance_test.go:1269: 0.239 - empty.yml + acceptance_test.go:1269: 0.239 resources: + acceptance_test.go:1269: 0.239 jobs: + acceptance_test.go:1269: 0.239 some_other_job: + acceptance_test.go:1269: 0.239 name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" + acceptance_test.go:1269: 0.239 tasks: + acceptance_test.go:1269: 0.239 - task_key: TestTask + acceptance_test.go:1269: 0.239 new_cluster: + acceptance_test.go:1269: 0.239 num_workers: 1 + acceptance_test.go:1269: 0.239 spark_version: 13.3.x-snapshot-scala2.12 + acceptance_test.go:1269: 0.239 node_type_id: i3.xlarge + acceptance_test.go:1269: 0.239 data_security_mode: USER_ISOLATION + acceptance_test.go:1269: 0.239 instance_pool_id: 0510-220703-wing13-pool-as5icbo0 + acceptance_test.go:1269: 0.239 python_wheel_task: + acceptance_test.go:1269: 0.239 package_name: my_test_code + acceptance_test.go:1269: 0.239 entry_point: run + acceptance_test.go:1269: 0.239 parameters: + acceptance_test.go:1269: 0.239 - "one" + acceptance_test.go:1269: 0.239 - "two" + acceptance_test.go:1269: 0.239 libraries: + acceptance_test.go:1269: 0.239 - whl: ./dist/*.whl + acceptance_test.go:1269: 0.239 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle deploy + prepare_server.go:159: 200 GET /api/2.0/preview/scim/v2/Me + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-1b0771e80e932e174f1ce6e4dfa38e6c-bdfeee80fa8c1811-01 + # {"emails":[{"type":"work","value":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","primary":true}],"entitlements":[{"value":"allow-cluster-create"},{"value":"allow-instance-pool-create"}],"displayName":"DECO-TF-AWS-PROD-IS-SPN","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:workspace:2.0:User"],"name":{"givenName":"DECO-TF-AWS-PROD-IS-SPN"},"active":true,"groups":[{"display":"users","type":"direct","value":"663786116330400","$ref":"Groups/663786116330400"},{"display":"admins","type":"direct","value":"860801939641561","$ref":"Groups/860801939641561"}],"id":"3749120194272290","userName":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-c55514e3feae3633d2b8b33f1fe68316-76322129cebe21dd-01 + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true + > Traceparent: 00-5bedaf586165d84cfb4989ef6dfc7304-f69b276986e58bdd-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json) doesn't exist."} + acceptance_test.go:1269: 2.420 Building python_artifact... + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeployment.json&return_export_info=true + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-7c20159c87808c8c50711c8545455387-8196226f6924d2f2-01 + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deployment.json) doesn't exist."} + prepare_server.go:159: 404 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 161 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-c380925a0d601fbb1b47d4758254b592-683b892eb3bf8bae-01 + > {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + # {"error_code":"\u003cnil\u003e","message":"Request failed for POST /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock"} + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-cb5bbcaef269a36647f45413d7aad628-18fc60a15ce54848-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 105 + > Accept: application/json + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state"} + # {} + # + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 161 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-86e8e96aef9ba3f4cfad2af5c105605c-02df361bd7db8f37-01 + > Accept-Encoding: gzip + > {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-62368d5d4f8156030ab6ec51b5333211-b871d6df1911ea88-01 + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} + # + prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock + > Traceparent: 00-d7b954e64cdb85cfce6d3d6001a221ae-65042bca5064ae92-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + # {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 404 POST /api/2.0/workspace/delete + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-839fe649a8eab44699368cbf27b24168-d40f3b9c35c6b020-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 136 + > Accept: application/json + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal","recursive":true} + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal) doesn't exist."} + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Content-Type: application/json + > Traceparent: 00-2ee1d9c56d4dd27c2dcc81a97126173a-7404b98942d9f5b0-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 119 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal"} + # {} + # + acceptance_test.go:1269: 4.040 Uploading dist/my_test_code-0.0.1-py3-none-any.whl... + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fartifacts%2F.internal%2Fmy_test_code-0.0.1-py3-none-any.whl?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 1916 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-a6630a7a03d9523d2470b0b58f874858-e7606ca3f0e34a5d-01 + > Accept-Encoding: gzip + > [Binary 1916 bytes] + acceptance_test.go:1269: 4.235 Uploading bundle files to /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files... + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-c4fa97e4144051d26b248f666c131214-0dfd2b4b68ad281a-01 + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files) doesn't exist."} + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-9ad490d5416c776c8fb5ec118c6ac7d8-f24c0749ff95079d-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 105 + > Accept: application/json + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files"} + # {} + # + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles + > Traceparent: 00-fa68032f1505a0ea9fa049efbaee27f4-48e7a2818038d237-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"object_type":"DIRECTORY","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files","object_id":1982623590494500,"resource_id":"1982623590494500"} + # + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Traceparent: 00-14f8c949660df62542e9561c2a7e30c8-2c9ece53e7132476-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 110 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/dist"} + # {} + # + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-f29ff8d83e24a8c73bb9cc1d385ac2d1-9d3f0f3d4875a10b-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 118 + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/my_test_code"} + # {} + # + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 127 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-72e4c7215e246546074eacac47ad3a23-a0b3084615345099-01 + > Accept-Encoding: gzip + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/my_test_code.egg-info"} + # {} + # + prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 128 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-3e5d41b5d46d167951aa4841e8a30fe5-836e0c321e69527c-01 + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/build/lib/my_test_code"} + # {} + # + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fempty.yml?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 0 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-805b638779bd557ccad28b186b8bf5cf-f125618450dc99ca-01 + > Accept-Encoding: gzip + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Ftmp.requests.direct.txt?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 2511 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-3dc268106ccdd811407831a44d42280b-ca78b1df9bcbc845-01 + > Accept-Encoding: gzip + > + exec deco env run -i -n aws-prod-ucws -- testme /direct -v -logrequests + > 2026/02/13 11:35:43 [INFO] Listing secrets from https://deco-aws-prod-ucws-is.vault.azure.net/ + > + go test ../../.. -run ^TestAccept$/^bundle$/^integration_whl$/^custom_params$/direct -v -logrequests -timeout=1h + > === RUN TestAccept + > acceptance_test.go:1185: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 59.915833ms + > acceptance_test.go:1189: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] output: Read version 1.105.0 from /Users/denis.bilenko/work/cli-main-cluster-testserver-0/bundle/internal/tf/codegen/schema/version.go + > acceptance_test.go:1185: [uv build --no-cache -q --wheel --out-dir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 512.126166ms + > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks] took 436.71375ms + > acceptance_test.go:1185: [make -s tools/yamlfmt] took 11.200167ms + > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_amd64/databricks] took 398.147792ms + > acceptance_test.go:955: Created linux amd64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_amd64.zip + > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_arm64/databricks] took 400.374708ms + > acceptance_test.go:955: Created linux arm64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_arm64.zip + > === RUN TestAccept/bundle/integration_whl/custom_params + > === PAUSE TestAccept/bundle/integration_whl/custom_params + > === NAME TestAccept + > acceptance_test.go:357: Summary (dirs): 1/1/690 run/selected/total, 0 skipped + > === CONT TestAccept/bundle/integration_whl/custom_params + > === RUN TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct + > === PAUSE TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct + > === CONT TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fsetup.py?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 442 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-44ae252b6fb47069b994681a54eeb2ee-150b740025b71533-01 + > Accept-Encoding: gzip + > from setuptools import setup, find_packages + > + > import my_test_code + > + > setup( + > name="my_test_code", + > version=my_test_code.__version__, + > author=my_test_code.__author__, + > url="https://databricks.com", + > author_email="john.doe@databricks.com", + > description="my example wheel", + > packages=find_packages(include=["my_test_code"]), + > entry_points={"group1": "run=my_test_code.__main__:main"}, + > install_requires=["setuptools"], + > ) + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Frepls.json?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 5949 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-82cca453334a54b2e1a81ad237e46fdf-dac739707dd0b24e-01 + > Accept-Encoding: gzip + > [ + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/\\.terraformrc", + > "New": "[DATABRICKS_TF_CLI_CONFIG_FILE]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/terraform", + > "New": "[TERRAFORM]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks_bundles-0\\.288\\.0-py3-none-any\\.whl", + > "New": "[DATABRICKS_BUNDLES_WHEEL]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks", + > "New": "[CLI]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "ca46a3458140daa8", + > "New": "[TEST_DEFAULT_WAREHOUSE_ID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "0823-120319-rco8xpu4", + > "New": "[TEST_DEFAULT_CLUSTER_ID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "0510-220703-wing13-pool-as5icbo0", + > "New": "[TEST_INSTANCE_POOL_ID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64", + > "New": "[BUILD_DIR]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "0\\.0\\.0-dev(\\+[a-f0-9]{10,16})?", + > "New": "[DEV_VERSION]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "databricks-sdk-go/[0-9]+\\.[0-9]+\\.[0-9]+", + > "New": "databricks-sdk-go/[SDK_VERSION]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "1\\.25\\.5", + > "New": "[GO_VERSION]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance", + > "New": "[TESTROOT]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "dbapi[0-9a-f]+", + > "New": "[DATABRICKS_TOKEN]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "i3\\.xlarge", + > "New": "[NODE_TYPE_ID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "um5mnynfzzha3kh22kre2y7cp4", + > "New": "[UNIQUE_NAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/private/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001", + > "New": "[TEST_TMP_DIR]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001", + > "New": "[TEST_TMP_DIR]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/private/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820", + > "New": "[TEST_TMP_DIR]_PARENT", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820", + > "New": "[TEST_TMP_DIR]_PARENT", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "b76b6808-9e10-43b3-be20-6b6d19ed1af0", + > "New": "[USERNAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "DECO-TF-AWS-PROD-IS-SPN", + > "New": "[USERNAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "DECO-TF-AWS-PROD-IS-SPN", + > "New": "[USERNAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "b76b6808-9e10-43b3-be20-6b6d19ed1af0", + > "New": "[USERNAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "deco_tf_aws_prod_is_spn", + > "New": "[USERNAME]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "663786116330400", + > "New": "[USERGROUP]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "860801939641561", + > "New": "[USERGROUP]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "3749120194272290", + > "New": "[USERID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "https://127\\.0\\.0\\.1:65285", + > "New": "[DATABRICKS_URL]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "http://127\\.0\\.0\\.1:65285", + > "New": "[DATABRICKS_URL]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "127\\.0\\.0\\.1:65285", + > "New": "[DATABRICKS_HOST]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", + > "New": "[UUID]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "\\d{20,}", + > "New": "[NUMID]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "1[78]\\d{17}", + > "New": "[UNIX_TIME_NANOS]", + > "Order": 10, + > "Distinct": true + > }, + > { + > "Old": "\\d{17,}", + > "New": "[NUMID]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "\\d{14,}", + > "New": "[NUMID]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "1[78]\\d{11}", + > "New": "[UNIX_TIME_MILLIS]", + > "Order": 10, + > "Distinct": true + > }, + > { + > "Old": "\\d{11,}", + > "New": "[NUMID]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "1[78]\\d{8}", + > "New": "[UNIX_TIME_S]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "\\d{8,}", + > "New": "[NUMID]", + > "Order": 10, + > "Distinct": false + > }, + > { + > "Old": "2\\d\\d\\d-\\d\\d-\\d\\d(T| )\\d\\d:\\d\\d:\\d\\d\\.\\d+(Z|\\+\\d\\d:\\d\\d)?", + > "New": "[TIMESTAMP]", + > "Order": 9, + > "Distinct": false + > }, + > { + > "Old": "2\\d\\d\\d-\\d\\d-\\d\\d(T| )\\d\\d:\\d\\d:\\d\\dZ?", + > "New": "[TIMESTAMP]", + > "Order": 9, + > "Distinct": false + > }, + > { + > "Old": "os/darwin", + > "New": "os/[OS]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "os/windows", + > "New": "os/[OS]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": "os/linux", + > "New": "os/[OS]", + > "Order": 0, + > "Distinct": false + > }, + > { + > "Old": " cicd/github", + > "New": "", + > "Order": 0, + > "Distinct": false + > } + > ] + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fbuild%2Flib%2Fmy_test_code%2F__main__.py?overwrite=true + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-160ea39ef5ba7bb77b14d84e09d4e137-e283edaf13683e6f-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 242 + > Accept: application/json + > """ + > The entry point of the Python Wheel + > """ + > + > import sys + > + > + > def main(): + > # This method will print the provided arguments + > print("Hello from my func") + > print("Got arguments:") + > print(sys.argv) + > + > + > if __name__ == "__main__": + > main() + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fdist%2Fmy_test_code-0.0.1-py3-none-any.whl?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 1916 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-f8ce957904b8f26e9137834d41c09c3d-fd05d4fca6c59a0c-01 + > Accept-Encoding: gzip + > [Binary 1916 bytes] + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Frequires.txt?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 11 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-469f7e53d198f483e460d2acecc4af00-865f35208630597b-01 + > Accept-Encoding: gzip + > setuptools + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Ftop_level.txt?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 13 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-b2df617d61f0b11cc58003b19c7e304e-51129f985f31f32b-01 + > Accept-Encoding: gzip + > my_test_code + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fscript?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 3883 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-d05694e1386ebef73b0125b088733622-48f37cf91bff7b4c-01 + > Accept-Encoding: gzip + > errcode() { + > # Temporarily disable 'set -e' to prevent the script from exiting on error + > set +e + > # Execute the provided command with all arguments + > "$@" + > local exit_code=$? + > # Re-enable 'set -e' if it was previously set + > set -e + > if [ $exit_code -ne 0 ]; then + > >&2 printf "\nExit code: $exit_code\n" + > fi + > } + > + > musterr() { + > # Temporarily disable 'set -e' to prevent the script from exiting on error + > set +e + > # Execute the provided command with all arguments + > "$@" + > local exit_code=$? + > # Re-enable 'set -e' + > set -e + > if [ $exit_code -eq 0 ]; then + > >&2 printf "\nUnexpected success\n" + > exit 1 + > fi + > } + > + > trace() { + > >&2 printf "\n>>> %s\n" "$*" + > + > if [[ "$1" == *"="* ]]; then + > # If the first argument contains '=', collect all env vars + > local env_vars=() + > while [[ "$1" == *"="* ]]; do + > env_vars+=("$1") + > shift + > done + > # Export environment variables in a subshell and execute the command + > ( + > export "${env_vars[@]}" + > "$@" + > ) + > else + > # Execute the command normally + > "$@" + > fi + > + > return $? + > } + > + > git-repo-init() { + > git init -qb main + > git config core.autocrlf false + > git config user.name "Tester" + > git config user.email "tester@databricks.com" + > git config core.hooksPath no-hooks + > git add databricks.yml + > git commit -qm 'Add databricks.yml' + > } + > + > title() { + > local label="$1" + > printf "\n=== %b" "$label" + > } + > + > withdir() { + > local dir="$1" + > shift + > local orig_dir="$(pwd)" + > cd "$dir" || return $? + > "$@" + > local exit_code=$? + > cd "$orig_dir" || return $? + > return $exit_code + > } + > + > uuid() { + > python3 -c 'import uuid; print(uuid.uuid4())' + > } + > + > venv_activate() { + > if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then + > source .venv/Scripts/activate + > else + > source .venv/bin/activate + > fi + > } + > + > envsubst() { + > # We need to disable MSYS_NO_PATHCONV when running the python script. + > # This is because the python interpreter is otherwise unable to find the python script + > # when MSYS_NO_PATHCONV is enabled. + > env -u MSYS_NO_PATHCONV envsubst.py + > } + > + > print_telemetry_bool_values() { + > jq -r 'select(.path? == "/telemetry-ext") | (.body.protoLogs // [])[] | fromjson | ( (.entry // .) | (.databricks_cli_log.bundle_deploy_event.experimental.bool_values // []) ) | map("\(.key) \(.value)") | .[]' out.requests.txt | sort + > } + > + > sethome() { + > local home="$1" + > mkdir -p "$home" + > + > # For macOS and Linux, use HOME. + > export HOME="$home" + > + > # For Windows, use USERPROFILE. + > export USERPROFILE="$home" + > } + > + > as-test-sp() { + > if [[ -z "$TEST_SP_TOKEN" ]]; then + > echo "Error: TEST_SP_TOKEN is not set." >&2 + > return 1 + > fi + > + > DATABRICKS_TOKEN="$TEST_SP_TOKEN" \ + > DATABRICKS_CLIENT_SECRET="" \ + > DATABRICKS_CLIENT_ID="" \ + > DATABRICKS_AUTH_TYPE="" \ + > "$@" + > } + > + > readplanarg() { + > # Expands into "--plan " based on READPLAN env var + > # Use it with "bundle deploy" to configure two runs: once with saved plan and one without. + > # Note: READPLAN is specially handled in test runner so that engine=terraform/readplan is set combination is skipped. + > if [[ -n "$READPLAN" ]]; then + > printf -- "--plan %s" "$1" + > else + > printf "" + > fi + > } + > + > uv venv -q .venv + > venv_activate + > uv pip install -q setuptools + > + > ( + > export EXTRA_CONFIG=empty.yml + > envsubst < $TESTDIR/../base/databricks.yml.tmpl > databricks.yml + > cp -r $TESTDIR/../base/{$EXTRA_CONFIG,setup.py,my_test_code} . + > trace cat databricks.yml + > trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT + > trace $CLI bundle deploy + > + > # Add all resource IDs to runtime replacements to avoid pattern matching ambiguity + > replace_ids.py + > + > trace $CLI bundle run some_other_job --python-params param1,param2 + > ) + > + > rm -fr .databricks .gitignore + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2FSOURCES.txt?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 276 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-030fd345b31be3c32dafe701ad005369-ace7a8b65326b105-01 + > Accept-Encoding: gzip + > setup.py + > my_test_code/__init__.py + > my_test_code/__main__.py + > my_test_code.egg-info/PKG-INFO + > my_test_code.egg-info/SOURCES.txt + > my_test_code.egg-info/dependency_links.txt + > my_test_code.egg-info/entry_points.txt + > my_test_code.egg-info/requires.txt + > my_test_code.egg-info/top_level.txt + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Fentry_points.txt?overwrite=true + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-7bc327e0b2ecfe1d2c0502a81924127d-c08e79f241c12b68-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 42 + > Accept: application/json + > [group1] + > run = my_test_code.__main__:main + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Foutput.txt?overwrite=true + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-efbb0d7ba3264fc06aa1138e13cd3551-3d3fe76e2bd6816e-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 1083 + > Accept: application/json + > + > >>> cat databricks.yml + > bundle: + > name: wheel-task + > + > workspace: + > root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" + > + > include: + > - empty.yml + > + > resources: + > jobs: + > some_other_job: + > name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" + > tasks: + > - task_key: TestTask + > new_cluster: + > num_workers: 1 + > spark_version: 13.3.x-snapshot-scala2.12 + > node_type_id: i3.xlarge + > data_security_mode: USER_ISOLATION + > instance_pool_id: 0510-220703-wing13-pool-as5icbo0 + > python_wheel_task: + > package_name: my_test_code + > entry_point: run + > parameters: + > - "one" + > - "two" + > libraries: + > - whl: ./dist/*.whl + > + > >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle deploy + > Building python_artifact... + > Uploading dist/my_test_code-0.0.1-py3-none-any.whl... + > Uploading bundle files to /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files... + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Fdependency_links.txt?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 1 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-86a436b72b0d8ae1c22695dc40f8380d-e38e685111105256-01 + > Accept-Encoding: gzip + > + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fout.test.toml?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 109 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-83fc883aa3b470927609da617e46282b-d29aff899190d3be-01 + > Accept-Encoding: gzip + > Local = true + > Cloud = true + > CloudSlow = true + > + > [EnvMatrix] + > DATABRICKS_BUNDLE_ENGINE = ["terraform", "direct"] + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code%2F__main__.py?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 242 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-5f8da97e1e7990561524f6476177802a-dcdff3d739c5b1a6-01 + > Accept-Encoding: gzip + > """ + > The entry point of the Python Wheel + > """ + > + > import sys + > + > + > def main(): + > # This method will print the provided arguments + > print("Hello from my func") + > print("Got arguments:") + > print(sys.argv) + > + > + > if __name__ == "__main__": + > main() + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2FPKG-INFO?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 296 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-c682bde155a683e16a346ffe3f4da24f-f7c8beba4cbda389-01 + > Accept-Encoding: gzip + > Metadata-Version: 2.4 + > Name: my_test_code + > Version: 0.0.1 + > Summary: my example wheel + > Home-page: https://databricks.com + > Author: Databricks + > Author-email: john.doe@databricks.com + > Requires-Dist: setuptools + > Dynamic: author + > Dynamic: author-email + > Dynamic: home-page + > Dynamic: requires-dist + > Dynamic: summary + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code%2F__init__.py?overwrite=true + > Traceparent: 00-fcba3dfe5e4ce2f15615fa5e5367e270-c6bc95a8a8564763-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 48 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > __version__ = "0.0.1" + > __author__ = "Databricks" + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fbuild%2Flib%2Fmy_test_code%2F__init__.py?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 48 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-26acd69857ed671521af27fc67762a68-e5a7d3750a859e8a-01 + > Accept-Encoding: gzip + > __version__ = "0.0.1" + > __author__ = "Databricks" + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fdatabricks.yml?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 737 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-f6bdcd7cda7f9ec39f342d0bdab401c9-239ed010f30a3399-01 + > Accept-Encoding: gzip + > bundle: + > name: wheel-task + > + > workspace: + > root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" + > + > include: + > - empty.yml + > + > resources: + > jobs: + > some_other_job: + > name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" + > tasks: + > - task_key: TestTask + > new_cluster: + > num_workers: 1 + > spark_version: 13.3.x-snapshot-scala2.12 + > node_type_id: i3.xlarge + > data_security_mode: USER_ISOLATION + > instance_pool_id: 0510-220703-wing13-pool-as5icbo0 + > python_wheel_task: + > package_name: my_test_code + > entry_point: run + > parameters: + > - "one" + > - "two" + > libraries: + > - whl: ./dist/*.whl + > + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeployment.json?overwrite=true + > Content-Length: 1339 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-bf4cef88ed1e6e5c29308f068120bb23-459b86f579e02e45-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > {"version":1,"seq":1,"cli_version":"0.0.0-dev+4ae10d219c76","timestamp":"2026-02-13T10:36:00.056632Z","files":[{"local_path":"databricks.yml","is_notebook":false},{"local_path":"dist/my_test_code-0.0.1-py3-none-any.whl","is_notebook":false},{"local_path":"my_test_code.egg-info/dependency_links.txt","is_notebook":false},{"local_path":"out.test.toml","is_notebook":false},{"local_path":"setup.py","is_notebook":false},{"local_path":"my_test_code.egg-info/PKG-INFO","is_notebook":false},{"local_path":"my_test_code.egg-info/entry_points.txt","is_notebook":false},{"local_path":"build/lib/my_test_code/__init__.py","is_notebook":false},{"local_path":"build/lib/my_test_code/__main__.py","is_notebook":false},{"local_path":"my_test_code/__init__.py","is_notebook":false},{"local_path":"my_test_code/__main__.py","is_notebook":false},{"local_path":"my_test_code.egg-info/requires.txt","is_notebook":false},{"local_path":"my_test_code.egg-info/top_level.txt","is_notebook":false},{"local_path":"repls.json","is_notebook":false},{"local_path":"empty.yml","is_notebook":false},{"local_path":"my_test_code.egg-info/SOURCES.txt","is_notebook":false},{"local_path":"output.txt","is_notebook":false},{"local_path":"script","is_notebook":false},{"local_path":"tmp.requests.direct.txt","is_notebook":false}],"id":"9d6daf5a-13c8-4adc-9ab1-8cff7c775bf2"} + acceptance_test.go:1269: 5.683 Deploying resources... + prepare_server.go:159: 200 POST /api/2.2/jobs/create + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 790 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-83bc0051f56659723b6e3de20218101c-664b175134d30983-01 + > Accept-Encoding: gzip + > {"deployment":{"kind":"BUNDLE","metadata_file_path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json"},"edit_mode":"UI_LOCKED","format":"MULTI_TASK","max_concurrent_runs":1,"name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","queue":{"enabled":true},"tasks":[{"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"new_cluster":{"data_security_mode":"USER_ISOLATION","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","num_workers":1,"spark_version":"13.3.x-snapshot-scala2.12"},"python_wheel_task":{"entry_point":"run","package_name":"my_test_code","parameters":["one","two"]},"task_key":"TestTask"}]} + # {"job_id":24404499078239} + acceptance_test.go:1269: 6.142 Updating deployment state... + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json?overwrite=true + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-a39c0adfaefd9fc66dab421d11376879-8ef0d4b0c4eb2130-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 1284 + > { + > "state_version": 1, + > "cli_version": "0.0.0-dev+4ae10d219c76", + > "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", + > "serial": 1, + > "state": { + > "resources.jobs.some_other_job": { + > "__id__": "24404499078239", + > "state": { + > "deployment": { + > "kind": "BUNDLE", + > "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" + > }, + > "edit_mode": "UI_LOCKED", + > "format": "MULTI_TASK", + > "max_concurrent_runs": 1, + > "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", + > "queue": { + > "enabled": true + > }, + > "tasks": [ + > { + > "libraries": [ + > { + > "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" + > } + > ], + > "new_cluster": { + > "data_security_mode": "USER_ISOLATION", + > "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", + > "num_workers": 1, + > "spark_version": "13.3.x-snapshot-scala2.12" + > }, + > "python_wheel_task": { + > "entry_point": "run", + > "package_name": "my_test_code", + > "parameters": [ + > "one", + > "two" + > ] + > }, + > "task_key": "TestTask" + > } + > ] + > } + > } + > } + > } + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fmetadata.json?overwrite=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 556 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-52a021d945dedcb4e942f61662f86cdd-eb809166ab8551bf-01 + > Accept-Encoding: gzip + > { + > "version": 1, + > "config": { + > "bundle": { + > "name": "wheel-task", + > "target": "default", + > "git": { + > "bundle_root_path": "." + > } + > }, + > "workspace": { + > "file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files" + > }, + > "resources": { + > "jobs": { + > "some_other_job": { + > "id": "24404499078239", + > "relative_path": "databricks.yml" + > } + > } + > }, + > "presets": { + > "source_linked_deployment": false + > } + > }, + > "extra": {} + > } + acceptance_test.go:1269: 6.512 Deployment complete! + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-3796403d6f2be003407087df865f4ec6-6631baf739699f4e-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} + # + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-da266cd80e38d9eab464009bce7c6aee-edb36702aebef0fa-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} + # + prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock + > Content-Type: application/json + > Traceparent: 00-e013f9955261bb9f21884347d7a8393f-cf34fc1fc85e3fa4-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 200 POST /api/2.0/workspace/delete + > Content-Length: 117 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-a742f496470da72168e0f1530867303e-9a6ae9d252f73d33-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock"} + # {} + # + prepare_server.go:159: 200 POST /telemetry-ext + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat + > Content-Length: 2917 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-72d2a1757052ff30927495a2d113aa4f-f1effd9d0907b176-01 + > {"uploadTime":1770978961806,"items":[],"protoLogs":["{\"frontend_log_event_id\":\"fff111c5-8ccd-469a-ba25-6c2aba8e37d0\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"359c60ce-a944-4f20-87c4-0fe7d70b0860\",\"version\":\"0.0.0-dev+4ae10d219c76\",\"command\":\"bundle_deploy\",\"operating_system\":\"darwin\",\"execution_time_ms\":6530,\"exit_code\":0},\"bundle_deploy_event\":{\"bundle_uuid\":\"00000000-0000-0000-0000-000000000000\",\"deployment_id\":\"9d6daf5a-13c8-4adc-9ab1-8cff7c775bf2\",\"resource_count\":1,\"resource_job_count\":1,\"resource_pipeline_count\":0,\"resource_model_count\":0,\"resource_experiment_count\":0,\"resource_model_serving_endpoint_count\":0,\"resource_registered_model_count\":0,\"resource_quality_monitor_count\":0,\"resource_schema_count\":0,\"resource_volume_count\":0,\"resource_cluster_count\":0,\"resource_dashboard_count\":0,\"resource_app_count\":0,\"resource_job_ids\":[\"24404499078239\"],\"experimental\":{\"configuration_file_count\":2,\"variable_count\":0,\"complex_variable_count\":0,\"lookup_variable_count\":0,\"target_count\":1,\"bool_values\":[{\"key\":\"local.cache.attempt\",\"value\":true},{\"key\":\"local.cache.miss\",\"value\":true},{\"key\":\"experimental.use_legacy_run_as\",\"value\":false},{\"key\":\"run_as_set\",\"value\":false},{\"key\":\"presets_name_prefix_is_set\",\"value\":false},{\"key\":\"artifact_build_command_is_set\",\"value\":false},{\"key\":\"artifact_files_is_set\",\"value\":false},{\"key\":\"python_wheel_wrapper_is_set\",\"value\":false},{\"key\":\"skip_artifact_cleanup\",\"value\":false},{\"key\":\"has_serverless_compute\",\"value\":false},{\"key\":\"has_classic_job_compute\",\"value\":true},{\"key\":\"has_classic_interactive_compute\",\"value\":false}],\"bundle_mode\":\"TYPE_UNSPECIFIED\",\"workspace_artifact_path_type\":\"WORKSPACE_FILE_SYSTEM\",\"bundle_mutator_execution_time_ms\":[{\"key\":\"phases.Initialize\",\"value\":1576},{\"key\":\"mutator.(populateCurrentUser)\",\"value\":1547},{\"key\":\"files.(upload)\",\"value\":1244},{\"key\":\"lock.(acquire)\",\"value\":897},{\"key\":\"artifacts.(cleanUp)\",\"value\":307},{\"key\":\"phases.Build\",\"value\":276},{\"key\":\"artifacts.(build)\",\"value\":273},{\"key\":\"deploy.(statePush)\",\"value\":197},{\"key\":\"libraries.(upload)\",\"value\":195},{\"key\":\"metadata.(upload)\",\"value\":182},{\"key\":\"deploy.(statePull)\",\"value\":137},{\"key\":\"resourcemutator.(processStaticResources)\",\"value\":16},{\"key\":\"mutator.(logResourceReferences)\",\"value\":2},{\"key\":\"mutator.(resolveVariableReferences)\",\"value\":2},{\"key\":\"mutator.(resolveVariableReferences)\",\"value\":1},{\"key\":\"resourcemutator.(dashboardFixups)\",\"value\":1},{\"key\":\"statemgmt.(load)\",\"value\":1},{\"key\":\"validate.FastValidate\",\"value\":0}],\"local_cache_measurements_ms\":[{\"key\":\"local.cache.compute_duration\",\"value\":1543}]}}}}}"]} + # {"errors":[],"numSuccess":0,"numProtoSuccess":1,"numRealtimeSuccess":0} + acceptance_test.go:1269: 7.450 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle run some_other_job --python-params param1,param2 + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-511b88c1fe96bbda4eb9db242d2fe90e-dc0cce31959d0406-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat + > Accept: application/json + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json","created_at":1770978960873,"modified_at":1770978960873,"object_id":1982623590494527,"size":1284,"resource_id":"1982623590494527"} + # + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-5727597fca3c677e51f24d494ec3251f-0b6b6f562d1432cf-01 + > Accept-Encoding: gzip + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} + prepare_server.go:159: 200 GET /api/2.0/workspace-files/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-00e72431f52e92b8c2c41da4d6b6e9e6-a68a2ef0802011bd-01 + # { + # "state_version": 1, + # "cli_version": "0.0.0-dev+4ae10d219c76", + # "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", + # "serial": 1, + # "state": { + # "resources.jobs.some_other_job": { + # "__id__": "24404499078239", + # "state": { + # "deployment": { + # "kind": "BUNDLE", + # "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" + # }, + # "edit_mode": "UI_LOCKED", + # "format": "MULTI_TASK", + # "max_concurrent_runs": 1, + # "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", + # "queue": { + # "enabled": true + # }, + # "tasks": [ + # { + # "libraries": [ + # { + # "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" + # } + # ], + # "new_cluster": { + # "data_security_mode": "USER_ISOLATION", + # "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", + # "num_workers": 1, + # "spark_version": "13.3.x-snapshot-scala2.12" + # }, + # "python_wheel_task": { + # "entry_point": "run", + # "package_name": "my_test_code", + # "parameters": [ + # "one", + # "two" + # ] + # }, + # "task_key": "TestTask" + # } + # ] + # } + # } + # } + # } + prepare_server.go:159: 200 POST /api/2.2/jobs/run-now + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat + > Content-Length: 125 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-39533508ed96b7b86f983028ce28c7ec-38fe17120dce4e20-01 + > Accept-Encoding: gzip + > {"job_id":24404499078239,"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]} + # {"run_id":227673439805736,"number_in_job":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-8cec80eeeb9c2d6977b54bd0f7b89d62-984958a4e00a0e65-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":254,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + acceptance_test.go:1269: 8.364 Run URL: https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736 + acceptance_test.go:1269: 8.364 2026-02-13 11:36:02 "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" RUNNING + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-78948c4484902d773c056e7bd0d0d9f5-f677254bc061531c-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":1850,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-629cc74af0be07c274ab442ee92ef067-b279052ace588903-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":4387,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-b9f3c51702c229bffc162a7b342435c1-b054b1090380d8a8-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":8174,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-08593b580fcdbec44887770ff25e329f-0d00d72f4e6f3d04-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":12786,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-8d3ef81331b089f7371de4a1ce4313a9-2cbd6363a6eebca2-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":18261,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-99de9b1eb50cd60a8201d625e738d155-1eb6042fc185905c-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":24889,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-d10985eba0fbf1dc73d2c6b25d952f80-018569ffa3d949d6-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":32460,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-74e3d866a8b31c1deba4439871df2964-c1d2e34a07c97e11-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":41004,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-d89aaa25a618af81e125ef396ff868d6-202e93e6685e955b-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":50764,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-e74d08d84e88f921f7d53d5889a1cc91-ec987a4c63be784e-01 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":61197,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-d627e6473a94a8d9a29ad642c0d2ef2b-38a5c6e1184699e6-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":71506,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-3dba99a0f1b976fabc42c07ad1e44bb5-20efe285ac9167b3-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":82001,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-73b5241c76e97117c52ebf4d3e9863b3-e91c568946706a84-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":92865,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-62fbd09fef441eae16cebbb5118ba409-f2ad26c3e765fade-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":103584,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-55c1f5f0da96145431939877b3643a67-bde3b26100ec2f94-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":114439,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-6a79a9b39d3eadd6203380e11797640f-c3c89c2666b83581-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":124946,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-4a0a9b13d50637e3e05c54fa8b9ab1ea-8a59884d65326a87-01 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":135572,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-9b27535d83ac5e3f8c9f3f5d9ac9cc36-1da114ac1d7b548f-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":145975,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-4d824ac73a5c3a015afdfd4b114f944b-1d1b3726ba574e44-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":156842,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-5cbda750a67b52aaf738be74f5252d6a-a6d9d3b7b586e8eb-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":167305,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-514d9f9545f38276b328631bff4869b6-fb95067a4f410917-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":177572,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-1294249c4649472be4b9666e657b941f-5ba083898cd3c19d-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":188183,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-03e9efc27726435132f213388414ed62-338e4a6c60d2ed3c-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":198878,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-8030b98cace9312f9a587bfd09dee0f0-709ff5e2fff85438-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":209783,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-72754c4a651b35b384f994155f91c1d7-fd67fc2163951940-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":220089,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-0f5ea1aa5ae33c64a843ba735388f36b-64d28d8016833dbb-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":230414,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-4aa454682cf960d32a40429b687201c7-c444eb312d8d3313-01 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":240884,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-8cc8c9647cb05567a5d70a555221dd0f-8eb9e1a2aa636680-01 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":251799,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-98761530f14a663cd2f9791a014ca44a-515be74cced86f5f-01 + > Accept-Encoding: gzip + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219379,"run_duration":256725,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736} + acceptance_test.go:1269: 270.372 2026-02-13 11:40:24 "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" TERMINATED SUCCESS + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 + > Traceparent: 00-a2f86d3674bce03dd4dae50fc1e16346-3963a5e3d65e8ad5-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219379,"run_duration":256725,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736} + prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get-output?run_id=73663816158748 + > Traceparent: 00-3a6373746346b6e633d63995c21a6d24-2532be7003e81c91-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"metadata":{"job_id":24404499078239,"run_id":73663816158748,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":73663816158748,"original_attempt_run_id":73663816158748,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"trigger":"ONE_TIME","run_name":"TestTask","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","run_type":"JOB_RUN","parent_run_id":227673439805736,"tasks":[{"run_id":73663816158748,"task_key":"TestTask","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"task_key":"TestTask","format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736},"logs":"Hello from my func\nGot arguments:\n['my_test_code', 'param1', 'param2']\n","logs_truncated":false} + acceptance_test.go:1269: 271.035 Hello from my func + acceptance_test.go:1269: 271.035 Got arguments: + acceptance_test.go:1269: 271.035 ['my_test_code', 'param1', 'param2'] + acceptance_test.go:1269: 271.037 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle destroy --auto-approve + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-0f66fcb63213e1adbbfc54371f5c76e9-bb27b8eda62d9b51-01 + > Accept-Encoding: gzip + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-cf9d800c2874838ec8fcb12bc978b0b4-461c10c22d579952-01 + > Accept-Encoding: gzip + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json","created_at":1770978960873,"modified_at":1770978960873,"object_id":1982623590494527,"size":1284,"resource_id":"1982623590494527"} + # + prepare_server.go:159: 200 GET /api/2.0/workspace-files/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-df1cf18eea30d254c68b9cf7b4a6f449-8db2156b8893e60a-01 + # { + # "state_version": 1, + # "cli_version": "0.0.0-dev+4ae10d219c76", + # "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", + # "serial": 1, + # "state": { + # "resources.jobs.some_other_job": { + # "__id__": "24404499078239", + # "state": { + # "deployment": { + # "kind": "BUNDLE", + # "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" + # }, + # "edit_mode": "UI_LOCKED", + # "format": "MULTI_TASK", + # "max_concurrent_runs": 1, + # "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", + # "queue": { + # "enabled": true + # }, + # "tasks": [ + # { + # "libraries": [ + # { + # "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" + # } + # ], + # "new_cluster": { + # "data_security_mode": "USER_ISOLATION", + # "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", + # "num_workers": 1, + # "spark_version": "13.3.x-snapshot-scala2.12" + # }, + # "python_wheel_task": { + # "entry_point": "run", + # "package_name": "my_test_code", + # "parameters": [ + # "one", + # "two" + # ] + # }, + # "task_key": "TestTask" + # } + # ] + # } + # } + # } + # } + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-ca4d056462ef5dc3bab1b303027c258f-deb6ed1c741ce387-01 + # {"object_type":"DIRECTORY","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4","object_id":1982623590494491,"resource_id":"1982623590494491"} + # + prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-199f9feb0dc18cf89cc2dd47f490a049-408b7a81831fdd41-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Content-Length: 161 + > {"ID":"6af68908-9578-4250-938b-4bd0f2668e41","AcquisitionTime":"2026-02-13T11:40:26.143439+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true + > Traceparent: 00-6e8fcd4e197b7dcbf1bca1ac9da2b099-2b0e43cdf3ab82e1-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770979226300,"modified_at":1770979226300,"object_id":1982623590495584,"size":161,"resource_id":"1982623590495584"} + # + prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock + > Traceparent: 00-473386f815d08b415fc7b955610f56aa-a6f5a97747065ab2-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + # {"ID":"6af68908-9578-4250-938b-4bd0f2668e41","AcquisitionTime":"2026-02-13T11:40:26.143439+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} + prepare_server.go:159: 200 GET /api/2.2/jobs/get?job_id=24404499078239 + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-3a1fe92a039fcba1955fbc9bdbd44744-8a3cccbf007a76e7-01 + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Accept: application/json + # {"job_id":24404499078239,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","run_as_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","run_as_owner":true,"settings":{"name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","email_notifications":{},"webhook_notifications":{},"timeout_seconds":0,"max_concurrent_runs":1,"tasks":[{"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"timeout_seconds":0,"email_notifications":{}}],"format":"MULTI_TASK","queue":{"enabled":true},"edit_mode":"UI_LOCKED","deployment":{"kind":"BUNDLE","metadata_file_path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json"}},"created_time":1770978960489} + acceptance_test.go:1269: 272.338 The following resources will be deleted: + acceptance_test.go:1269: 272.338 delete resources.jobs.some_other_job + acceptance_test.go:1269: 272.338 All files and directories at the following location will be deleted: /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4 + prepare_server.go:159: 200 POST /api/2.2/jobs/delete + > Accept-Encoding: gzip + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Content-Length: 25 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-07dbbdb071d82530cbabb1a5db435e04-cc58dfb0cb48764c-01 + > {"job_id":24404499078239} + # {} + acceptance_test.go:1269: 272.538 Deleting files... + prepare_server.go:159: 200 POST /api/2.0/workspace/delete + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Content-Length: 116 + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Content-Type: application/json + > Traceparent: 00-e3ad136cab95c6b416110838275fced3-4100e1178fae01af-01 + > Accept-Encoding: gzip + > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4","recursive":true} + # {} + # + acceptance_test.go:1269: 272.708 Destroy complete! + prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true + > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat + > Accept: application/json + > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 + > Traceparent: 00-2fe41475f59efc0b4cbed6020fcd2fbb-609e7f8a836f7c65-01 + > Accept-Encoding: gzip + # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock) doesn't exist."} + acceptance_test.go:810: Diff: + --- bundle/integration_whl/custom_params/output.txt + +++ /var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001/output.txt + @@ -39,7 +39,7 @@ + Deployment complete! + + >>> [CLI] bundle run some_other_job --python-params param1,param2 + -Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] + +Run URL: https://dbc-1232e87d-9384.cloud.databricks.com/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] + + [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING + [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS + +--- FAIL: TestAccept (3.35s) + --- FAIL: TestAccept/bundle/integration_whl/custom_params (0.00s) + --- FAIL: TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct (274.98s) +FAIL +FAIL github.com/databricks/cli/acceptance 278.804s +FAIL diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 3b590b5255..490b82e198 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -215,7 +215,13 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { tasks = append(tasks, taskRun) if t.PythonWheelTask != nil { - logs, err := s.executePythonWheelTask(job.Settings, t) + // Apply python_params override from RunNow request if provided + taskToExecute := t + if len(request.PythonParams) > 0 { + taskToExecute.PythonWheelTask.Parameters = request.PythonParams + } + + logs, err := s.executePythonWheelTask(job.Settings, taskToExecute) if err != nil { taskRun.State.ResultState = jobs.RunResultStateFailed s.JobRunOutputs[taskRunId] = jobs.RunOutput{ From 10b48226238df32306e710edde00620310e247d0 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 12:17:38 +0100 Subject: [PATCH 08/15] testserver: add notebook task execution support for wrapper feature Implement notebook task execution to support the python_wheel_wrapper feature which transforms python_wheel_task into notebook_task for backward compatibility with older DBRs. The implementation: - Reads notebook files from workspace (handles both with/without .py extension) - Preprocesses notebooks to extract wheel paths from %pip install commands - Removes Databricks-specific magic commands (%python, %pip) - Mocks dbutils functions (widgets, library, notebook) - Installs wheels and executes the processed notebook This enables wrapper tests to run locally, though there's a minor output formatting difference (extra newline) that needs adjustment. Co-Authored-By: Claude Sonnet 4.5 --- .../bundle/integration_whl/wrapper/output.txt | 1 - libs/testserver/jobs.go | 173 +++++++++++++++++- 2 files changed, 163 insertions(+), 11 deletions(-) diff --git a/acceptance/bundle/integration_whl/wrapper/output.txt b/acceptance/bundle/integration_whl/wrapper/output.txt index bae674f2da..24c23d25d3 100644 --- a/acceptance/bundle/integration_whl/wrapper/output.txt +++ b/acceptance/bundle/integration_whl/wrapper/output.txt @@ -46,7 +46,6 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] Hello from my func Got arguments: ['my_test_code', 'one', 'two'] - >>> [CLI] bundle destroy --auto-approve The following resources will be deleted: delete resources.jobs.some_other_job diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 490b82e198..90cb2ace43 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -214,23 +214,28 @@ func (s *FakeWorkspace) JobsRunNow(req Request) Response { } tasks = append(tasks, taskRun) + var logs string + var err error + if t.PythonWheelTask != nil { // Apply python_params override from RunNow request if provided taskToExecute := t if len(request.PythonParams) > 0 { taskToExecute.PythonWheelTask.Parameters = request.PythonParams } + logs, err = s.executePythonWheelTask(job.Settings, taskToExecute) + } else if t.NotebookTask != nil { + logs, err = s.executeNotebookTask(t, request.NotebookParams) + } - logs, err := s.executePythonWheelTask(job.Settings, taskToExecute) - if err != nil { - taskRun.State.ResultState = jobs.RunResultStateFailed - s.JobRunOutputs[taskRunId] = jobs.RunOutput{ - Error: err.Error(), - } - } else { - s.JobRunOutputs[taskRunId] = jobs.RunOutput{ - Logs: logs, - } + if err != nil { + taskRun.State.ResultState = jobs.RunResultStateFailed + s.JobRunOutputs[taskRunId] = jobs.RunOutput{ + Error: err.Error(), + } + } else if logs != "" { + s.JobRunOutputs[taskRunId] = jobs.RunOutput{ + Logs: logs, } } } @@ -335,6 +340,88 @@ func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, ta return string(output), nil } +// executeNotebookTask executes a notebook task by running the notebook as a Python script. +// The wrapper feature transforms python_wheel_task into notebook_task that calls the wheel. +func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[string]string) (string, error) { + if task.NotebookTask == nil { + return "", fmt.Errorf("task has no notebook_task") + } + + // Read notebook file from workspace (lock already held by caller) + notebookPath := task.NotebookTask.NotebookPath + if !strings.HasPrefix(notebookPath, "/") { + notebookPath = "/" + notebookPath + } + + // Try both with and without .py extension (notebooks are stored with .py but referenced without) + notebookData := s.files[notebookPath].Data + if len(notebookData) == 0 { + notebookData = s.files[notebookPath+".py"].Data + } + if len(notebookData) == 0 { + return "", fmt.Errorf("notebook not found in workspace: %s (also tried .py)", notebookPath) + } + + // Create a temporary Python environment for notebook execution + tmpDir, err := os.MkdirTemp("", "notebook-task-*") + if err != nil { + return "", fmt.Errorf("failed to create temp dir: %w", err) + } + defer os.RemoveAll(tmpDir) + + // Preprocess notebook to extract wheel paths and remove Databricks-specific syntax + processedNotebook, whlPaths := s.preprocessNotebook(string(notebookData), notebookParams) + + // Write processed notebook to temp file + notebookFile := filepath.Join(tmpDir, "notebook.py") + if err := os.WriteFile(notebookFile, []byte(processedNotebook), 0o644); err != nil { + return "", fmt.Errorf("failed to write notebook file: %w", err) + } + + // Determine Python version from cluster config + pythonVersion := sparkVersionToPython(task) + + // Create venv for notebook execution + venvDir := filepath.Join(tmpDir, ".venv") + uvArgs := []string{"venv", "-q", "--python", pythonVersion, venvDir} + if out, err := exec.Command("uv", uvArgs...).CombinedOutput(); err != nil { + return "", fmt.Errorf("uv venv failed: %s\n%s", err, out) + } + + // Install wheels from %pip commands + if len(whlPaths) > 0 { + var localWhlPaths []string + for _, whlPath := range whlPaths { + // Read wheel from workspace + data := s.files[whlPath].Data + if len(data) == 0 { + return "", fmt.Errorf("wheel file not found in workspace: %s", whlPath) + } + localPath := filepath.Join(tmpDir, filepath.Base(whlPath)) + if err := os.WriteFile(localPath, data, 0o644); err != nil { + return "", fmt.Errorf("failed to write wheel file: %w", err) + } + localWhlPaths = append(localWhlPaths, localPath) + } + + installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(venvDir, "bin", "python")} + installArgs = append(installArgs, localWhlPaths...) + if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { + return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) + } + } + + // Execute notebook with Python + cmd := exec.Command(filepath.Join(venvDir, "bin", "python"), notebookFile) + output, err := cmd.CombinedOutput() + if err != nil { + return string(output), fmt.Errorf("notebook task execution failed: %s\n%s", err, output) + } + + // Return output with single trailing newline to match cloud behavior + return strings.TrimSpace(string(output)) + "\n", nil +} + // getOrCreateClusterEnv returns a cached venv for existing clusters or creates // a fresh one for new clusters. The cleanup function is non-nil only for new // clusters (whose venvs should be removed after use). @@ -504,3 +591,69 @@ func setSourceIfNotSet(job jobs.Job) jobs.Job { } return job } + +// preprocessNotebook converts a Databricks notebook to executable Python by: +// - Removing %python magic commands +// - Extracting wheel paths from %pip install commands +// - Removing %pip commands (wheels will be installed via uv) +// - Mocking dbutils functions +// - Converting dbutils.notebook.exit() to print() +func (s *FakeWorkspace) preprocessNotebook(notebook string, params map[string]string) (string, []string) { + var whlPaths []string + var result []string + + // Add dbutils mock at the beginning + result = append(result, "# Mock dbutils for local execution") + result = append(result, "class MockDbutils:") + result = append(result, " class Widgets:") + if pythonParams, ok := params["__python_params"]; ok { + result = append(result, fmt.Sprintf(" def get(self, key): return %q if key == '__python_params' else ''", pythonParams)) + } else { + result = append(result, " def get(self, key): return ''") + } + result = append(result, " widgets = Widgets()") + result = append(result, " class Library:") + result = append(result, " def restartPython(self): pass") + result = append(result, " library = Library()") + result = append(result, " class Notebook:") + result = append(result, " def exit(self, value): print(value)") + result = append(result, " notebook = Notebook()") + result = append(result, "dbutils = MockDbutils()") + result = append(result, "") + + lines := strings.Split(notebook, "\n") + for _, line := range lines { + trimmed := strings.TrimSpace(line) + + // Skip %python magic commands + if trimmed == "%python" { + continue + } + + // Extract wheel path from %pip install and skip the line + if strings.HasPrefix(trimmed, "%pip install") { + // Extract path from "%pip install --force-reinstall /path/to/wheel.whl" + parts := strings.Fields(trimmed) + for i, part := range parts { + if strings.HasSuffix(part, ".whl") { + whlPaths = append(whlPaths, part) + break + } + // Handle case where path is in next field + if (part == "--force-reinstall" || part == "-U") && i+1 < len(parts) { + if strings.HasSuffix(parts[i+1], ".whl") { + whlPaths = append(whlPaths, parts[i+1]) + break + } + } + } + continue + } + + // dbutils is now mocked at the beginning, so no need to replace calls + + result = append(result, line) + } + + return strings.Join(result, "\n"), whlPaths +} From 10a6a4310becb633ac19e966b950489fdea4cbe5 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 12:42:43 +0100 Subject: [PATCH 09/15] testserver: add notebook task execution support Implement notebook task execution in testserver to support python_wheel_wrapper feature for local testing. The wrapper transforms python_wheel_task into notebook_task for backward compatibility with older Databricks runtimes. Changes: - Add executeNotebookTask function to handle NotebookTask execution - Add preprocessNotebook to remove Databricks magic commands (%python, %pip) and extract wheel paths for installation - Create dbutils.py mock module with Widgets, Library, and Notebook classes - Set PYTHONPATH to enable importing dbutils mock during notebook execution - Normalize output trailing newlines to match cloud behavior With this change, integration_whl wrapper tests now run successfully on testserver without requiring cloud execution. Co-Authored-By: Claude Sonnet 4.5 --- .../custom_params/tmp.requests.direct.txt | 1588 ----------------- libs/testserver/dbutils.py | 41 + libs/testserver/jobs.go | 34 +- 3 files changed, 57 insertions(+), 1606 deletions(-) delete mode 100644 acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt create mode 100644 libs/testserver/dbutils.py diff --git a/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt b/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt deleted file mode 100644 index 824b3d116c..0000000000 --- a/acceptance/bundle/integration_whl/custom_params/tmp.requests.direct.txt +++ /dev/null @@ -1,1588 +0,0 @@ -+ exec deco env run -i -n aws-prod-ucws -- testme /direct -v -logrequests -2026/02/13 11:35:43 [INFO] Listing secrets from https://deco-aws-prod-ucws-is.vault.azure.net/ -+ go test ../../.. -run ^TestAccept$/^bundle$/^integration_whl$/^custom_params$/direct -v -logrequests -timeout=1h -=== RUN TestAccept - acceptance_test.go:1185: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 59.915833ms - acceptance_test.go:1189: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] output: Read version 1.105.0 from /Users/denis.bilenko/work/cli-main-cluster-testserver-0/bundle/internal/tf/codegen/schema/version.go - acceptance_test.go:1185: [uv build --no-cache -q --wheel --out-dir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 512.126166ms - acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks] took 436.71375ms - acceptance_test.go:1185: [make -s tools/yamlfmt] took 11.200167ms - acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_amd64/databricks] took 398.147792ms - acceptance_test.go:955: Created linux amd64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_amd64.zip - acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_arm64/databricks] took 400.374708ms - acceptance_test.go:955: Created linux arm64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_arm64.zip -=== RUN TestAccept/bundle/integration_whl/custom_params -=== PAUSE TestAccept/bundle/integration_whl/custom_params -=== NAME TestAccept - acceptance_test.go:357: Summary (dirs): 1/1/690 run/selected/total, 0 skipped -=== CONT TestAccept/bundle/integration_whl/custom_params -=== RUN TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct -=== PAUSE TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct -=== CONT TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct - acceptance_test.go:1269: 0.234 >>> cat databricks.yml - acceptance_test.go:1269: 0.238 bundle: - acceptance_test.go:1269: 0.238 name: wheel-task - acceptance_test.go:1269: 0.238 workspace: - acceptance_test.go:1269: 0.238 root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" - acceptance_test.go:1269: 0.239 include: - acceptance_test.go:1269: 0.239 - empty.yml - acceptance_test.go:1269: 0.239 resources: - acceptance_test.go:1269: 0.239 jobs: - acceptance_test.go:1269: 0.239 some_other_job: - acceptance_test.go:1269: 0.239 name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" - acceptance_test.go:1269: 0.239 tasks: - acceptance_test.go:1269: 0.239 - task_key: TestTask - acceptance_test.go:1269: 0.239 new_cluster: - acceptance_test.go:1269: 0.239 num_workers: 1 - acceptance_test.go:1269: 0.239 spark_version: 13.3.x-snapshot-scala2.12 - acceptance_test.go:1269: 0.239 node_type_id: i3.xlarge - acceptance_test.go:1269: 0.239 data_security_mode: USER_ISOLATION - acceptance_test.go:1269: 0.239 instance_pool_id: 0510-220703-wing13-pool-as5icbo0 - acceptance_test.go:1269: 0.239 python_wheel_task: - acceptance_test.go:1269: 0.239 package_name: my_test_code - acceptance_test.go:1269: 0.239 entry_point: run - acceptance_test.go:1269: 0.239 parameters: - acceptance_test.go:1269: 0.239 - "one" - acceptance_test.go:1269: 0.239 - "two" - acceptance_test.go:1269: 0.239 libraries: - acceptance_test.go:1269: 0.239 - whl: ./dist/*.whl - acceptance_test.go:1269: 0.239 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle deploy - prepare_server.go:159: 200 GET /api/2.0/preview/scim/v2/Me - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-1b0771e80e932e174f1ce6e4dfa38e6c-bdfeee80fa8c1811-01 - # {"emails":[{"type":"work","value":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","primary":true}],"entitlements":[{"value":"allow-cluster-create"},{"value":"allow-instance-pool-create"}],"displayName":"DECO-TF-AWS-PROD-IS-SPN","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:workspace:2.0:User"],"name":{"givenName":"DECO-TF-AWS-PROD-IS-SPN"},"active":true,"groups":[{"display":"users","type":"direct","value":"663786116330400","$ref":"Groups/663786116330400"},{"display":"admins","type":"direct","value":"860801939641561","$ref":"Groups/860801939641561"}],"id":"3749120194272290","userName":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-c55514e3feae3633d2b8b33f1fe68316-76322129cebe21dd-01 - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true - > Traceparent: 00-5bedaf586165d84cfb4989ef6dfc7304-f69b276986e58bdd-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json) doesn't exist."} - acceptance_test.go:1269: 2.420 Building python_artifact... - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeployment.json&return_export_info=true - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-7c20159c87808c8c50711c8545455387-8196226f6924d2f2-01 - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deployment.json) doesn't exist."} - prepare_server.go:159: 404 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 161 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-c380925a0d601fbb1b47d4758254b592-683b892eb3bf8bae-01 - > {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - # {"error_code":"\u003cnil\u003e","message":"Request failed for POST /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock"} - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-cb5bbcaef269a36647f45413d7aad628-18fc60a15ce54848-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 105 - > Accept: application/json - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state"} - # {} - # - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 161 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-86e8e96aef9ba3f4cfad2af5c105605c-02df361bd7db8f37-01 - > Accept-Encoding: gzip - > {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-62368d5d4f8156030ab6ec51b5333211-b871d6df1911ea88-01 - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} - # - prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock - > Traceparent: 00-d7b954e64cdb85cfce6d3d6001a221ae-65042bca5064ae92-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - # {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 404 POST /api/2.0/workspace/delete - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-839fe649a8eab44699368cbf27b24168-d40f3b9c35c6b020-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 136 - > Accept: application/json - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal","recursive":true} - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal) doesn't exist."} - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Content-Type: application/json - > Traceparent: 00-2ee1d9c56d4dd27c2dcc81a97126173a-7404b98942d9f5b0-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 119 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal"} - # {} - # - acceptance_test.go:1269: 4.040 Uploading dist/my_test_code-0.0.1-py3-none-any.whl... - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fartifacts%2F.internal%2Fmy_test_code-0.0.1-py3-none-any.whl?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 1916 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-a6630a7a03d9523d2470b0b58f874858-e7606ca3f0e34a5d-01 - > Accept-Encoding: gzip - > [Binary 1916 bytes] - acceptance_test.go:1269: 4.235 Uploading bundle files to /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files... - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-c4fa97e4144051d26b248f666c131214-0dfd2b4b68ad281a-01 - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files) doesn't exist."} - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-9ad490d5416c776c8fb5ec118c6ac7d8-f24c0749ff95079d-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 105 - > Accept: application/json - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files"} - # {} - # - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles - > Traceparent: 00-fa68032f1505a0ea9fa049efbaee27f4-48e7a2818038d237-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"object_type":"DIRECTORY","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files","object_id":1982623590494500,"resource_id":"1982623590494500"} - # - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Traceparent: 00-14f8c949660df62542e9561c2a7e30c8-2c9ece53e7132476-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 110 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/dist"} - # {} - # - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-f29ff8d83e24a8c73bb9cc1d385ac2d1-9d3f0f3d4875a10b-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 118 - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/my_test_code"} - # {} - # - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 127 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-72e4c7215e246546074eacac47ad3a23-a0b3084615345099-01 - > Accept-Encoding: gzip - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/my_test_code.egg-info"} - # {} - # - prepare_server.go:159: 200 POST /api/2.0/workspace/mkdirs - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 128 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-3e5d41b5d46d167951aa4841e8a30fe5-836e0c321e69527c-01 - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files/build/lib/my_test_code"} - # {} - # - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fempty.yml?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 0 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-805b638779bd557ccad28b186b8bf5cf-f125618450dc99ca-01 - > Accept-Encoding: gzip - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Ftmp.requests.direct.txt?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 2511 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-3dc268106ccdd811407831a44d42280b-ca78b1df9bcbc845-01 - > Accept-Encoding: gzip - > + exec deco env run -i -n aws-prod-ucws -- testme /direct -v -logrequests - > 2026/02/13 11:35:43 [INFO] Listing secrets from https://deco-aws-prod-ucws-is.vault.azure.net/ - > + go test ../../.. -run ^TestAccept$/^bundle$/^integration_whl$/^custom_params$/direct -v -logrequests -timeout=1h - > === RUN TestAccept - > acceptance_test.go:1185: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 59.915833ms - > acceptance_test.go:1189: [python3 /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/install_terraform.py --targetdir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] output: Read version 1.105.0 from /Users/denis.bilenko/work/cli-main-cluster-testserver-0/bundle/internal/tf/codegen/schema/version.go - > acceptance_test.go:1185: [uv build --no-cache -q --wheel --out-dir /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64] took 512.126166ms - > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks] took 436.71375ms - > acceptance_test.go:1185: [make -s tools/yamlfmt] took 11.200167ms - > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_amd64/databricks] took 398.147792ms - > acceptance_test.go:955: Created linux amd64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_amd64.zip - > acceptance_test.go:1185: [go build -o /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/linux_arm64/databricks] took 400.374708ms - > acceptance_test.go:955: Created linux arm64 release: /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/releases/databricks_cli_linux_arm64.zip - > === RUN TestAccept/bundle/integration_whl/custom_params - > === PAUSE TestAccept/bundle/integration_whl/custom_params - > === NAME TestAccept - > acceptance_test.go:357: Summary (dirs): 1/1/690 run/selected/total, 0 skipped - > === CONT TestAccept/bundle/integration_whl/custom_params - > === RUN TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct - > === PAUSE TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct - > === CONT TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fsetup.py?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 442 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-44ae252b6fb47069b994681a54eeb2ee-150b740025b71533-01 - > Accept-Encoding: gzip - > from setuptools import setup, find_packages - > - > import my_test_code - > - > setup( - > name="my_test_code", - > version=my_test_code.__version__, - > author=my_test_code.__author__, - > url="https://databricks.com", - > author_email="john.doe@databricks.com", - > description="my example wheel", - > packages=find_packages(include=["my_test_code"]), - > entry_points={"group1": "run=my_test_code.__main__:main"}, - > install_requires=["setuptools"], - > ) - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Frepls.json?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 5949 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-82cca453334a54b2e1a81ad237e46fdf-dac739707dd0b24e-01 - > Accept-Encoding: gzip - > [ - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/\\.terraformrc", - > "New": "[DATABRICKS_TF_CLI_CONFIG_FILE]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/terraform", - > "New": "[TERRAFORM]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks_bundles-0\\.288\\.0-py3-none-any\\.whl", - > "New": "[DATABRICKS_BUNDLES_WHEEL]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks", - > "New": "[CLI]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "ca46a3458140daa8", - > "New": "[TEST_DEFAULT_WAREHOUSE_ID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "0823-120319-rco8xpu4", - > "New": "[TEST_DEFAULT_CLUSTER_ID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "0510-220703-wing13-pool-as5icbo0", - > "New": "[TEST_INSTANCE_POOL_ID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64", - > "New": "[BUILD_DIR]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "0\\.0\\.0-dev(\\+[a-f0-9]{10,16})?", - > "New": "[DEV_VERSION]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "databricks-sdk-go/[0-9]+\\.[0-9]+\\.[0-9]+", - > "New": "databricks-sdk-go/[SDK_VERSION]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "1\\.25\\.5", - > "New": "[GO_VERSION]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/Users/denis\\.bilenko/work/cli-main-cluster-testserver-0/acceptance", - > "New": "[TESTROOT]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "dbapi[0-9a-f]+", - > "New": "[DATABRICKS_TOKEN]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "i3\\.xlarge", - > "New": "[NODE_TYPE_ID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "um5mnynfzzha3kh22kre2y7cp4", - > "New": "[UNIQUE_NAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/private/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001", - > "New": "[TEST_TMP_DIR]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001", - > "New": "[TEST_TMP_DIR]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/private/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820", - > "New": "[TEST_TMP_DIR]_PARENT", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "/var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820", - > "New": "[TEST_TMP_DIR]_PARENT", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "b76b6808-9e10-43b3-be20-6b6d19ed1af0", - > "New": "[USERNAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "DECO-TF-AWS-PROD-IS-SPN", - > "New": "[USERNAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "DECO-TF-AWS-PROD-IS-SPN", - > "New": "[USERNAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "b76b6808-9e10-43b3-be20-6b6d19ed1af0", - > "New": "[USERNAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "deco_tf_aws_prod_is_spn", - > "New": "[USERNAME]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "663786116330400", - > "New": "[USERGROUP]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "860801939641561", - > "New": "[USERGROUP]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "3749120194272290", - > "New": "[USERID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "https://127\\.0\\.0\\.1:65285", - > "New": "[DATABRICKS_URL]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "http://127\\.0\\.0\\.1:65285", - > "New": "[DATABRICKS_URL]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "127\\.0\\.0\\.1:65285", - > "New": "[DATABRICKS_HOST]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}", - > "New": "[UUID]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "\\d{20,}", - > "New": "[NUMID]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "1[78]\\d{17}", - > "New": "[UNIX_TIME_NANOS]", - > "Order": 10, - > "Distinct": true - > }, - > { - > "Old": "\\d{17,}", - > "New": "[NUMID]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "\\d{14,}", - > "New": "[NUMID]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "1[78]\\d{11}", - > "New": "[UNIX_TIME_MILLIS]", - > "Order": 10, - > "Distinct": true - > }, - > { - > "Old": "\\d{11,}", - > "New": "[NUMID]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "1[78]\\d{8}", - > "New": "[UNIX_TIME_S]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "\\d{8,}", - > "New": "[NUMID]", - > "Order": 10, - > "Distinct": false - > }, - > { - > "Old": "2\\d\\d\\d-\\d\\d-\\d\\d(T| )\\d\\d:\\d\\d:\\d\\d\\.\\d+(Z|\\+\\d\\d:\\d\\d)?", - > "New": "[TIMESTAMP]", - > "Order": 9, - > "Distinct": false - > }, - > { - > "Old": "2\\d\\d\\d-\\d\\d-\\d\\d(T| )\\d\\d:\\d\\d:\\d\\dZ?", - > "New": "[TIMESTAMP]", - > "Order": 9, - > "Distinct": false - > }, - > { - > "Old": "os/darwin", - > "New": "os/[OS]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "os/windows", - > "New": "os/[OS]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": "os/linux", - > "New": "os/[OS]", - > "Order": 0, - > "Distinct": false - > }, - > { - > "Old": " cicd/github", - > "New": "", - > "Order": 0, - > "Distinct": false - > } - > ] - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fbuild%2Flib%2Fmy_test_code%2F__main__.py?overwrite=true - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-160ea39ef5ba7bb77b14d84e09d4e137-e283edaf13683e6f-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 242 - > Accept: application/json - > """ - > The entry point of the Python Wheel - > """ - > - > import sys - > - > - > def main(): - > # This method will print the provided arguments - > print("Hello from my func") - > print("Got arguments:") - > print(sys.argv) - > - > - > if __name__ == "__main__": - > main() - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fdist%2Fmy_test_code-0.0.1-py3-none-any.whl?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 1916 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-f8ce957904b8f26e9137834d41c09c3d-fd05d4fca6c59a0c-01 - > Accept-Encoding: gzip - > [Binary 1916 bytes] - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Frequires.txt?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 11 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-469f7e53d198f483e460d2acecc4af00-865f35208630597b-01 - > Accept-Encoding: gzip - > setuptools - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Ftop_level.txt?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 13 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-b2df617d61f0b11cc58003b19c7e304e-51129f985f31f32b-01 - > Accept-Encoding: gzip - > my_test_code - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fscript?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 3883 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-d05694e1386ebef73b0125b088733622-48f37cf91bff7b4c-01 - > Accept-Encoding: gzip - > errcode() { - > # Temporarily disable 'set -e' to prevent the script from exiting on error - > set +e - > # Execute the provided command with all arguments - > "$@" - > local exit_code=$? - > # Re-enable 'set -e' if it was previously set - > set -e - > if [ $exit_code -ne 0 ]; then - > >&2 printf "\nExit code: $exit_code\n" - > fi - > } - > - > musterr() { - > # Temporarily disable 'set -e' to prevent the script from exiting on error - > set +e - > # Execute the provided command with all arguments - > "$@" - > local exit_code=$? - > # Re-enable 'set -e' - > set -e - > if [ $exit_code -eq 0 ]; then - > >&2 printf "\nUnexpected success\n" - > exit 1 - > fi - > } - > - > trace() { - > >&2 printf "\n>>> %s\n" "$*" - > - > if [[ "$1" == *"="* ]]; then - > # If the first argument contains '=', collect all env vars - > local env_vars=() - > while [[ "$1" == *"="* ]]; do - > env_vars+=("$1") - > shift - > done - > # Export environment variables in a subshell and execute the command - > ( - > export "${env_vars[@]}" - > "$@" - > ) - > else - > # Execute the command normally - > "$@" - > fi - > - > return $? - > } - > - > git-repo-init() { - > git init -qb main - > git config core.autocrlf false - > git config user.name "Tester" - > git config user.email "tester@databricks.com" - > git config core.hooksPath no-hooks - > git add databricks.yml - > git commit -qm 'Add databricks.yml' - > } - > - > title() { - > local label="$1" - > printf "\n=== %b" "$label" - > } - > - > withdir() { - > local dir="$1" - > shift - > local orig_dir="$(pwd)" - > cd "$dir" || return $? - > "$@" - > local exit_code=$? - > cd "$orig_dir" || return $? - > return $exit_code - > } - > - > uuid() { - > python3 -c 'import uuid; print(uuid.uuid4())' - > } - > - > venv_activate() { - > if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then - > source .venv/Scripts/activate - > else - > source .venv/bin/activate - > fi - > } - > - > envsubst() { - > # We need to disable MSYS_NO_PATHCONV when running the python script. - > # This is because the python interpreter is otherwise unable to find the python script - > # when MSYS_NO_PATHCONV is enabled. - > env -u MSYS_NO_PATHCONV envsubst.py - > } - > - > print_telemetry_bool_values() { - > jq -r 'select(.path? == "/telemetry-ext") | (.body.protoLogs // [])[] | fromjson | ( (.entry // .) | (.databricks_cli_log.bundle_deploy_event.experimental.bool_values // []) ) | map("\(.key) \(.value)") | .[]' out.requests.txt | sort - > } - > - > sethome() { - > local home="$1" - > mkdir -p "$home" - > - > # For macOS and Linux, use HOME. - > export HOME="$home" - > - > # For Windows, use USERPROFILE. - > export USERPROFILE="$home" - > } - > - > as-test-sp() { - > if [[ -z "$TEST_SP_TOKEN" ]]; then - > echo "Error: TEST_SP_TOKEN is not set." >&2 - > return 1 - > fi - > - > DATABRICKS_TOKEN="$TEST_SP_TOKEN" \ - > DATABRICKS_CLIENT_SECRET="" \ - > DATABRICKS_CLIENT_ID="" \ - > DATABRICKS_AUTH_TYPE="" \ - > "$@" - > } - > - > readplanarg() { - > # Expands into "--plan " based on READPLAN env var - > # Use it with "bundle deploy" to configure two runs: once with saved plan and one without. - > # Note: READPLAN is specially handled in test runner so that engine=terraform/readplan is set combination is skipped. - > if [[ -n "$READPLAN" ]]; then - > printf -- "--plan %s" "$1" - > else - > printf "" - > fi - > } - > - > uv venv -q .venv - > venv_activate - > uv pip install -q setuptools - > - > ( - > export EXTRA_CONFIG=empty.yml - > envsubst < $TESTDIR/../base/databricks.yml.tmpl > databricks.yml - > cp -r $TESTDIR/../base/{$EXTRA_CONFIG,setup.py,my_test_code} . - > trace cat databricks.yml - > trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT - > trace $CLI bundle deploy - > - > # Add all resource IDs to runtime replacements to avoid pattern matching ambiguity - > replace_ids.py - > - > trace $CLI bundle run some_other_job --python-params param1,param2 - > ) - > - > rm -fr .databricks .gitignore - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2FSOURCES.txt?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 276 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-030fd345b31be3c32dafe701ad005369-ace7a8b65326b105-01 - > Accept-Encoding: gzip - > setup.py - > my_test_code/__init__.py - > my_test_code/__main__.py - > my_test_code.egg-info/PKG-INFO - > my_test_code.egg-info/SOURCES.txt - > my_test_code.egg-info/dependency_links.txt - > my_test_code.egg-info/entry_points.txt - > my_test_code.egg-info/requires.txt - > my_test_code.egg-info/top_level.txt - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Fentry_points.txt?overwrite=true - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-7bc327e0b2ecfe1d2c0502a81924127d-c08e79f241c12b68-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 42 - > Accept: application/json - > [group1] - > run = my_test_code.__main__:main - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Foutput.txt?overwrite=true - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-efbb0d7ba3264fc06aa1138e13cd3551-3d3fe76e2bd6816e-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 1083 - > Accept: application/json - > - > >>> cat databricks.yml - > bundle: - > name: wheel-task - > - > workspace: - > root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" - > - > include: - > - empty.yml - > - > resources: - > jobs: - > some_other_job: - > name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" - > tasks: - > - task_key: TestTask - > new_cluster: - > num_workers: 1 - > spark_version: 13.3.x-snapshot-scala2.12 - > node_type_id: i3.xlarge - > data_security_mode: USER_ISOLATION - > instance_pool_id: 0510-220703-wing13-pool-as5icbo0 - > python_wheel_task: - > package_name: my_test_code - > entry_point: run - > parameters: - > - "one" - > - "two" - > libraries: - > - whl: ./dist/*.whl - > - > >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle deploy - > Building python_artifact... - > Uploading dist/my_test_code-0.0.1-py3-none-any.whl... - > Uploading bundle files to /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files... - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2Fdependency_links.txt?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 1 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-86a436b72b0d8ae1c22695dc40f8380d-e38e685111105256-01 - > Accept-Encoding: gzip - > - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fout.test.toml?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 109 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-83fc883aa3b470927609da617e46282b-d29aff899190d3be-01 - > Accept-Encoding: gzip - > Local = true - > Cloud = true - > CloudSlow = true - > - > [EnvMatrix] - > DATABRICKS_BUNDLE_ENGINE = ["terraform", "direct"] - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code%2F__main__.py?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 242 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-5f8da97e1e7990561524f6476177802a-dcdff3d739c5b1a6-01 - > Accept-Encoding: gzip - > """ - > The entry point of the Python Wheel - > """ - > - > import sys - > - > - > def main(): - > # This method will print the provided arguments - > print("Hello from my func") - > print("Got arguments:") - > print(sys.argv) - > - > - > if __name__ == "__main__": - > main() - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code.egg-info%2FPKG-INFO?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 296 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-c682bde155a683e16a346ffe3f4da24f-f7c8beba4cbda389-01 - > Accept-Encoding: gzip - > Metadata-Version: 2.4 - > Name: my_test_code - > Version: 0.0.1 - > Summary: my example wheel - > Home-page: https://databricks.com - > Author: Databricks - > Author-email: john.doe@databricks.com - > Requires-Dist: setuptools - > Dynamic: author - > Dynamic: author-email - > Dynamic: home-page - > Dynamic: requires-dist - > Dynamic: summary - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fmy_test_code%2F__init__.py?overwrite=true - > Traceparent: 00-fcba3dfe5e4ce2f15615fa5e5367e270-c6bc95a8a8564763-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 48 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > __version__ = "0.0.1" - > __author__ = "Databricks" - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fbuild%2Flib%2Fmy_test_code%2F__init__.py?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 48 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-26acd69857ed671521af27fc67762a68-e5a7d3750a859e8a-01 - > Accept-Encoding: gzip - > __version__ = "0.0.1" - > __author__ = "Databricks" - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Ffiles%2Fdatabricks.yml?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 737 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-f6bdcd7cda7f9ec39f342d0bdab401c9-239ed010f30a3399-01 - > Accept-Encoding: gzip - > bundle: - > name: wheel-task - > - > workspace: - > root_path: "~/.bundle/um5mnynfzzha3kh22kre2y7cp4" - > - > include: - > - empty.yml - > - > resources: - > jobs: - > some_other_job: - > name: "[${bundle.target}] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" - > tasks: - > - task_key: TestTask - > new_cluster: - > num_workers: 1 - > spark_version: 13.3.x-snapshot-scala2.12 - > node_type_id: i3.xlarge - > data_security_mode: USER_ISOLATION - > instance_pool_id: 0510-220703-wing13-pool-as5icbo0 - > python_wheel_task: - > package_name: my_test_code - > entry_point: run - > parameters: - > - "one" - > - "two" - > libraries: - > - whl: ./dist/*.whl - > - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeployment.json?overwrite=true - > Content-Length: 1339 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-bf4cef88ed1e6e5c29308f068120bb23-459b86f579e02e45-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > {"version":1,"seq":1,"cli_version":"0.0.0-dev+4ae10d219c76","timestamp":"2026-02-13T10:36:00.056632Z","files":[{"local_path":"databricks.yml","is_notebook":false},{"local_path":"dist/my_test_code-0.0.1-py3-none-any.whl","is_notebook":false},{"local_path":"my_test_code.egg-info/dependency_links.txt","is_notebook":false},{"local_path":"out.test.toml","is_notebook":false},{"local_path":"setup.py","is_notebook":false},{"local_path":"my_test_code.egg-info/PKG-INFO","is_notebook":false},{"local_path":"my_test_code.egg-info/entry_points.txt","is_notebook":false},{"local_path":"build/lib/my_test_code/__init__.py","is_notebook":false},{"local_path":"build/lib/my_test_code/__main__.py","is_notebook":false},{"local_path":"my_test_code/__init__.py","is_notebook":false},{"local_path":"my_test_code/__main__.py","is_notebook":false},{"local_path":"my_test_code.egg-info/requires.txt","is_notebook":false},{"local_path":"my_test_code.egg-info/top_level.txt","is_notebook":false},{"local_path":"repls.json","is_notebook":false},{"local_path":"empty.yml","is_notebook":false},{"local_path":"my_test_code.egg-info/SOURCES.txt","is_notebook":false},{"local_path":"output.txt","is_notebook":false},{"local_path":"script","is_notebook":false},{"local_path":"tmp.requests.direct.txt","is_notebook":false}],"id":"9d6daf5a-13c8-4adc-9ab1-8cff7c775bf2"} - acceptance_test.go:1269: 5.683 Deploying resources... - prepare_server.go:159: 200 POST /api/2.2/jobs/create - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 790 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-83bc0051f56659723b6e3de20218101c-664b175134d30983-01 - > Accept-Encoding: gzip - > {"deployment":{"kind":"BUNDLE","metadata_file_path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json"},"edit_mode":"UI_LOCKED","format":"MULTI_TASK","max_concurrent_runs":1,"name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","queue":{"enabled":true},"tasks":[{"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"new_cluster":{"data_security_mode":"USER_ISOLATION","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","num_workers":1,"spark_version":"13.3.x-snapshot-scala2.12"},"python_wheel_task":{"entry_point":"run","package_name":"my_test_code","parameters":["one","two"]},"task_key":"TestTask"}]} - # {"job_id":24404499078239} - acceptance_test.go:1269: 6.142 Updating deployment state... - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json?overwrite=true - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-a39c0adfaefd9fc66dab421d11376879-8ef0d4b0c4eb2130-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 1284 - > { - > "state_version": 1, - > "cli_version": "0.0.0-dev+4ae10d219c76", - > "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", - > "serial": 1, - > "state": { - > "resources.jobs.some_other_job": { - > "__id__": "24404499078239", - > "state": { - > "deployment": { - > "kind": "BUNDLE", - > "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" - > }, - > "edit_mode": "UI_LOCKED", - > "format": "MULTI_TASK", - > "max_concurrent_runs": 1, - > "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", - > "queue": { - > "enabled": true - > }, - > "tasks": [ - > { - > "libraries": [ - > { - > "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" - > } - > ], - > "new_cluster": { - > "data_security_mode": "USER_ISOLATION", - > "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", - > "num_workers": 1, - > "spark_version": "13.3.x-snapshot-scala2.12" - > }, - > "python_wheel_task": { - > "entry_point": "run", - > "package_name": "my_test_code", - > "parameters": [ - > "one", - > "two" - > ] - > }, - > "task_key": "TestTask" - > } - > ] - > } - > } - > } - > } - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fmetadata.json?overwrite=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 556 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-52a021d945dedcb4e942f61662f86cdd-eb809166ab8551bf-01 - > Accept-Encoding: gzip - > { - > "version": 1, - > "config": { - > "bundle": { - > "name": "wheel-task", - > "target": "default", - > "git": { - > "bundle_root_path": "." - > } - > }, - > "workspace": { - > "file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/files" - > }, - > "resources": { - > "jobs": { - > "some_other_job": { - > "id": "24404499078239", - > "relative_path": "databricks.yml" - > } - > } - > }, - > "presets": { - > "source_linked_deployment": false - > } - > }, - > "extra": {} - > } - acceptance_test.go:1269: 6.512 Deployment complete! - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-3796403d6f2be003407087df865f4ec6-6631baf739699f4e-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} - # - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-da266cd80e38d9eab464009bce7c6aee-edb36702aebef0fa-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770978957941,"modified_at":1770978957941,"object_id":1982623590494494,"size":161,"resource_id":"1982623590494494"} - # - prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock - > Content-Type: application/json - > Traceparent: 00-e013f9955261bb9f21884347d7a8393f-cf34fc1fc85e3fa4-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"ID":"4dfd9220-13d4-4920-b82c-47ae7c670c65","AcquisitionTime":"2026-02-13T11:35:57.411203+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 200 POST /api/2.0/workspace/delete - > Content-Length: 117 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-a742f496470da72168e0f1530867303e-9a6ae9d252f73d33-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock"} - # {} - # - prepare_server.go:159: 200 POST /telemetry-ext - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_deploy cmd-exec-id/359c60ce-a944-4f20-87c4-0fe7d70b0860 engine/direct auth/pat - > Content-Length: 2917 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-72d2a1757052ff30927495a2d113aa4f-f1effd9d0907b176-01 - > {"uploadTime":1770978961806,"items":[],"protoLogs":["{\"frontend_log_event_id\":\"fff111c5-8ccd-469a-ba25-6c2aba8e37d0\",\"entry\":{\"databricks_cli_log\":{\"execution_context\":{\"cmd_exec_id\":\"359c60ce-a944-4f20-87c4-0fe7d70b0860\",\"version\":\"0.0.0-dev+4ae10d219c76\",\"command\":\"bundle_deploy\",\"operating_system\":\"darwin\",\"execution_time_ms\":6530,\"exit_code\":0},\"bundle_deploy_event\":{\"bundle_uuid\":\"00000000-0000-0000-0000-000000000000\",\"deployment_id\":\"9d6daf5a-13c8-4adc-9ab1-8cff7c775bf2\",\"resource_count\":1,\"resource_job_count\":1,\"resource_pipeline_count\":0,\"resource_model_count\":0,\"resource_experiment_count\":0,\"resource_model_serving_endpoint_count\":0,\"resource_registered_model_count\":0,\"resource_quality_monitor_count\":0,\"resource_schema_count\":0,\"resource_volume_count\":0,\"resource_cluster_count\":0,\"resource_dashboard_count\":0,\"resource_app_count\":0,\"resource_job_ids\":[\"24404499078239\"],\"experimental\":{\"configuration_file_count\":2,\"variable_count\":0,\"complex_variable_count\":0,\"lookup_variable_count\":0,\"target_count\":1,\"bool_values\":[{\"key\":\"local.cache.attempt\",\"value\":true},{\"key\":\"local.cache.miss\",\"value\":true},{\"key\":\"experimental.use_legacy_run_as\",\"value\":false},{\"key\":\"run_as_set\",\"value\":false},{\"key\":\"presets_name_prefix_is_set\",\"value\":false},{\"key\":\"artifact_build_command_is_set\",\"value\":false},{\"key\":\"artifact_files_is_set\",\"value\":false},{\"key\":\"python_wheel_wrapper_is_set\",\"value\":false},{\"key\":\"skip_artifact_cleanup\",\"value\":false},{\"key\":\"has_serverless_compute\",\"value\":false},{\"key\":\"has_classic_job_compute\",\"value\":true},{\"key\":\"has_classic_interactive_compute\",\"value\":false}],\"bundle_mode\":\"TYPE_UNSPECIFIED\",\"workspace_artifact_path_type\":\"WORKSPACE_FILE_SYSTEM\",\"bundle_mutator_execution_time_ms\":[{\"key\":\"phases.Initialize\",\"value\":1576},{\"key\":\"mutator.(populateCurrentUser)\",\"value\":1547},{\"key\":\"files.(upload)\",\"value\":1244},{\"key\":\"lock.(acquire)\",\"value\":897},{\"key\":\"artifacts.(cleanUp)\",\"value\":307},{\"key\":\"phases.Build\",\"value\":276},{\"key\":\"artifacts.(build)\",\"value\":273},{\"key\":\"deploy.(statePush)\",\"value\":197},{\"key\":\"libraries.(upload)\",\"value\":195},{\"key\":\"metadata.(upload)\",\"value\":182},{\"key\":\"deploy.(statePull)\",\"value\":137},{\"key\":\"resourcemutator.(processStaticResources)\",\"value\":16},{\"key\":\"mutator.(logResourceReferences)\",\"value\":2},{\"key\":\"mutator.(resolveVariableReferences)\",\"value\":2},{\"key\":\"mutator.(resolveVariableReferences)\",\"value\":1},{\"key\":\"resourcemutator.(dashboardFixups)\",\"value\":1},{\"key\":\"statemgmt.(load)\",\"value\":1},{\"key\":\"validate.FastValidate\",\"value\":0}],\"local_cache_measurements_ms\":[{\"key\":\"local.cache.compute_duration\",\"value\":1543}]}}}}}"]} - # {"errors":[],"numSuccess":0,"numProtoSuccess":1,"numRealtimeSuccess":0} - acceptance_test.go:1269: 7.450 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle run some_other_job --python-params param1,param2 - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-511b88c1fe96bbda4eb9db242d2fe90e-dc0cce31959d0406-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat - > Accept: application/json - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json","created_at":1770978960873,"modified_at":1770978960873,"object_id":1982623590494527,"size":1284,"resource_id":"1982623590494527"} - # - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-5727597fca3c677e51f24d494ec3251f-0b6b6f562d1432cf-01 - > Accept-Encoding: gzip - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} - prepare_server.go:159: 200 GET /api/2.0/workspace-files/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 auth/pat - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-00e72431f52e92b8c2c41da4d6b6e9e6-a68a2ef0802011bd-01 - # { - # "state_version": 1, - # "cli_version": "0.0.0-dev+4ae10d219c76", - # "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", - # "serial": 1, - # "state": { - # "resources.jobs.some_other_job": { - # "__id__": "24404499078239", - # "state": { - # "deployment": { - # "kind": "BUNDLE", - # "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" - # }, - # "edit_mode": "UI_LOCKED", - # "format": "MULTI_TASK", - # "max_concurrent_runs": 1, - # "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", - # "queue": { - # "enabled": true - # }, - # "tasks": [ - # { - # "libraries": [ - # { - # "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" - # } - # ], - # "new_cluster": { - # "data_security_mode": "USER_ISOLATION", - # "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", - # "num_workers": 1, - # "spark_version": "13.3.x-snapshot-scala2.12" - # }, - # "python_wheel_task": { - # "entry_point": "run", - # "package_name": "my_test_code", - # "parameters": [ - # "one", - # "two" - # ] - # }, - # "task_key": "TestTask" - # } - # ] - # } - # } - # } - # } - prepare_server.go:159: 200 POST /api/2.2/jobs/run-now - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat - > Content-Length: 125 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-39533508ed96b7b86f983028ce28c7ec-38fe17120dce4e20-01 - > Accept-Encoding: gzip - > {"job_id":24404499078239,"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]} - # {"run_id":227673439805736,"number_in_job":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-8cec80eeeb9c2d6977b54bd0f7b89d62-984958a4e00a0e65-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":254,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - acceptance_test.go:1269: 8.364 Run URL: https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736 - acceptance_test.go:1269: 8.364 2026-02-13 11:36:02 "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" RUNNING - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-78948c4484902d773c056e7bd0d0d9f5-f677254bc061531c-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":1850,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-629cc74af0be07c274ab442ee92ef067-b279052ace588903-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":4387,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-b9f3c51702c229bffc162a7b342435c1-b054b1090380d8a8-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":8174,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-08593b580fcdbec44887770ff25e329f-0d00d72f4e6f3d04-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":12786,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-8d3ef81331b089f7371de4a1ce4313a9-2cbd6363a6eebca2-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":18261,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-99de9b1eb50cd60a8201d625e738d155-1eb6042fc185905c-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":24889,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-d10985eba0fbf1dc73d2c6b25d952f80-018569ffa3d949d6-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":32460,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-74e3d866a8b31c1deba4439871df2964-c1d2e34a07c97e11-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":41004,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-d89aaa25a618af81e125ef396ff868d6-202e93e6685e955b-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":50764,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-e74d08d84e88f921f7d53d5889a1cc91-ec987a4c63be784e-01 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":61197,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-d627e6473a94a8d9a29ad642c0d2ef2b-38a5c6e1184699e6-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":71506,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-3dba99a0f1b976fabc42c07ad1e44bb5-20efe285ac9167b3-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":82001,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-73b5241c76e97117c52ebf4d3e9863b3-e91c568946706a84-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":92865,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-62fbd09fef441eae16cebbb5118ba409-f2ad26c3e765fade-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":103584,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-55c1f5f0da96145431939877b3643a67-bde3b26100ec2f94-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":114439,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-6a79a9b39d3eadd6203380e11797640f-c3c89c2666b83581-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":124946,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-4a0a9b13d50637e3e05c54fa8b9ab1ea-8a59884d65326a87-01 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":135572,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-9b27535d83ac5e3f8c9f3f5d9ac9cc36-1da114ac1d7b548f-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":145975,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-4d824ac73a5c3a015afdfd4b114f944b-1d1b3726ba574e44-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":156842,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-5cbda750a67b52aaf738be74f5252d6a-a6d9d3b7b586e8eb-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":167305,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-514d9f9545f38276b328631bff4869b6-fb95067a4f410917-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":177572,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Waiting for cluster","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":0,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-1294249c4649472be4b9666e657b941f-5ba083898cd3c19d-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":188183,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-03e9efc27726435132f213388414ed62-338e4a6c60d2ed3c-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":198878,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-8030b98cace9312f9a587bfd09dee0f0-709ff5e2fff85438-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":209783,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"PENDING","state_message":"Installing libraries","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"PENDING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-72754c4a651b35b384f994155f91c1d7-fd67fc2163951940-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":220089,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-0f5ea1aa5ae33c64a843ba735388f36b-64d28d8016833dbb-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":230414,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-4aa454682cf960d32a40429b687201c7-c444eb312d8d3313-01 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":240884,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-8cc8c9647cb05567a5d70a555221dd0f-8eb9e1a2aa636680-01 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"RUNNING","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"run_duration":251799,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"RUNNING","state_message":"In run","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":0,"cleanup_duration":0,"end_time":0,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"RUNNING"}}],"format":"MULTI_TASK","status":{"state":"RUNNING"},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct sdk-feature/long-running auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-98761530f14a663cd2f9791a014ca44a-515be74cced86f5f-01 - > Accept-Encoding: gzip - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219379,"run_duration":256725,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736} - acceptance_test.go:1269: 270.372 2026-02-13 11:40:24 "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4" TERMINATED SUCCESS - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get?run_id=227673439805736 - > Traceparent: 00-a2f86d3674bce03dd4dae50fc1e16346-3963a5e3d65e8ad5-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"job_id":24404499078239,"run_id":227673439805736,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":227673439805736,"original_attempt_run_id":227673439805736,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962654,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219379,"run_duration":256725,"trigger":"ONE_TIME","run_name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/227673439805736","run_type":"JOB_RUN","tasks":[{"run_id":73663816158748,"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736} - prepare_server.go:159: 200 GET /api/2.2/jobs/runs/get-output?run_id=73663816158748 - > Traceparent: 00-3a6373746346b6e633d63995c21a6d24-2532be7003e81c91-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_run cmd-exec-id/dd4bb332-fee8-4312-88fe-b40c27f995c3 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"metadata":{"job_id":24404499078239,"run_id":73663816158748,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","number_in_job":73663816158748,"original_attempt_run_id":73663816158748,"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"overriding_parameters":{"notebook_params":{"__python_params":"[\"param1\",\"param2\"]"},"python_params":["param1","param2"]},"start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"trigger":"ONE_TIME","run_name":"TestTask","run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","run_type":"JOB_RUN","parent_run_id":227673439805736,"tasks":[{"run_id":73663816158748,"task_key":"TestTask","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"state":{"life_cycle_state":"TERMINATED","result_state":"SUCCESS","state_message":"","user_cancelled_or_timedout":false},"run_page_url":"https://dbc-1232e87d-9384.cloud.databricks.com/?o=470576644108500#job/24404499078239/run/73663816158748","start_time":1770978962680,"setup_duration":181000,"execution_duration":75000,"cleanup_duration":0,"end_time":1770979219129,"cluster_instance":{"cluster_id":"0213-103603-en7pecl0","spark_context_id":"8670021782126786194"},"attempt_number":0,"status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}}}],"task_key":"TestTask","format":"MULTI_TASK","status":{"state":"TERMINATED","termination_details":{"code":"SUCCESS","type":"SUCCESS","message":""}},"job_run_id":227673439805736},"logs":"Hello from my func\nGot arguments:\n['my_test_code', 'param1', 'param2']\n","logs_truncated":false} - acceptance_test.go:1269: 271.035 Hello from my func - acceptance_test.go:1269: 271.035 Got arguments: - acceptance_test.go:1269: 271.035 ['my_test_code', 'param1', 'param2'] - acceptance_test.go:1269: 271.037 >>> /Users/denis.bilenko/work/cli-main-cluster-testserver-0/acceptance/build/darwin_arm64/databricks bundle destroy --auto-approve - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fterraform.tfstate&return_export_info=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-0f66fcb63213e1adbbfc54371f5c76e9-bb27b8eda62d9b51-01 - > Accept-Encoding: gzip - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/terraform.tfstate) doesn't exist."} - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json&return_export_info=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-cf9d800c2874838ec8fcb12bc978b0b4-461c10c22d579952-01 - > Accept-Encoding: gzip - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/resources.json","created_at":1770978960873,"modified_at":1770978960873,"object_id":1982623590494527,"size":1284,"resource_id":"1982623590494527"} - # - prepare_server.go:159: 200 GET /api/2.0/workspace-files/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fresources.json - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 auth/pat - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-df1cf18eea30d254c68b9cf7b4a6f449-8db2156b8893e60a-01 - # { - # "state_version": 1, - # "cli_version": "0.0.0-dev+4ae10d219c76", - # "lineage": "22ac6fd3-3986-4335-a28f-2bacc419884f", - # "serial": 1, - # "state": { - # "resources.jobs.some_other_job": { - # "__id__": "24404499078239", - # "state": { - # "deployment": { - # "kind": "BUNDLE", - # "metadata_file_path": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json" - # }, - # "edit_mode": "UI_LOCKED", - # "format": "MULTI_TASK", - # "max_concurrent_runs": 1, - # "name": "[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4", - # "queue": { - # "enabled": true - # }, - # "tasks": [ - # { - # "libraries": [ - # { - # "whl": "/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl" - # } - # ], - # "new_cluster": { - # "data_security_mode": "USER_ISOLATION", - # "instance_pool_id": "0510-220703-wing13-pool-as5icbo0", - # "num_workers": 1, - # "spark_version": "13.3.x-snapshot-scala2.12" - # }, - # "python_wheel_task": { - # "entry_point": "run", - # "package_name": "my_test_code", - # "parameters": [ - # "one", - # "two" - # ] - # }, - # "task_key": "TestTask" - # } - # ] - # } - # } - # } - # } - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-ca4d056462ef5dc3bab1b303027c258f-deb6ed1c741ce387-01 - # {"object_type":"DIRECTORY","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4","object_id":1982623590494491,"resource_id":"1982623590494491"} - # - prepare_server.go:159: 200 POST /api/2.0/workspace-files/import-file/Workspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock?overwrite=false - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-199f9feb0dc18cf89cc2dd47f490a049-408b7a81831fdd41-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Content-Length: 161 - > {"ID":"6af68908-9578-4250-938b-4bd0f2668e41","AcquisitionTime":"2026-02-13T11:40:26.143439+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 200 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true - > Traceparent: 00-6e8fcd4e197b7dcbf1bca1ac9da2b099-2b0e43cdf3ab82e1-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - # {"object_type":"FILE","path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock","created_at":1770979226300,"modified_at":1770979226300,"object_id":1982623590495584,"size":161,"resource_id":"1982623590495584"} - # - prepare_server.go:159: 200 GET /api/2.0/workspace/export?direct_download=true&path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock - > Traceparent: 00-473386f815d08b415fc7b955610f56aa-a6f5a97747065ab2-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - # {"ID":"6af68908-9578-4250-938b-4bd0f2668e41","AcquisitionTime":"2026-02-13T11:40:26.143439+01:00","IsForced":false,"User":"b76b6808-9e10-43b3-be20-6b6d19ed1af0"} - prepare_server.go:159: 200 GET /api/2.2/jobs/get?job_id=24404499078239 - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-3a1fe92a039fcba1955fbc9bdbd44744-8a3cccbf007a76e7-01 - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Accept: application/json - # {"job_id":24404499078239,"creator_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","run_as_user_name":"b76b6808-9e10-43b3-be20-6b6d19ed1af0","run_as_owner":true,"settings":{"name":"[default] Test Wheel Job um5mnynfzzha3kh22kre2y7cp4","email_notifications":{},"webhook_notifications":{},"timeout_seconds":0,"max_concurrent_runs":1,"tasks":[{"task_key":"TestTask","run_if":"ALL_SUCCESS","python_wheel_task":{"package_name":"my_test_code","entry_point":"run","parameters":["one","two"]},"new_cluster":{"spark_version":"13.3.x-snapshot-scala2.12","instance_pool_id":"0510-220703-wing13-pool-as5icbo0","data_security_mode":"USER_ISOLATION","num_workers":1},"libraries":[{"whl":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/artifacts/.internal/my_test_code-0.0.1-py3-none-any.whl"}],"timeout_seconds":0,"email_notifications":{}}],"format":"MULTI_TASK","queue":{"enabled":true},"edit_mode":"UI_LOCKED","deployment":{"kind":"BUNDLE","metadata_file_path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/metadata.json"}},"created_time":1770978960489} - acceptance_test.go:1269: 272.338 The following resources will be deleted: - acceptance_test.go:1269: 272.338 delete resources.jobs.some_other_job - acceptance_test.go:1269: 272.338 All files and directories at the following location will be deleted: /Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4 - prepare_server.go:159: 200 POST /api/2.2/jobs/delete - > Accept-Encoding: gzip - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Content-Length: 25 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-07dbbdb071d82530cbabb1a5db435e04-cc58dfb0cb48764c-01 - > {"job_id":24404499078239} - # {} - acceptance_test.go:1269: 272.538 Deleting files... - prepare_server.go:159: 200 POST /api/2.0/workspace/delete - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Content-Length: 116 - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Content-Type: application/json - > Traceparent: 00-e3ad136cab95c6b416110838275fced3-4100e1178fae01af-01 - > Accept-Encoding: gzip - > {"path":"/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4","recursive":true} - # {} - # - acceptance_test.go:1269: 272.708 Destroy complete! - prepare_server.go:159: 404 GET /api/2.0/workspace/get-status?path=%2FWorkspace%2FUsers%2Fb76b6808-9e10-43b3-be20-6b6d19ed1af0%2F.bundle%2Fum5mnynfzzha3kh22kre2y7cp4%2Fstate%2Fdeploy.lock&return_export_info=true - > User-Agent: cli/0.0.0-dev+4ae10d219c76 databricks-sdk-go/0.104.0 go/1.25.5 os/darwin cmd/bundle_destroy cmd-exec-id/b2bf2326-c84c-4dea-8f24-deff735cfac4 engine/direct auth/pat - > Accept: application/json - > Authorization: Bearer dbapi09ac32309406e4a07a0d8885a8669a4b6 - > Traceparent: 00-2fe41475f59efc0b4cbed6020fcd2fbb-609e7f8a836f7c65-01 - > Accept-Encoding: gzip - # {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"Path (/Workspace/Users/b76b6808-9e10-43b3-be20-6b6d19ed1af0/.bundle/um5mnynfzzha3kh22kre2y7cp4/state/deploy.lock) doesn't exist."} - acceptance_test.go:810: Diff: - --- bundle/integration_whl/custom_params/output.txt - +++ /var/folders/5y/9kkdnjw91p11vsqwk0cvmk200000gp/T/TestAcceptbundleintegration_whlcustom_paramsDATABRICKS_BUNDL3453137820/001/output.txt - @@ -39,7 +39,7 @@ - Deployment complete! - - >>> [CLI] bundle run some_other_job --python-params param1,param2 - -Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] - +Run URL: https://dbc-1232e87d-9384.cloud.databricks.com/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] - - [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING - [TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS - ---- FAIL: TestAccept (3.35s) - --- FAIL: TestAccept/bundle/integration_whl/custom_params (0.00s) - --- FAIL: TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct (274.98s) -FAIL -FAIL github.com/databricks/cli/acceptance 278.804s -FAIL diff --git a/libs/testserver/dbutils.py b/libs/testserver/dbutils.py new file mode 100644 index 0000000000..71ea68683b --- /dev/null +++ b/libs/testserver/dbutils.py @@ -0,0 +1,41 @@ +"""Mock dbutils module for local Databricks notebook execution.""" + + +class Widgets: + """Mock for dbutils.widgets.""" + + def __init__(self, params=None): + self._params = params or {} + + def get(self, key, default=""): + """Get a widget parameter value.""" + return self._params.get(key, default) + + +class Library: + """Mock for dbutils.library.""" + + def restartPython(self): + """Mock restart - does nothing in local execution.""" + pass + + +class Notebook: + """Mock for dbutils.notebook.""" + + def exit(self, value): + """Exit notebook and return value - converted to print for local execution.""" + print(value) + + +class DBUtils: + """Mock Databricks utilities (dbutils) for local notebook execution.""" + + def __init__(self, params=None): + self.widgets = Widgets(params) + self.library = Library() + self.notebook = Notebook() + + +# Global dbutils instance - will be initialized with parameters +dbutils = None diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 90cb2ace43..233f45efa0 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -7,6 +7,7 @@ import ( "os" "os/exec" "path/filepath" + "runtime" "sort" "strconv" "strings" @@ -344,7 +345,7 @@ func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, ta // The wrapper feature transforms python_wheel_task into notebook_task that calls the wheel. func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[string]string) (string, error) { if task.NotebookTask == nil { - return "", fmt.Errorf("task has no notebook_task") + return "", errors.New("task has no notebook_task") } // Read notebook file from workspace (lock already held by caller) @@ -413,13 +414,19 @@ func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[s // Execute notebook with Python cmd := exec.Command(filepath.Join(venvDir, "bin", "python"), notebookFile) + + // Add testserver directory to PYTHONPATH so dbutils.py can be imported + _, filename, _, _ := runtime.Caller(0) + testserverDir := filepath.Dir(filename) + cmd.Env = append(os.Environ(), "PYTHONPATH="+testserverDir) + output, err := cmd.CombinedOutput() if err != nil { return string(output), fmt.Errorf("notebook task execution failed: %s\n%s", err, output) } - // Return output with single trailing newline to match cloud behavior - return strings.TrimSpace(string(output)) + "\n", nil + // Normalize trailing newlines to match cloud behavior (exactly one trailing newline) + return strings.TrimRight(string(output), "\n") + "\n", nil } // getOrCreateClusterEnv returns a cached venv for existing clusters or creates @@ -602,23 +609,14 @@ func (s *FakeWorkspace) preprocessNotebook(notebook string, params map[string]st var whlPaths []string var result []string - // Add dbutils mock at the beginning - result = append(result, "# Mock dbutils for local execution") - result = append(result, "class MockDbutils:") - result = append(result, " class Widgets:") + // Import dbutils mock + result = append(result, "# Import dbutils mock for local execution") + result = append(result, "from dbutils import DBUtils") if pythonParams, ok := params["__python_params"]; ok { - result = append(result, fmt.Sprintf(" def get(self, key): return %q if key == '__python_params' else ''", pythonParams)) + result = append(result, fmt.Sprintf("dbutils = DBUtils({'__python_params': %q})", pythonParams)) } else { - result = append(result, " def get(self, key): return ''") - } - result = append(result, " widgets = Widgets()") - result = append(result, " class Library:") - result = append(result, " def restartPython(self): pass") - result = append(result, " library = Library()") - result = append(result, " class Notebook:") - result = append(result, " def exit(self, value): print(value)") - result = append(result, " notebook = Notebook()") - result = append(result, "dbutils = MockDbutils()") + result = append(result, "dbutils = DBUtils()") + } result = append(result, "") lines := strings.Split(notebook, "\n") From 0401aa749978363909a1379cb85aba325c53309d Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 16:13:39 +0100 Subject: [PATCH 10/15] testserver: add missing instance pool for variable lookup tests Add "some-test-instance-pool" with ID "1234" to support variable lookup tests. This fixes bundle/variables/env_overrides test which requires instance pool lookups to resolve properly. Also updates test outputs to reflect improved testserver behavior with realistic run URLs, job names, and state transitions. Co-Authored-By: Claude Sonnet 4.5 --- .../bundle/integration_whl/wrapper/output.txt | 1 + acceptance/bundle/run/basic/output.txt | 10 ++-- .../bundle/run/jobs/partial_run/output.txt | 56 ++++++++++++++++--- acceptance/bundle/run/state-wiped/output.txt | 10 ++-- libs/testserver/handlers.go | 4 ++ 5 files changed, 65 insertions(+), 16 deletions(-) diff --git a/acceptance/bundle/integration_whl/wrapper/output.txt b/acceptance/bundle/integration_whl/wrapper/output.txt index 24c23d25d3..bae674f2da 100644 --- a/acceptance/bundle/integration_whl/wrapper/output.txt +++ b/acceptance/bundle/integration_whl/wrapper/output.txt @@ -46,6 +46,7 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[SOME_OTHER_JOB_ID]/run/[NUMID] Hello from my func Got arguments: ['my_test_code', 'one', 'two'] + >>> [CLI] bundle destroy --auto-approve The following resources will be deleted: delete resources.jobs.some_other_job diff --git a/acceptance/bundle/run/basic/output.txt b/acceptance/bundle/run/basic/output.txt index 9d9f1c5ea2..5c3d3c4d12 100644 --- a/acceptance/bundle/run/basic/output.txt +++ b/acceptance/bundle/run/basic/output.txt @@ -13,9 +13,10 @@ Updating deployment state... Deployment complete! >>> [CLI] bundle run foo -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] -[TIMESTAMP] "run-name" TERMINATED +[TIMESTAMP] "foo" RUNNING +[TIMESTAMP] "foo" TERMINATED SUCCESS === no resource key with -- >>> [CLI] bundle run -- @@ -25,9 +26,10 @@ Exit code: 1 === resource key with parameters >>> [CLI] bundle run foo -- arg1 arg2 -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] -[TIMESTAMP] "run-name" TERMINATED +[TIMESTAMP] "foo" RUNNING +[TIMESTAMP] "foo" TERMINATED SUCCESS === inline script >>> [CLI] bundle run -- echo hello diff --git a/acceptance/bundle/run/jobs/partial_run/output.txt b/acceptance/bundle/run/jobs/partial_run/output.txt index 5588a86712..c9cc043cfe 100644 --- a/acceptance/bundle/run/jobs/partial_run/output.txt +++ b/acceptance/bundle/run/jobs/partial_run/output.txt @@ -6,9 +6,19 @@ Updating deployment state... Deployment complete! >>> [CLI] bundle run my_job --only task_1 -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] + +[TIMESTAMP] "my_job" RUNNING +[TIMESTAMP] "my_job" TERMINATED SUCCESS +Output: +======= +Task task_1: +Hello from notebook1! + +======= +Task task_2: +Hello from notebook2! -[TIMESTAMP] "run-name" TERMINATED >>> print_requests { @@ -23,9 +33,19 @@ Run URL: [DATABRICKS_URL]/job/run/[NUMID] } >>> [CLI] bundle run my_job --only task_1,task_2 -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] + +[TIMESTAMP] "my_job" RUNNING +[TIMESTAMP] "my_job" TERMINATED SUCCESS +Output: +======= +Task task_1: +Hello from notebook1! + +======= +Task task_2: +Hello from notebook2! -[TIMESTAMP] "run-name" TERMINATED >>> print_requests { @@ -41,9 +61,19 @@ Run URL: [DATABRICKS_URL]/job/run/[NUMID] } >>> [CLI] bundle run my_job -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] + +[TIMESTAMP] "my_job" RUNNING +[TIMESTAMP] "my_job" TERMINATED SUCCESS +Output: +======= +Task task_1: +Hello from notebook1! + +======= +Task task_2: +Hello from notebook2! -[TIMESTAMP] "run-name" TERMINATED >>> print_requests { @@ -61,9 +91,19 @@ Error: task "non_existent_task" not found in job "my_job" Error: task "non_existent_task" not found in job "my_job" >>> [CLI] bundle run my_job --only task1.table1,task2>,task3>table3 -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] + +[TIMESTAMP] "my_job" RUNNING +[TIMESTAMP] "my_job" TERMINATED SUCCESS +Output: +======= +Task task_1: +Hello from notebook1! + +======= +Task task_2: +Hello from notebook2! -[TIMESTAMP] "run-name" TERMINATED >>> print_requests { diff --git a/acceptance/bundle/run/state-wiped/output.txt b/acceptance/bundle/run/state-wiped/output.txt index 1cea4e7503..2214445a11 100644 --- a/acceptance/bundle/run/state-wiped/output.txt +++ b/acceptance/bundle/run/state-wiped/output.txt @@ -10,14 +10,16 @@ Updating deployment state... Deployment complete! >>> [CLI] bundle run foo -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] -[TIMESTAMP] "run-name" TERMINATED +[TIMESTAMP] "foo" RUNNING +[TIMESTAMP] "foo" TERMINATED SUCCESS === Testing that clean state that affect run command -- it'll fetch the state >>> rm -fr .databricks >>> [CLI] bundle run foo -Run URL: [DATABRICKS_URL]/job/run/[NUMID] +Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID] -[TIMESTAMP] "run-name" TERMINATED +[TIMESTAMP] "foo" RUNNING +[TIMESTAMP] "foo" TERMINATED SUCCESS diff --git a/libs/testserver/handlers.go b/libs/testserver/handlers.go index 6fef4ba871..f19f37b282 100644 --- a/libs/testserver/handlers.go +++ b/libs/testserver/handlers.go @@ -44,6 +44,10 @@ func AddDefaultHandlers(server *Server) { InstancePoolName: "DEFAULT Test Instance Pool", InstancePoolId: TestDefaultInstancePoolId, }, + { + InstancePoolName: "some-test-instance-pool", + InstancePoolId: "1234", + }, }, } }) From 631c4c5fd3e1cef2eb42db1e6e33249ff860577d Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 13 Feb 2026 17:35:54 +0100 Subject: [PATCH 11/15] testserver: fix Windows support for Python venv paths Use platform-specific Python executable paths in virtual environments: - Unix: venv/bin/python - Windows: venv\Scripts\python.exe This fixes job execution tests on Windows where notebook and wheel tasks were failing silently because the testserver couldn't find the Python executable. Co-Authored-By: Claude Sonnet 4.5 --- libs/testserver/jobs.go | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 233f45efa0..50a03ad7e5 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -16,6 +16,16 @@ import ( "github.com/databricks/databricks-sdk-go/service/jobs" ) +// venvPython returns the path to the Python executable in a venv. +// On Unix: venv/bin/python +// On Windows: venv\Scripts\python.exe +func venvPython(venvDir string) string { + if runtime.GOOS == "windows" { + return filepath.Join(venvDir, "Scripts", "python.exe") + } + return filepath.Join(venvDir, "bin", "python") +} + func (s *FakeWorkspace) JobsCreate(req Request) Response { var request jobs.CreateJob if err := json.Unmarshal(req.Body, &request); err != nil { @@ -307,7 +317,7 @@ func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, ta } if len(newWhlPaths) > 0 { - installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(env.venvDir, "bin", "python")} + installArgs := []string{"pip", "install", "-q", "--python", venvPython(env.venvDir)} installArgs = append(installArgs, newWhlPaths...) if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) @@ -325,7 +335,7 @@ func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, ta runArgs := []string{"-c", script} runArgs = append(runArgs, wt.Parameters...) - cmd := exec.Command(filepath.Join(env.venvDir, "bin", "python"), runArgs...) + cmd := exec.Command(venvPython(env.venvDir), runArgs...) if len(wt.NamedParameters) > 0 { cmd.Env = os.Environ() for k, v := range wt.NamedParameters { @@ -405,7 +415,7 @@ func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[s localWhlPaths = append(localWhlPaths, localPath) } - installArgs := []string{"pip", "install", "-q", "--python", filepath.Join(venvDir, "bin", "python")} + installArgs := []string{"pip", "install", "-q", "--python", venvPython(venvDir)} installArgs = append(installArgs, localWhlPaths...) if out, err := exec.Command("uv", installArgs...).CombinedOutput(); err != nil { return "", fmt.Errorf("uv pip install failed: %s\n%s", err, out) @@ -413,7 +423,7 @@ func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[s } // Execute notebook with Python - cmd := exec.Command(filepath.Join(venvDir, "bin", "python"), notebookFile) + cmd := exec.Command(venvPython(venvDir), notebookFile) // Add testserver directory to PYTHONPATH so dbutils.py can be imported _, filename, _, _ := runtime.Caller(0) From 20ff892fe116e13a5a52bebb375196518d64ffc2 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 17 Feb 2026 14:05:52 +0100 Subject: [PATCH 12/15] testserver: normalize line endings in task output for Windows Ensure Python wheel and notebook task outputs have consistent trailing newlines across platforms by trimming both \r\n (Windows CRLF) and \n (Unix LF) before adding exactly one \n. This fixes acceptance test failures on Windows where extra blank lines appeared in output. Co-Authored-By: Claude Sonnet 4.5 --- libs/testserver/jobs.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/testserver/jobs.go b/libs/testserver/jobs.go index 50a03ad7e5..5bf110fa01 100644 --- a/libs/testserver/jobs.go +++ b/libs/testserver/jobs.go @@ -348,7 +348,8 @@ func (s *FakeWorkspace) executePythonWheelTask(jobSettings *jobs.JobSettings, ta return string(output), fmt.Errorf("wheel task execution failed: %s\n%s", err, output) } - return string(output), nil + // Normalize trailing newlines to match cloud behavior (exactly one trailing newline) + return strings.TrimRight(string(output), "\r\n") + "\n", nil } // executeNotebookTask executes a notebook task by running the notebook as a Python script. @@ -436,7 +437,7 @@ func (s *FakeWorkspace) executeNotebookTask(task jobs.Task, notebookParams map[s } // Normalize trailing newlines to match cloud behavior (exactly one trailing newline) - return strings.TrimRight(string(output), "\n") + "\n", nil + return strings.TrimRight(string(output), "\r\n") + "\n", nil } // getOrCreateClusterEnv returns a cached venv for existing clusters or creates From a0878482d58455472f57554e17d259ad7cb3ba36 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 17 Feb 2026 14:13:26 +0100 Subject: [PATCH 13/15] acc: add python3 alias for Windows in integration_whl tests On Windows, python3 command typically doesn't exist (it's python or python.exe). Add a bash function alias in script.prepare to make python3 work on Windows by forwarding to python. This fixes serverless tests that use "python3 setup.py" in their build commands. Co-Authored-By: Claude Sonnet 4.5 --- acceptance/bundle/integration_whl/script.prepare | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/acceptance/bundle/integration_whl/script.prepare b/acceptance/bundle/integration_whl/script.prepare index 6644810c4d..2e8ac8e85d 100644 --- a/acceptance/bundle/integration_whl/script.prepare +++ b/acceptance/bundle/integration_whl/script.prepare @@ -1,3 +1,9 @@ uv venv -q .venv venv_activate uv pip install -q setuptools + +# On Windows, create python3 alias since some build commands use python3 +if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then + python3() { python "$@"; } + export -f python3 +fi From cecb703ab3e1800dcf264923dd477e09fc597b97 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 17 Feb 2026 14:24:34 +0100 Subject: [PATCH 14/15] more cluster tests --- .../resources/clusters/deploy/data_security_mode/out.test.toml | 2 +- .../resources/clusters/deploy/data_security_mode/test.toml | 2 +- .../bundle/resources/clusters/deploy/simple/out.test.toml | 2 +- acceptance/bundle/resources/clusters/deploy/simple/test.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acceptance/bundle/resources/clusters/deploy/data_security_mode/out.test.toml b/acceptance/bundle/resources/clusters/deploy/data_security_mode/out.test.toml index 0ebfd0a96b..a9766d99c9 100644 --- a/acceptance/bundle/resources/clusters/deploy/data_security_mode/out.test.toml +++ b/acceptance/bundle/resources/clusters/deploy/data_security_mode/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true RunsOnDbr = true diff --git a/acceptance/bundle/resources/clusters/deploy/data_security_mode/test.toml b/acceptance/bundle/resources/clusters/deploy/data_security_mode/test.toml index d0aefc3fcf..7a90c60d90 100644 --- a/acceptance/bundle/resources/clusters/deploy/data_security_mode/test.toml +++ b/acceptance/bundle/resources/clusters/deploy/data_security_mode/test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true RecordRequests = false RunsOnDbr = true diff --git a/acceptance/bundle/resources/clusters/deploy/simple/out.test.toml b/acceptance/bundle/resources/clusters/deploy/simple/out.test.toml index 0ebfd0a96b..a9766d99c9 100644 --- a/acceptance/bundle/resources/clusters/deploy/simple/out.test.toml +++ b/acceptance/bundle/resources/clusters/deploy/simple/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true RunsOnDbr = true diff --git a/acceptance/bundle/resources/clusters/deploy/simple/test.toml b/acceptance/bundle/resources/clusters/deploy/simple/test.toml index d0aefc3fcf..7a90c60d90 100644 --- a/acceptance/bundle/resources/clusters/deploy/simple/test.toml +++ b/acceptance/bundle/resources/clusters/deploy/simple/test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true RecordRequests = false RunsOnDbr = true From 9bd27f900f8222e838ba86163af3bccc888a9d4d Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 17 Feb 2026 14:26:04 +0100 Subject: [PATCH 15/15] one more test --- .../resources/clusters/deploy/update-after-create/out.test.toml | 2 +- .../resources/clusters/deploy/update-after-create/test.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acceptance/bundle/resources/clusters/deploy/update-after-create/out.test.toml b/acceptance/bundle/resources/clusters/deploy/update-after-create/out.test.toml index f474b1b917..01ed6822af 100644 --- a/acceptance/bundle/resources/clusters/deploy/update-after-create/out.test.toml +++ b/acceptance/bundle/resources/clusters/deploy/update-after-create/out.test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true [EnvMatrix] diff --git a/acceptance/bundle/resources/clusters/deploy/update-after-create/test.toml b/acceptance/bundle/resources/clusters/deploy/update-after-create/test.toml index ebcb07a256..f69673a73e 100644 --- a/acceptance/bundle/resources/clusters/deploy/update-after-create/test.toml +++ b/acceptance/bundle/resources/clusters/deploy/update-after-create/test.toml @@ -1,4 +1,4 @@ -Local = false +Local = true Cloud = true RecordRequests = true