diff --git a/acceptance/bundle/debug/out.stderr.parallel.txt b/acceptance/bundle/debug/out.stderr.parallel.txt index f4ba33c60..87530b84c 100644 --- a/acceptance/bundle/debug/out.stderr.parallel.txt +++ b/acceptance/bundle/debug/out.stderr.parallel.txt @@ -1,12 +1,12 @@ -< } mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync sdk=true -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:SingleNodeCluster -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:artifact_paths -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_cluster_key_defined -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_task_cluster_spec -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:folder_permissions -Debug: ApplyReadOnly mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:validate_sync_patterns -Debug: Path has type directory (ID: 1001) mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync +< } pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync sdk=true +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:SingleNodeCluster +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:artifact_paths +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_cluster_key_defined +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=fast_validate(readonly) mutator (read-only)=parallel mutator (read-only)=validate:job_task_cluster_spec +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:folder_permissions +Debug: ApplyReadOnly pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:validate_sync_patterns +Debug: Path has type directory (ID: 1001) pid=00000 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync diff --git a/acceptance/bundle/debug/out.stderr.txt b/acceptance/bundle/debug/out.stderr.txt index 52d4028a2..dc96baaeb 100644 --- a/acceptance/bundle/debug/out.stderr.txt +++ b/acceptance/bundle/debug/out.stderr.txt @@ -1,86 +1,86 @@ -Info: start version=$DEV_VERSION args="$CLI, bundle, validate, --debug" -Debug: Found bundle root at $TMPDIR (file $TMPDIR/databricks.yml) -Debug: Apply mutator=load -Info: Phase: load mutator=load -Debug: Apply mutator=load mutator=seq -Debug: Apply mutator=load mutator=seq mutator=EntryPoint -Debug: Apply mutator=load mutator=seq mutator=scripts.preinit -Debug: No script defined for preinit, skipping mutator=load mutator=seq mutator=scripts.preinit -Debug: Apply mutator=load mutator=seq mutator=ProcessRootIncludes -Debug: Apply mutator=load mutator=seq mutator=ProcessRootIncludes mutator=seq -Debug: Apply mutator=load mutator=seq mutator=VerifyCliVersion -Debug: Apply mutator=load mutator=seq mutator=EnvironmentsToTargets -Debug: Apply mutator=load mutator=seq mutator=ComputeIdToClusterId -Debug: Apply mutator=load mutator=seq mutator=InitializeVariables -Debug: Apply mutator=load mutator=seq mutator=DefineDefaultTarget(default) -Debug: Apply mutator=load mutator=seq mutator=PythonMutator(load) -Debug: Apply mutator=load mutator=seq mutator=validate:unique_resource_keys -Debug: Apply mutator=load mutator=seq mutator=SelectDefaultTarget -Debug: Apply mutator=load mutator=seq mutator=SelectDefaultTarget mutator=SelectTarget(default) -Debug: Apply mutator= -Debug: Apply mutator=initialize -Info: Phase: initialize mutator=initialize -Debug: Apply mutator=initialize mutator=seq -Debug: Apply mutator=initialize mutator=seq mutator=validate:AllResourcesHaveValues -Debug: Apply mutator=initialize mutator=seq mutator=RewriteSyncPaths -Debug: Apply mutator=initialize mutator=seq mutator=SyncDefaultPath -Debug: Apply mutator=initialize mutator=seq mutator=SyncInferRoot -Debug: Apply mutator=initialize mutator=seq mutator=InitializeWorkspaceClient -Debug: Apply mutator=initialize mutator=seq mutator=PopulateCurrentUser +Info: start pid=00000 version=$DEV_VERSION args="$CLI, bundle, validate, --debug" +Debug: Found bundle root at $TMPDIR (file $TMPDIR/databricks.yml) pid=00000 +Debug: Apply pid=00000 mutator=load +Info: Phase: load pid=00000 mutator=load +Debug: Apply pid=00000 mutator=load mutator=seq +Debug: Apply pid=00000 mutator=load mutator=seq mutator=EntryPoint +Debug: Apply pid=00000 mutator=load mutator=seq mutator=scripts.preinit +Debug: No script defined for preinit, skipping pid=00000 mutator=load mutator=seq mutator=scripts.preinit +Debug: Apply pid=00000 mutator=load mutator=seq mutator=ProcessRootIncludes +Debug: Apply pid=00000 mutator=load mutator=seq mutator=ProcessRootIncludes mutator=seq +Debug: Apply pid=00000 mutator=load mutator=seq mutator=VerifyCliVersion +Debug: Apply pid=00000 mutator=load mutator=seq mutator=EnvironmentsToTargets +Debug: Apply pid=00000 mutator=load mutator=seq mutator=ComputeIdToClusterId +Debug: Apply pid=00000 mutator=load mutator=seq mutator=InitializeVariables +Debug: Apply pid=00000 mutator=load mutator=seq mutator=DefineDefaultTarget(default) +Debug: Apply pid=00000 mutator=load mutator=seq mutator=PythonMutator(load) +Debug: Apply pid=00000 mutator=load mutator=seq mutator=validate:unique_resource_keys +Debug: Apply pid=00000 mutator=load mutator=seq mutator=SelectDefaultTarget +Debug: Apply pid=00000 mutator=load mutator=seq mutator=SelectDefaultTarget mutator=SelectTarget(default) +Debug: Apply pid=00000 mutator= +Debug: Apply pid=00000 mutator=initialize +Info: Phase: initialize pid=00000 mutator=initialize +Debug: Apply pid=00000 mutator=initialize mutator=seq +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=validate:AllResourcesHaveValues +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=RewriteSyncPaths +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=SyncDefaultPath +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=SyncInferRoot +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=InitializeWorkspaceClient +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PopulateCurrentUser Debug: GET /api/2.0/preview/scim/v2/Me < HTTP/1.1 200 OK < { < "userName": "$USERNAME" -< } mutator=initialize mutator=seq mutator=PopulateCurrentUser sdk=true -Debug: Apply mutator=initialize mutator=seq mutator=LoadGitDetails -Debug: Apply mutator=initialize mutator=seq mutator=ApplySourceLinkedDeploymentPreset -Debug: Apply mutator=initialize mutator=seq mutator=DefineDefaultWorkspaceRoot -Debug: Apply mutator=initialize mutator=seq mutator=ExpandWorkspaceRoot -Debug: Apply mutator=initialize mutator=seq mutator=DefaultWorkspacePaths -Debug: Apply mutator=initialize mutator=seq mutator=PrependWorkspacePrefix -Debug: Apply mutator=initialize mutator=seq mutator=RewriteWorkspacePrefix -Debug: Apply mutator=initialize mutator=seq mutator=SetVariables -Debug: Apply mutator=initialize mutator=seq mutator=PythonMutator(init) -Debug: Apply mutator=initialize mutator=seq mutator=PythonMutator(load_resources) -Debug: Apply mutator=initialize mutator=seq mutator=PythonMutator(apply_mutators) -Debug: Apply mutator=initialize mutator=seq mutator=ResolveVariableReferences -Debug: Apply mutator=initialize mutator=seq mutator=ResolveResourceReferences -Debug: Apply mutator=initialize mutator=seq mutator=ResolveVariableReferences -Debug: Apply mutator=initialize mutator=seq mutator=MergeJobClusters -Debug: Apply mutator=initialize mutator=seq mutator=MergeJobParameters -Debug: Apply mutator=initialize mutator=seq mutator=MergeJobTasks -Debug: Apply mutator=initialize mutator=seq mutator=MergePipelineClusters -Debug: Apply mutator=initialize mutator=seq mutator=MergeApps -Debug: Apply mutator=initialize mutator=seq mutator=CaptureSchemaDependency -Debug: Apply mutator=initialize mutator=seq mutator=CheckPermissions -Debug: Apply mutator=initialize mutator=seq mutator=SetRunAs -Debug: Apply mutator=initialize mutator=seq mutator=OverrideCompute -Debug: Apply mutator=initialize mutator=seq mutator=ConfigureDashboardDefaults -Debug: Apply mutator=initialize mutator=seq mutator=ConfigureVolumeDefaults -Debug: Apply mutator=initialize mutator=seq mutator=ProcessTargetMode -Debug: Apply mutator=initialize mutator=seq mutator=ApplyPresets -Debug: Apply mutator=initialize mutator=seq mutator=DefaultQueueing -Debug: Apply mutator=initialize mutator=seq mutator=ExpandPipelineGlobPaths -Debug: Apply mutator=initialize mutator=seq mutator=ConfigureWSFS -Debug: Apply mutator=initialize mutator=seq mutator=TranslatePaths -Debug: Apply mutator=initialize mutator=seq mutator=PythonWrapperWarning -Debug: Apply mutator=initialize mutator=seq mutator=apps.Validate -Debug: Apply mutator=initialize mutator=seq mutator=ValidateSharedRootPermissions -Debug: Apply mutator=initialize mutator=seq mutator=ApplyBundlePermissions -Debug: Apply mutator=initialize mutator=seq mutator=FilterCurrentUserFromPermissions -Debug: Apply mutator=initialize mutator=seq mutator=metadata.AnnotateJobs -Debug: Apply mutator=initialize mutator=seq mutator=metadata.AnnotatePipelines -Debug: Apply mutator=initialize mutator=seq mutator=terraform.Initialize -Debug: Using Terraform from DATABRICKS_TF_EXEC_PATH at $TMPHOME mutator=initialize mutator=seq mutator=terraform.Initialize -Debug: DATABRICKS_TF_CLI_CONFIG_FILE is not defined mutator=initialize mutator=seq mutator=terraform.Initialize -Debug: Environment variables for Terraform: DATABRICKS_AUTH_TYPE, DATABRICKS_CLI_PATH, DATABRICKS_HOST, DATABRICKS_TOKEN, DATABRICKS_USER_AGENT_EXTRA, HOME, PATH, TMPDIR mutator=initialize mutator=seq mutator=terraform.Initialize -Debug: Apply mutator=initialize mutator=seq mutator=scripts.postinit -Debug: No script defined for postinit, skipping mutator=initialize mutator=seq mutator=scripts.postinit -Debug: Apply mutator=validate +< } pid=00000 mutator=initialize mutator=seq mutator=PopulateCurrentUser sdk=true +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=LoadGitDetails +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ApplySourceLinkedDeploymentPreset +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=DefineDefaultWorkspaceRoot +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ExpandWorkspaceRoot +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=DefaultWorkspacePaths +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PrependWorkspacePrefix +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=RewriteWorkspacePrefix +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=SetVariables +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PythonMutator(init) +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PythonMutator(load_resources) +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PythonMutator(apply_mutators) +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ResolveVariableReferences +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ResolveResourceReferences +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ResolveVariableReferences +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=MergeJobClusters +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=MergeJobParameters +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=MergeJobTasks +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=MergePipelineClusters +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=MergeApps +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=CaptureSchemaDependency +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=CheckPermissions +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=SetRunAs +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=OverrideCompute +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ConfigureDashboardDefaults +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ConfigureVolumeDefaults +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ProcessTargetMode +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ApplyPresets +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=DefaultQueueing +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ExpandPipelineGlobPaths +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ConfigureWSFS +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=TranslatePaths +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=PythonWrapperWarning +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=apps.Validate +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ValidateSharedRootPermissions +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=ApplyBundlePermissions +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=FilterCurrentUserFromPermissions +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=metadata.AnnotateJobs +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=metadata.AnnotatePipelines +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=terraform.Initialize +Debug: Using Terraform from DATABRICKS_TF_EXEC_PATH at $TMPHOME pid=00000 mutator=initialize mutator=seq mutator=terraform.Initialize +Debug: DATABRICKS_TF_CLI_CONFIG_FILE is not defined pid=00000 mutator=initialize mutator=seq mutator=terraform.Initialize +Debug: Environment variables for Terraform: ENV_VARS_REDACTED pid=00000 mutator=initialize mutator=seq mutator=terraform.Initialize +Debug: Apply pid=00000 mutator=initialize mutator=seq mutator=scripts.postinit +Debug: No script defined for postinit, skipping pid=00000 mutator=initialize mutator=seq mutator=scripts.postinit +Debug: Apply pid=00000 mutator=validate Debug: GET /api/2.0/workspace/get-status?path=/Workspace/Users/$USERNAME/.bundle/debug/default/files < HTTP/1.1 200 OK < { < "object_id": 1001, < "object_type": "DIRECTORY", < "resource_id": "1001" -Info: completed execution exit_code=0 +Info: completed execution pid=00000 exit_code=0 diff --git a/acceptance/bundle/debug/test.toml b/acceptance/bundle/debug/test.toml new file mode 100644 index 000000000..15b6ec4ec --- /dev/null +++ b/acceptance/bundle/debug/test.toml @@ -0,0 +1,7 @@ +[[Repls]] +Old = 'Environment variables for Terraform: ([A-Z_ ,]+) ' +New = 'Environment variables for Terraform: ENV_VARS_REDACTED ' + +[[Repls]] +Old = 'pid=[0-9]+' +New = 'pid=00000'