Skip to content

[Bug] Unwanted stderr output when running tctl commands #313

@hferentschik

Description

@hferentschik

What are you really trying to do?

Run any tctl commands

Describe the bug

When running any tctl command with the 1.16.3 version, there is additional stderr output appearing from hashicorp/go-plugin. For example:

$ tctx exec -c dev -- tctl wf describe --wid foo --rid 8858b620-89f5-4104-b6cc-8fc40e77de42                                                                                                                                
2022-10-13T15:26:13.585+0200 [WARN]  tctl: plugin configured with a nil SecureConfig
2022-10-13T15:26:13.608+0200 [WARN]  tctl: plugin configured with a nil SecureConfig
{
...
}
2022-10-13T15:26:14.698+0200 [INFO]  tctl: plugin process exited: path=/opt/homebrew/bin/tctl-data-converter pid=72439

Minimal Reproduction

Run any tctl while using a plugin as well, e.g. a DataConverter plugin.

Environment/Versions

$ tctl --version
tctl version 1.16.3

Additional context

This is most likely related to the commit 16ee92c which bumps hashicorp/go-plugin. When I build tctl from source, I can see the described behaviour. If I downgrade the go-plugin version, it is gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions