Skip to content

Instantly share code, notes, and snippets.

@ahpook
Created May 21, 2019 07:57
Show Gist options
  • Save ahpook/13d85dc953f697d119cf5cb6f63d157a to your computer and use it in GitHub Desktop.
Save ahpook/13d85dc953f697d119cf5cb6f63d157a to your computer and use it in GitHub Desktop.
✘ eric@recury  ~/Sandbox/go/src/github.com/lyraproj/lyra   tags/v0.2.0 ± build/bin/lyra apply --debug helm | gist
2019-05-21T00:57:09.186-0700 [DEBUG] lyra: configuring scope
2019-05-21T00:57:09.186-0700 [DEBUG] lyra: applying: stepID=helm
2019-05-21T00:57:09.187-0700 [DEBUG] lyra: starting plugin: path=build/goplugins/identity args=[build/goplugins/identity]
2019-05-21T00:57:09.189-0700 [DEBUG] lyra: plugin started: path=build/goplugins/identity pid=57555
2019-05-21T00:57:09.190-0700 [DEBUG] lyra: waiting for RPC address: path=build/goplugins/identity
2019-05-21T00:57:09.228-0700 [DEBUG] lyra.identity: Starting to serve: @module=Identity name=Identity timestamp=2019-05-21T00:57:09.227-0700
2019-05-21T00:57:09.229-0700 [DEBUG] lyra: using plugin: version=1
2019-05-21T00:57:09.230-0700 [DEBUG] lyra.identity: plugin address: @module=Identity address=/var/folders/mt/wmmzm56n74x31hc23qb4pw4m0000gn/T/plugin859061638 network=unix timestamp=2019-05-21T00:57:09.229-0700
2019-05-21T00:57:09.233-0700 [DEBUG] lyra: loaded executable: plugin="TypedName('namespace' => 'service', 'name' => 'Identity')"
2019-05-21T00:57:09.233-0700 [DEBUG] lyra: loading metadata: plugin=build/goplugins/identity
2019-05-21T00:57:09.235-0700 [DEBUG] lyra: loaded TypeSet: name=Identity count=1
2019-05-21T00:57:09.235-0700 [DEBUG] lyra: loaded Definitions: count=1
2019-05-21T00:57:09.235-0700 [DEBUG] lyra: done loading metadata: plugin=build/goplugins/identity
2019-05-21T00:57:09.235-0700 [DEBUG] lyra.identity: Invoke: name=bumpEra @module=Identity api=Identity::Service timestamp=2019-05-21T00:57:09.235-0700
2019-05-21T00:57:09.250-0700 [DEBUG] lyra: starting plugin: path=build/goplugins/puppet args=[build/goplugins/puppet]
2019-05-21T00:57:09.254-0700 [DEBUG] lyra: plugin started: path=build/goplugins/puppet pid=57563
2019-05-21T00:57:09.254-0700 [DEBUG] lyra: waiting for RPC address: path=build/goplugins/puppet
2019-05-21T00:57:09.270-0700 [DEBUG] lyra.puppet: Starting to serve: name=Puppet @module=Puppet timestamp=2019-05-21T00:57:09.270-0700
2019-05-21T00:57:09.271-0700 [DEBUG] lyra.puppet: plugin address: network=unix @module=Puppet address=/var/folders/mt/wmmzm56n74x31hc23qb4pw4m0000gn/T/plugin330105470 timestamp=2019-05-21T00:57:09.271-0700
2019-05-21T00:57:09.271-0700 [DEBUG] lyra: using plugin: version=1
2019-05-21T00:57:09.273-0700 [DEBUG] lyra: loaded executable: plugin="TypedName('namespace' => 'service', 'name' => 'Puppet')"
2019-05-21T00:57:09.273-0700 [DEBUG] lyra: loading metadata: plugin=build/goplugins/puppet
2019-05-21T00:57:09.275-0700 [DEBUG] lyra: loaded TypeSet: name=Puppet count=2
2019-05-21T00:57:09.275-0700 [DEBUG] lyra: loaded Definitions: count=1
2019-05-21T00:57:09.275-0700 [DEBUG] lyra: done loading metadata: plugin=build/goplugins/puppet
2019-05-21T00:57:09.275-0700 [DEBUG] lyra: loading manifest: file=workflows/helm.yaml
2019-05-21T00:57:09.276-0700 [DEBUG] lyra.puppet: Invoke: @module=Puppet api=Puppet::ManifestLoader name=loadManifest timestamp=2019-05-21T00:57:09.275-0700
2019-05-21T00:57:09.278-0700 [DEBUG] lyra.puppet: Invoke: api=Workflows::HelmYaml name=metadata @module=Puppet timestamp=2019-05-21T00:57:09.278-0700
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: loaded Definitions: count=1
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: creating step: style=workflow
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: creating step: style=call
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: resolving step call: name=helm::helm call=helm_go
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: reading Lyra Link: file=workflows/helm_go.ll
2019-05-21T00:57:09.279-0700 [DEBUG] lyra: starting plugin: path=/usr/local/bin/go args=[go, run, examples/go-samples/helm_go/helm_go.go]
2019-05-21T00:57:09.281-0700 [DEBUG] lyra: plugin started: path=/usr/local/bin/go pid=57564
2019-05-21T00:57:09.281-0700 [DEBUG] lyra: waiting for RPC address: path=/usr/local/bin/go
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: examples/go-samples/helm_go/helm_go.go:8:2: cannot find package "github.com/hashicorp/go-hclog" in any of:
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: /usr/local/Cellar/go/1.12.5/libexec/src/github.com/hashicorp/go-hclog (from $GOROOT)
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: /Users/eric/Sandbox/go/src/github.com/hashicorp/go-hclog (from $GOPATH)
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: examples/go-samples/helm_go/helm_go.go:9:2: cannot find package "github.com/lyraproj/servicesdk/lang/go/lyra" in any of:
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: /usr/local/Cellar/go/1.12.5/libexec/src/github.com/lyraproj/servicesdk/lang/go/lyra (from $GOROOT)
2019-05-21T00:57:09.359-0700 [DEBUG] lyra.go: /Users/eric/Sandbox/go/src/github.com/lyraproj/servicesdk/lang/go/lyra (from $GOPATH)
2019-05-21T00:57:09.360-0700 [ERROR] lyra: error creating GRPC client: error="Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol."
2019-05-21T00:57:09.360-0700 [DEBUG] lyra: plugin process exited: path=/usr/local/bin/go pid=57564 error="exit status 1"
error while loading plugin executable 'go': Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol. (file: /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/loader.go, line: 184)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/loader.go:184 (github.com/lyraproj/wfe/wfe.loadPluginMetadata)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/loader.go:71 (github.com/lyraproj/wfe/wfe.instantiateLyraLink)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/filebased.go:271 (github.com/lyraproj/pcore/loader.(*fileBasedLoader).instantiate)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/filebased.go:175 (github.com/lyraproj/pcore/loader.(*fileBasedLoader).find)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/filebased.go:95 (github.com/lyraproj/pcore/loader.(*fileBasedLoader).LoadEntry)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/dependency.go:54 (github.com/lyraproj/pcore/loader.(*dependencyLoader).find)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/dependency.go:32 (github.com/lyraproj/pcore/loader.(*dependencyLoader).LoadEntry)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/loader/loader.go:75 (github.com/lyraproj/pcore/loader.load)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/service/util.go:42 (github.com/lyraproj/wfe/service.GetDefinition)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/call.go:23 (github.com/lyraproj/wfe/wfe.Call)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/step.go:45 (github.com/lyraproj/wfe/wfe.CreateStep)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/workflow.go:48 (github.com/lyraproj/wfe/wfe.Workflow.func1)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/types/arraytype.go:403 (github.com/lyraproj/pcore/types.(*Array).EachWithIndex)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/workflow.go:48 (github.com/lyraproj/wfe/wfe.Workflow)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/wfe/step.go:41 (github.com/lyraproj/wfe/wfe.CreateStep)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:144 (github.com/lyraproj/lyra/pkg/apply.loadStep)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:164 (github.com/lyraproj/lyra/pkg/apply.apply)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:109 (github.com/lyraproj/lyra/pkg/apply.(*Applicator).applyWithContext.func1.1)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/pximpl/context.go:96 (github.com/lyraproj/pcore/pximpl.(*pxContext).DoWithLoader)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:101 (github.com/lyraproj/lyra/pkg/apply.(*Applicator).applyWithContext.func1)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/hiera/hiera.go:32 (github.com/lyraproj/hiera/hiera.DoWithParent.func1)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/pximpl/runtime.go:251 (github.com/lyraproj/pcore/pximpl.(*rt).DoWithParent.func1)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/px/context.go:156 (github.com/lyraproj/pcore/px.DoWithContext)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/pximpl/runtime.go:249 (github.com/lyraproj/pcore/pximpl.(*rt).DoWithParent)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/pcore/entrypoint.go:27 (github.com/lyraproj/pcore/pcore.DoWithParent)
at /Users/eric/Sandbox/go/pkg/mod/github.com/lyraproj/[email protected]/hiera/hiera.go:30 (github.com/lyraproj/hiera/hiera.DoWithParent)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:93 (github.com/lyraproj/lyra/pkg/apply.(*Applicator).ApplyWorkflow.func1)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/util/command.go:53 (github.com/lyraproj/lyra/pkg/util.RunCommand)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/pkg/apply/apply.go:92 (github.com/lyraproj/lyra/pkg/apply.(*Applicator).ApplyWorkflow)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/cmd/lyra/cmd/apply.go:40 (github.com/lyraproj/lyra/cmd/lyra/cmd.runApplyCmd)
at /Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:766 (github.com/spf13/cobra.(*Command).execute)
at /Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 (github.com/spf13/cobra.(*Command).ExecuteC)
at /Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:800 (github.com/spf13/cobra.(*Command).Execute)
at /Users/eric/Sandbox/go/src/github.com/lyraproj/lyra/cmd/lyra/main.go:12 (main.main)
at /usr/local/Cellar/go/1.12.5/libexec/src/runtime/proc.go:200 (runtime.main)
2019-05-21T00:57:09.361-0700 [WARN] lyra: plugin failed to exit gracefully
2019-05-21T00:57:09.362-0700 [DEBUG] lyra.puppet: Done serving: @module=Puppet name=Puppet timestamp=2019-05-21T00:57:09.361-0700
2019-05-21T00:57:09.362-0700 [DEBUG] lyra.identity: Done serving: @module=Identity name=Identity timestamp=2019-05-21T00:57:09.362-0700
2019-05-21T00:57:09.363-0700 [DEBUG] lyra: plugin process exited: path=build/goplugins/puppet pid=57563
2019-05-21T00:57:09.363-0700 [DEBUG] lyra: plugin exited
2019-05-21T00:57:09.363-0700 [DEBUG] lyra: plugin process exited: path=build/goplugins/identity pid=57555
2019-05-21T00:57:09.363-0700 [DEBUG] lyra: plugin exited
2019-05-21T00:57:09.363-0700 [DEBUG] lyra: all plugins cleaned up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment