-
Notifications
You must be signed in to change notification settings - Fork 126
Revisit elastic-package test command output #2756
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
Conversation
err := os.RemoveAll(options.Output) | ||
if err != nil { | ||
return nil, fmt.Errorf("can't remove output location: %w", err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this remove call to the if
checking if options.Output
is not an empty string.
@@ -56,12 +60,6 @@ func Dump(ctx context.Context, options DumpOptions) ([]DumpResult, error) { | |||
} | |||
|
|||
func dumpStackLogs(ctx context.Context, options DumpOptions) ([]DumpResult, error) { | |||
logger.Debugf("Dump stack logs (location: %s)", options.Output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this message in favor of the one in Dump()
test serverless |
Triggered serverless pipeline: https://buildkite.com/elastic/elastic-package-test-serverless/builds/496 |
test serverless |
@@ -57,7 +57,6 @@ func NewClient(opts ...ClientOption) (*Client, error) { | |||
if host != "" { | |||
c.host = host | |||
} | |||
logger.Debugf("Using Elastic Cloud URL: %s", c.host) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this message is not needed. WDYT ?
Another option is move that message to Trace log level.
Triggered serverless pipeline: https://buildkite.com/elastic/elastic-package-test-serverless/builds/497 |
💛 Build succeeded, but was flaky
Failed CI StepsHistory
cc @mrodm |
Relates #1903
This PR reviews the output shown by the
elastic-package test
command. Mainly focused ontest system
Example of output with verbose mode: https://buildkite.com/elastic/elastic-package/builds/5726#0198319b-a5a9-4464-b193-cdbaf0bbd898/253-614
Example of output without verbose mode:
Author's Checklist