[
https://issues.apache.org/jira/browse/FLINK-32910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-32910:
-----------------------------------
Labels: pull-request-available stale-assigned starter (was:
pull-request-available starter)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> Silence curls in test code
> --------------------------
>
> Key: FLINK-32910
> URL: https://issues.apache.org/jira/browse/FLINK-32910
> Project: Flink
> Issue Type: Improvement
> Components: Test Infrastructure
> Affects Versions: 1.16.2, 1.18.0, 1.17.1
> Reporter: Matthias Pohl
> Assignee: Matthias Pohl
> Priority: Major
> Labels: pull-request-available, stale-assigned, starter
>
> We use {{curl}} in several locations to download artifacts. Usually, the a
> progress bar is printed which spams the console output of the test execution.
> This issue is about cleaning this up.
> Parameters to consider (depending on the usecase):
> * {{\-L}}/{{\-\-location}} redirects the curl command and retries if the
> server reported that the artifact was moved
> * {{\-O}}/{{\-\-remote-name}} writes output to file matching the remote name
> (which was extracted from the URL) instead of stdout; alternative:
> {{\-o}}/{{\-\-output}} writes output to a file with the given name instead of
> stdout
> * {{\-f}}/{{\-\-fail}} makes curl command fail with non-0 exit code for HTTP
> error codes
> * {{\-s \-S}}/{{\-\-silent \-\-show-error}} doesn't print progress bar but
> shows error
> * {{\-r}}/{{\-\-retry}} Retries certain errors
> {{curl}} uses a default config file {{${user.home}/.curlrc}}. But one could
> make it more explicit using {{\-K}}/{{\-\-config}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)