codeclimate / test-reporter

Code Climate Test Reporter
MIT License
156 stars 76 forks source link

Reporter download URL not working (failing with a 403 from S3) #517

Closed paambaati closed 1 year ago

paambaati commented 1 year ago
$ curl -L -i https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-arm64

HTTP/2 301
date: Mon, 24 Apr 2023 06:23:30 GMT
content-type: text/html
content-length: 162
location: https://s3.amazonaws.com/codeclimate/test-reporter/test-reporter-latest-darwin-arm64
server: CodeClimate Server
strict-transport-security: max-age=31536000
referrer-policy: origin-when-cross-origin
cross-origin-opener-policy: same-origin

HTTP/1.1 403 Forbidden
x-amz-request-id: Z8JP0V9V0RDFKX3E
x-amz-id-2: UfWNpG7QD7PAP+5CbSUzSPpiIqhiVegnI2wcMy35MnT/emO/sclV2fWzhpJJT+jbGes94eXvKLM=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Mon, 24 Apr 2023 06:23:32 GMT
Server: AmazonS3

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>Z8JP0V9V0RDFKX3E</RequestId><HostId>UfWNpG7QD7PAP+5CbSUzSPpiIqhiVegnI2wcMy35MnT/emO/sclV2fWzhpJJT+jbGes94eXvKLM=</HostId></Error>

Same for checksum file as well. Integration tests are not working currently because of this.

f-moya commented 1 year ago

@paambaati We only offer an AMD distribution for windows, https://codeclimate.com/downloads/test-reporter/test-reporter-latest-windows-amd64. Check https://codeclimate.com/downloads/test-reporter/test-reporter-latest-windows-amd64.

skydivedan commented 1 year ago

@paambaati - you're trying to download Darwin ARM64 - which does not exist. If this existed, it would run on an Apple Silicon machine natively, but sadly it is not yet available. For more info about this, see: https://github.com/codeclimate/test-reporter/issues/470