Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running bundle deploy with containerized cli results in python3 not found #2121

Open
jo3p opened this issue Jan 10, 2025 · 0 comments
Open
Labels
DABs DABs related issues

Comments

@jo3p
Copy link

jo3p commented Jan 10, 2025

Describe the issue

Trying to get a minimal working example of Dockerized bundle deployment working. I've had this issue in November already, now tried again with the latest version and still have it. Eventually I solved it by creating my own container with the databricks cli and correct terraform & terraform provider versions, but I'm not planning on using that in my eventual deployment pipeline.

It's either something really stupid I'm missing, or the dockerized CLI always gives this error (I tried on a Linux machine as well), and then it'd be very odd that I can't find any other open topics on this issue.

Configuration

Default my_project template. Steps listed here explicitly for reproducabilty

Run databricks configure, insert host & token when asked
Run databricks bundle init default-python
Run cd my_project (default name)
First, replace /Workspace/${workspace.file_path}/src with ${workspace.file_path}/src in my_project/resources/my_project_pipeline.yml

Steps to reproduce the behavior

Now running databricks bundle deploy or docker run -v C:\Users\user\my_project:/my_project -e DATABRICKS_HOST="host" -e DATABRICKS_TOKEN="token" --workdir /my_project ghcr.io/databricks/cli:latest bundle deploy both failed, see logs below.

Expected Behavior

Deployment of my bundle, either with databricks bundle deploy in PowerShell or with the dockerized Databricks CLI (latter is preferred).

Actual Behavior

Both options result in the errors below.

OS and CLI version

Windows & Databricks CLI v0.212.2 (apparently this is the newest version through winget)
Docker container & Databricks CLI v0.238.0 in it

Is this a regression?

No

Debug Logs

1 Containerized CLI (v0.238.0)

PS C:\Users\user> docker run -v C:\Users\user\my_project:/my_project -e DATABRICKS_HOST="host" -e DATABRICKS_TOKEN="token" --workdir /my_project ghcr.io/databricks/cli:latest bundle deploy --log-level=debug
17:00:51  INFO start pid=1 version=0.238.0 args="/app/databricks, bundle, deploy, --log-level=debug"
17:00:51 DEBUG Found bundle root at /my_project (file /my_project/databricks.yml) pid=1
17:00:51 DEBUG Apply pid=1 mutator=load
17:00:51  INFO Phase: load pid=1 mutator=load
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=EntryPoint
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=scripts.preinit
17:00:51 DEBUG No script defined for preinit, skipping pid=1 mutator=load mutator=seq mutator=scripts.preinit
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=ProcessRootIncludes
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=ProcessRootIncludes mutator=seq
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=ProcessRootIncludes mutator=seq mutator=ProcessInclude(resources/my_project_job.yml)
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=ProcessRootIncludes mutator=seq mutator=ProcessInclude(resources/my_project_pipeline.yml)
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=VerifyCliVersion
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=EnvironmentsToTargets
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=ComputeIdToClusterId
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=InitializeVariables
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=DefineDefaultTarget(default)
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=PythonMutator(load)
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=validate:unique_resource_keys
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=SelectDefaultTarget
17:00:51 DEBUG Apply pid=1 mutator=load mutator=seq mutator=SelectDefaultTarget mutator=SelectTarget(dev)
17:00:51 DEBUG Apply pid=1 mutator=<func>
17:00:51 DEBUG Apply pid=1 mutator=<func>
17:00:51 DEBUG Apply pid=1 mutator=seq
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize
17:00:51  INFO Phase: initialize pid=1 mutator=seq mutator=initialize
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=validate:AllResourcesHaveValues
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=RewriteSyncPaths
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=SyncDefaultPath
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=SyncInferRoot
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=MergeJobClusters
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=MergeJobParameters
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=MergeJobTasks
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=MergePipelineClusters
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=InitializeWorkspaceClient
17:00:51 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PopulateCurrentUser
17:00:52 DEBUG GET /api/2.0/preview/scim/v2/Me
< HTTP/2.0 200 OK
< {
<   "active": true,
<   "displayName": "Some User",
<   "emails": [
<     {
<       "primary": true,
<       "type": "work",
<       "value": "[email protected]"
<     }
<   ],
<   "entitlements": [
<     {
<       "value": "allow-cluster-create"
<     },
<     {
<       "value": "allow-instance-pool-create"
<     }
<   ],
<   "externalId": "some_id",
<   "groups": [
<     {
<       "$ref": "Groups/some_number",
<       "display": "admins",
<       "type": "direct",
<       "value": "some_number"
<     }
<   ],
<   "id": "some_id",
<   "name": {
<     "familyName": "User",
<     "givenName": "Some"
<   },
<   "schemas": [
<     "urn:ietf:params:scim:schemas:core:2.0:User",
<     "urn:ietf:params:scim:schemas:extension:workspace:2.0:User"
<   ],
<   "userName": "[email protected]"
< } pid=1 mutator=seq mutator=initialize mutator=seq mutator=PopulateCurrentUser sdk=true
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=LoadGitDetails
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ApplySourceLinkedDeploymentPreset
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=DefineDefaultWorkspaceRoot
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ExpandWorkspaceRoot
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=DefaultWorkspacePaths
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PrependWorkspacePrefix
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=RewriteWorkspacePrefix
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=SetVariables
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PythonMutator(init)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PythonMutator(load_resources)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PythonMutator(apply_mutators)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ResolveVariableReferences
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ResolveResourceReferences
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ResolveVariableReferences
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ResolveVariableReferences
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=CheckPermissions
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=SetRunAs
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=OverrideCompute
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ConfigureDashboardDefaults
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ConfigureVolumeDefaults
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ProcessTargetMode
17:00:52  INFO Development mode: disabling deployment lock since bundle.deployment.lock.enabled is not set to true pid=1 mutator=seq mutator=initialize mutator=seq mutator=ProcessTargetMode
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ApplyPresets
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=DefaultQueueing
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ExpandPipelineGlobPaths
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ConfigureWSFS
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=TranslatePaths
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=PythonWrapperWarning
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ValidateSharedRootPermissions
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=ApplyBundlePermissions
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=FilterCurrentUserFromPermissions
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=metadata.AnnotateJobs
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=metadata.AnnotatePipelines
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
17:00:52 DEBUG Using Terraform from DATABRICKS_TF_EXEC_PATH at /app/bin/terraform pid=1 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
17:00:52 DEBUG Using Terraform CLI config from DATABRICKS_TF_CLI_CONFIG_FILE at /app/config/config.tfrc pid=1 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
17:00:52 DEBUG Environment variables for Terraform: DATABRICKS_AUTH_TYPE, HOME, PATH, TF_CLI_CONFIG_FILE, DATABRICKS_USER_AGENT_EXTRA, DATABRICKS_HOST, DATABRICKS_TOKEN, DATABRICKS_CLI_PATH pid=1 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=initialize mutator=seq mutator=scripts.postinit
17:00:52 DEBUG No script defined for postinit, skipping pid=1 mutator=seq mutator=initialize mutator=seq mutator=scripts.postinit
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=fast_validate
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly)
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:artifact_paths
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_task_cluster_spec
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_cluster_key_defined
17:00:52 DEBUG ApplyReadOnly pid=1 mutator=seq mutator=fast_validate mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:SingleNodeCluster
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build
17:00:52  INFO Phase: build pid=1 mutator=seq mutator=build
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=scripts.prebuild
17:00:52 DEBUG No script defined for prebuild, skipping pid=1 mutator=seq mutator=build mutator=seq mutator=scripts.prebuild
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
17:00:52  INFO Detecting Python wheel project... pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
17:00:52  INFO Found Python wheel project at /my_project pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq mutator=artifacts.Infer(my_project)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq mutator=artifacts.Infer(my_project) mutator=artifacts.whl.Infer(my_project)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.PrepareAll
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.PrepareAll mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.PrepareAll mutator=seq mutator=artifacts.Prepare(my_project)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.PrepareAll mutator=seq mutator=artifacts.Prepare(my_project) mutator=artifacts.whl.Prepare(my_project)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project)
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=seq
17:00:52 DEBUG Apply pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=seq mutator=artifacts.whl.Build(my_project)
Building my_project...
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=seq mutator=artifacts.whl.Build(my_project)
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=seq
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project)
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build mutator=seq
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq mutator=build
17:00:52 ERROR Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found
 pid=1 mutator=seq
Error: build failed my_project, error: exit status 127, output: /tmp/cli-exec2307741213.sh: line 1: python3: not found


17:00:52 ERROR failed execution pid=1 exit_code=1 error=AlreadyPrinted

2 windows CLI (v0.212.2)

