[
https://issues.apache.org/jira/browse/FLINK-30941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685282#comment-17685282
]
Chesnay Schepler commented on FLINK-30941:
------------------------------------------
Further up in the logs we can see this:
{code}
Feb 06 08:41:36 + wget -nv -O flink.tgz localhost:9999/flink.tgz
Feb 06 08:41:36 failed: Connection refused.
127.0.0.1 - - [06/Feb/2023 08:41:36] "GET /flink.tgz HTTP/1.1" 200 -
Feb 06 08:41:36 2023-02-06 08:41:36 URL:http://localhost:9999/flink.tgz
[470024767/470024767] -> "flink.tgz" [1]
Feb 06 08:41:36 + [ false = true ]
Feb 06 08:41:36 + tar -xf flink.tgz --strip-components=1
Terminated
{code}
To me it looks like the local webserver crashes for some reason.
> Error when downloading the flink binaries into the Docker container
> -------------------------------------------------------------------
>
> Key: FLINK-30941
> URL: https://issues.apache.org/jira/browse/FLINK-30941
> Project: Flink
> Issue Type: Bug
> Components: Test Infrastructure
> Affects Versions: 1.16.1
> Reporter: Matthias Pohl
> Priority: Major
> Labels: test-stability
>
> Creating the Docker container failed because it failed to download the Flink
> binaries:
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=45748&view=logs&j=bea52777-eaf8-5663-8482-18fbc3630e81&t=b2642e3a-5b86-574d-4c8a-f7e2842bfb14&l=5253
> {code}
> Feb 06 09:00:46 Step 10/14 : RUN set -ex; wget -nv -O flink.tgz
> "$FLINK_TGZ_URL"; if [ "$CHECK_GPG" = "true" ]; then wget -nv -O
> flink.tgz.asc "$FLINK_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for
> server in ha.pool.sks-keyservers.net $(shuf -e
> hkp://p80.pool.sks-keyservers.net:80
> keyserver.ubuntu.com
> hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do
> gpg --batch --keyserver "$server" --recv-keys "$GPG_KEY" && break || :
> ; done && gpg --batch --verify flink.tgz.asc flink.tgz; gpgconf
> --kill all; rm -rf "$GNUPGHOME" flink.tgz.asc; fi; tar -xf
> flink.tgz --strip-components=1; rm flink.tgz; chown -R flink:flink .;
> sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g'
> $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/rest.bind-address:
> localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;
> sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g'
> $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/taskmanager.bind-host:
> localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;
> sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml;
> Feb 06 09:00:46 ---> Running in f4bc5a29798a
> Feb 06 09:00:46 + wget -nv -O flink.tgz localhost:9999/flink.tgz
> Feb 06 09:00:46 failed: Connection refused.
> Feb 06 09:00:46 failed: Connection refused.
> The command '/bin/sh -c set -ex; wget -nv -O flink.tgz "$FLINK_TGZ_URL";
> if [ "$CHECK_GPG" = "true" ]; then wget -nv -O flink.tgz.asc
> "$FLINK_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for server in
> ha.pool.sks-keyservers.net $(shuf -e
> hkp://p80.pool.sks-keyservers.net:80
> keyserver.ubuntu.com
> hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do
> gpg --batch --keyserver "$server" --recv-keys "$GPG_KEY" && break || :
> ; done && gpg --batch --verify flink.tgz.asc flink.tgz; gpgconf
> --kill all; rm -rf "$GNUPGHOME" flink.tgz.asc; fi; tar -xf
> flink.tgz --strip-components=1; rm flink.tgz; chown -R flink:flink .;
> sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g'
> $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/rest.bind-address:
> localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;
> sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g'
> $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/taskmanager.bind-host:
> localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml;
> sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml;'
> returned a non-zero code: 4
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)