Mac CLI Crash : 0.246.0
Trying to validate bundle
CLI Version: 0.246.0
+--------------------------------------------+
| ❯databricks bundle validate -t dev --debug |
+--------------------------------------------+
05:49:46 Info: start pid=63998 version=0.246.0 args="databricks, bundle, validate, -t, dev, --debug" 05:49:46 Debug: Found bundle root at /Users/aadhav/projects/SIE/databricks-aai (file /Users/aadhav/projects/SIE/databricks-aai/databricks.yml) pid=63998 05:49:46 Info: Phase: load pid=63998 05:49:46 Debug: Apply pid=63998 mutator=EntryPoint 05:49:46 Debug: Apply pid=63998 mutator=scripts.preinit 05:49:46 Debug: No script defined for preinit, skipping pid=63998 mutator=scripts.preinit 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(shared/resources/global_variables.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(shared/resources/parameters.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(shared/resources/clusters.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(shared/resources/project_variables.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(bundles/dev/target.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(bundles/staging/target.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(bundles/prod/target.yml) 05:49:46 Debug: Apply pid=63998 mutator=ProcessRootIncludes mutator=ProcessInclude(workflows/qoe_dlt_pipeline.yml) The Databricks CLI unexpectedly had a fatal error. Please report this issue to Databricks in the form of a GitHub issue at: https://github.com/databricks/cli
CLI Version: 0.246.0
Panic Payload: merge node already set
Stack Trace: goroutine 1 [running]: runtime/debug.Stack() runtime/debug/stack.go:26 +0x64 github.com/databricks/cli/cmd/root.Execute.func1() github.com/databricks/cli/cmd/root/root.go:112 +0xa4 panic({0x101207b40?, 0x10155fd90?}) runtime/panic.go:791 +0x124 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadMapping(0x140000bb5e0, 0x14000552a00, {{0x14000192cd0?, 0x14000580008?}, 0x14000556080?, 0x0?}) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:113 +0xb10 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x101207b40?, 0x14000552a00) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:51 +0x2a4 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadMapping(0x140000bb5e0, 0x1400050fe00, {{0x14000192cd0?, 0x14000580008?}, 0x1400053bbc0?, 0x0?}) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:127 +0x24c github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x101207b40?, 0x1400050fe00) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:51 +0x2a4 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadMapping(0x140000bb5e0, 0x1400050fcc0, {{0x14000192cd0?, 0x14000580008?}, 0x1400053bb80?, 0x0?}) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:127 +0x24c github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x101207b40?, 0x1400050fcc0) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:51 +0x2a4 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadMapping(0x140000bb5e0, 0x1400050fb80, {{0x14000192cd0?, 0x14000580008?}, 0x1400053bb40?, 0x0?}) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:127 +0x24c github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x101207b40?, 0x1400050fb80) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:51 +0x2a4 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadMapping(0x140000bb5e0, 0x1400050fa40, {{0x14000192cd0?, 0x1003c85ec?}, 0x44a?, 0x29?}) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:127 +0x24c github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x140000bb488?, 0x1400050fa40) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:51 +0x2a4 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).loadDocument(...) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:74 github.com/databricks/cli/libs/dyn/yamlloader.(*loader).load(0x140000bb5f0?, 0x1400050f900) github.com/databricks/cli/libs/dyn/yamlloader/loader.go:47 +0x94 github.com/databricks/cli/libs/dyn/yamlloader.LoadYAML({0x14000192cd0, 0x48}, {0x101562560, 0x1400053d650}) github.com/databricks/cli/libs/dyn/yamlloader/yaml.go:21 +0x2ac github.com/databricks/cli/bundle/config.LoadFromBytes({0x14000192cd0, 0x48}, {0x14000397200, 0x44a, 0x44b}) github.com/databricks/cli/bundle/config/root.go:93 +0x9c github.com/databricks/cli/bundle/config.Load({0x14000192cd0, 0x48}) github.com/databricks/cli/bundle/config/root.go:86 +0xa8 github.com/databricks/cli/bundle/config/loader.(*processInclude).Apply(0x140005a62e0, {0x101572788?, 0x14000522570?}, 0x140001ed408) github.com/databricks/cli/bundle/config/loader/process_include.go:153 +0x38 github.com/databricks/cli/bundle.Apply({0x101572788, 0x14000293e60}, 0x140001ed408, {0x10156dab0, 0x140005a62e0}) github.com/databricks/cli/bundle/mutator.go:38 +0x160 github.com/databricks/cli/bundle.ApplySeq({0x101572788, 0x14000293e60}, 0x140001ed408, {0x140002ac100?, 0x101207b40?, 0x14000381eb0?}) github.com/databricks/cli/bundle/mutator.go:54 +0x94 github.com/databricks/cli/bundle/config/loader.(*processRootIncludes).Apply(0x140001ed458?, {0x101572788, 0x14000293e60}, 0x140001ed408) github.com/databricks/cli/bundle/config/loader/process_root_includes.go:105 +0x4e4 github.com/databricks/cli/bundle.Apply({0x101572788, 0x14000292630}, 0x140001ed408, {0x10156b3d8, 0x101fb8920}) github.com/databricks/cli/bundle/mutator.go:38 +0x160 github.com/databricks/cli/bundle.ApplySeq({0x101572788, 0x14000292630}, 0x140001ed408, {0x140000bd378?, 0x0?, 0x0?}) github.com/databricks/cli/bundle/mutator.go:54 +0x94 github.com/databricks/cli/bundle/config/mutator.DefaultMutators({0x101572788, 0x14000292630}, 0x140001ed408) github.com/databricks/cli/bundle/config/mutator/mutator.go:15 +0x178 github.com/databricks/cli/bundle/phases.LoadNamedTarget({0x101572788, 0x14000292630}, 0x140001ed408, {0x16fb344be, 0x3}) github.com/databricks/cli/bundle/phases/load.go:34 +0x50 github.com/databricks/cli/cmd/root.configureBundle(0x1400027c008, 0x140001ed408) github.com/databricks/cli/cmd/root/bundle.go:88 +0x70 github.com/databricks/cli/cmd/root.MustConfigureBundle(0x1400027c008) github.com/databricks/cli/cmd/root/bundle.go:132 +0xe8 github.com/databricks/cli/cmd/bundle/utils.ConfigureBundleWithVariables(0x1400027c008) github.com/databricks/cli/cmd/bundle/utils/utils.go:21 +0x24 github.com/databricks/cli/cmd/bundle.newValidateCommand.func1(0x1400027c008, {0x140002923f0?, 0x4?, 0x100ebfd84?}) github.com/databricks/cli/cmd/bundle/validate.go:43 +0x44 github.com/spf13/cobra.(*Command).execute(0x1400027c008, {0x14000292390, 0x3, 0x3}) github.com/spf13/[email protected]/command.go:1015 +0x82c github.com/spf13/cobra.(*Command).ExecuteC(0x1400044a608) github.com/spf13/[email protected]/command.go:1148 +0x350 github.com/spf13/cobra.(*Command).ExecuteContextC(...) github.com/spf13/[email protected]/command.go:1080 github.com/databricks/cli/cmd/root.Execute({0x101572750, 0x101fb8920}, 0x1400044a608) github.com/databricks/cli/cmd/root/root.go:141 +0x114 main.main() github.com/databricks/cli/main.go:13 +0x44
Could you include your bundle configuration?
The error suggests you're using the same anchor twice, or reusing the same anchor in some unsupported way (that we don't test for).
Unfortunately, there is proprietry info in the files which I can not shre. If there are some troubleshooting steps, please let me know.
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.