[ 
https://issues.apache.org/jira/browse/FLINK-39865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser resolved FLINK-39865.
------------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Fixed in apache/flink:master 5c0e9a8b45fbb264cdbc48640aa4d890d97fb41f

> 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.4.0
>
>
> 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)

Reply via email to