PS C:\Users\user\my_project> databricks bundle deploy --log-level=debug
18:18:37  INFO start pid=30532 version=0.212.2 args="C:\\Users\\user\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Databricks.DatabricksCLI_Microsoft.Winget.Source_8wekyb3d8bbwe\\databricks.exe, bundle, deploy, --log-level=debug"
18:18:37 DEBUG Loading bundle configuration from: C:\Users\user\my_project\databricks.yml pid=30532
18:18:37 DEBUG Apply pid=30532 mutator=seq
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=scripts.preinit
18:18:37 DEBUG No script defined for preinit, skipping pid=30532 mutator=seq mutator=scripts.preinit
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=ProcessRootIncludes
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=ProcessRootIncludes mutator=seq
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=ProcessRootIncludes mutator=seq mutator=ProcessInclude(resources\my_project_job.yml)
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=ProcessRootIncludes mutator=seq mutator=ProcessInclude(resources\my_project_pipeline.yml)
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=InitializeVariables
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=DefineDefaultTarget(default)
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=LoadGitDetails
18:18:37 DEBUG Apply pid=30532 mutator=SelectDefaultTarget
18:18:37 DEBUG Apply pid=30532 mutator=SelectDefaultTarget mutator=SelectTarget(dev)
18:18:37 DEBUG Apply pid=30532 mutator=seq
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=initialize
18:18:37  INFO Phase: initialize pid=30532 mutator=seq mutator=initialize
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=InitializeWorkspaceClient
18:18:37 DEBUG Loading profile DEFAULT because of host match pid=30532
18:18:37 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=PopulateCurrentUser
18:18:37 DEBUG Loading profile DEFAULT because of host match pid=30532
18:18:38 DEBUG GET /api/2.0/preview/scim/v2/Me
< HTTP/2.0 200 OK
< {
<   "active": true,
<   "displayName": "Some User",
<   "emails": [
<     {
<       "primary": true,
<       "type": "work",
<       "value": "[email protected]"
<     }
<   ],
<   "entitlements": [
<     {
<       "value": "allow-cluster-create"
<     },
<     {
<       "value": "allow-instance-pool-create"
<     }
<   ],
<   "externalId": "some_id",
<   "groups": [
<     {
<       "$ref": "Groups/some_number",
<       "display": "admins",
<       "type": "direct",
<       "value": "some_number"
<     }
<   ],
<   "id": "some_id",
<   "name": {
<     "familyName": "User",
<     "givenName": "Some"
<   },
<   "schemas": [
<     "urn:ietf:params:scim:schemas:core:2.0:User",
<     "urn:ietf:params:scim:schemas:extension:workspace:2.0:User"
<   ],
<   "userName": "[email protected]"

< } pid=30532 mutator=seq mutator=initialize mutator=seq mutator=PopulateCurrentUser sdk=true
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=DefineDefaultWorkspaceRoot
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=ExpandWorkspaceRoot
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=DefaultWorkspacePaths
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=SetVariables
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=ResolveResourceReferences
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=Interpolate
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=SetRunAs
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=OverrideCompute
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=ProcessTargetMode
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=ExpandPipelineGlobPaths
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=TranslatePaths
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=PythonWrapperWarning
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=ApplyBundlePermissions
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=metadata.AnnotateJobs
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
18:18:38 DEBUG Using Terraform at C:\Users\user\my_project\.databricks\bundle\dev\bin\terraform.exe pid=30532 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
18:18:38 DEBUG Environment variables for Terraform: PATH, TMP, DATABRICKS_HOST, DATABRICKS_TOKEN, DATABRICKS_CLI_PATH, DATABRICKS_AUTH_TYPE, USERPROFILE pid=30532 mutator=seq mutator=initialize mutator=seq mutator=terraform.Initialize
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=initialize mutator=seq mutator=scripts.postinit
18:18:38 DEBUG No script defined for postinit, skipping pid=30532 mutator=seq mutator=initialize mutator=seq mutator=scripts.postinit
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build
18:18:38  INFO Phase: build pid=30532 mutator=seq mutator=build
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=scripts.prebuild
18:18:38 DEBUG No script defined for prebuild, skipping pid=30532 mutator=seq mutator=build mutator=seq mutator=scripts.prebuild
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
18:18:38  INFO Detecting Python wheel project... pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
18:18:38  INFO Found Python wheel project at C:\Users\user\my_project pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.AutoDetect
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.DefineArtifactsFromLibraries
18:18:38 DEBUG Skipping defining artifacts from libraries because artifacts section is explicitly defined pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.DetectPackages mutator=seq mutator=artifacts.whl.DefineArtifactsFromLibraries
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq mutator=artifacts.Infer(my_project)
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.inferAll mutator=seq mutator=artifacts.Infer(my_project) mutator=artifacts.whl.Infer(my_project)
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project)
18:18:38 DEBUG Apply pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=artifacts.whl.Build(my_project)
Building my_project...
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project) mutator=artifacts.whl.Build(my_project)
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(my_project)
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build mutator=seq
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq mutator=build
18:18:38 ERROR Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory
 pid=30532 mutator=seq
Error: build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory

18:18:38 ERROR failed execution pid=30532 exit_code=1 error="build failed my_project, error: exit status 1, output: /bin/bash: C:UsersuserAppDataLocalTempcli-exec3967834031.sh: No such file or directory\n"
PS C:\Users\user\my_project>
@jo3p jo3p added the DABs DABs related issues label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DABs DABs related issues
Projects
None yet
Development

No branches or pull requests

1 participant