[
https://issues.apache.org/jira/browse/FLINK-39865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086627#comment-18086627
]
Martijn Visser commented on FLINK-39865:
----------------------------------------
Also fixed in apache/flink:
release-2.3: 51ee6ac7a6f1633d7ab5d2fb5c9eca4814b0b5fc
release-2.2: 9a5a69448cb53f3327cca6cd98c55b730d06604e
release-2.1: 30ea706fe2cb10ab5626c1ab5d30670accdd0be3
release-2.0: 5df0cea95f715affa230f04e3376745e1fb1ebb3
release-1.20: 9f6da3ba910105b81ec651ef99edc2399f97ddc6
> Nightly S3 artifact upload consistently fails: travis-ci artifacts uploader
> is unavailable
> ------------------------------------------------------------------------------------------
>
> Key: FLINK-39865
> URL: https://issues.apache.org/jira/browse/FLINK-39865
> Project: Flink
> Issue Type: Bug
> Components: Build System / CI
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.3, 2.2.2, 1.20.6, 2.3.1, 2.4.0, 2.1.4
>
>
> The "Upload artifacts to S3" step in the nightly flink-ci.flink-master-mirror
> pipeline (definitionId=1) has failed on *every* run since 2026-06-02 and was
> succeeding before that:
> Build links:
> - https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=75662
> -
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=75618&view=logs&j=585d8b77-fa33-51bc-8163-03e54ba9ce5b&t=2f31de30-3dd6-5bd6-d86d-dcdc2d7cc3de&l=23
> - https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=75582
> - https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=75557
> Error:
> {code:java}
> /home/vsts_azpcontainer/bin/artifacts: line 1: syntax error near unexpected
> token `newline'
> /home/vsts_azpcontainer/bin/artifacts: line 1: `<?xml version="1.0"
> encoding="UTF-8"?>'
> ##[error]Bash exited with code '2'.
> {code}
> Root cause:
> tools/ci/deploy_nightly_to_s3.sh installs the travis-ci/artifacts uploader
> via "curl ... | bash". That installer downloads its binary from a hardcoded
> travis-ci S3 bucket (s3.amazonaws.com/travis-ci-gmbh/artifacts/...) which now
> returns HTTP 403 AccessDenied. Because the install writes the response
> without checking it, the XML error page is saved as the "artifacts" binary
> and executed, producing the bash syntax error above. The travis-ci/artifacts
> project is abandoned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)