Closed luads closed 3 years ago
I'm having the same problem today. (2020/12/21)
$ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
$ chmod +x ./cc-test-reporter
$ ./cc-test-reporter before-build
/bin/bash: line 1: ./cc-test-reporter: cannot execute binary file: Exec format error
My OS details:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ uname -a
Linux 351996bd41d4 4.15.0-1077-aws #81-Ubuntu SMP Wed Jun 24 16:48:15 UTC 2020 x86_64 GNU/Linux
The executable seems to have been compiled incorrectly.
✗ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.9.0-linux-amd64 > ./cc-test-reporter
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 182 0 --:--:-- --:--:-- --:--:-- 182
100 12.4M 100 12.4M 0 0 1932k 0 0:00:06 0:00:06 --:--:-- 2770k
✗ file cc-test-reporter
cc-test-reporter: Mach-O 64-bit executable x86_64
✗ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.7.0-linux-amd64 > ./cc-test-reporter
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 169 0 0:00:01 0:00:01 --:--:-- 169
100 12.1M 100 12.1M 0 0 1951k 0 0:00:06 0:00:06 --:--:-- 2578k
✗ file cc-test-reporter
cc-test-reporter: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=7f87268a41b9d0fa7748f0ac4d77b015c37d9a3c, with debug_info, not stripped
Using circle CI I am also having the same issue. Have been able to temporarily work around it by updating the config to point to 0.7.0:
- run:
name: Setup Code Climate test-reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.7.0-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
Facing same issue on CI, Builds are failing.
Same issue here, as expected. Did the same as @adamth and pinned the version to 0.7.0 for now.
We changed latest
to version 0.8.0
and it works well (launched in docker on circleci) -> test-reporter-0.8.0-linux-amd64
Same issue here. Pinned down to 0.7.0 version and working OK. But we'd rather have the latest version referenced. =(
Why isn't there a tag for 0.8.0?
Apologies for the issue, new binaries have been just uploaded.
I'm also a linux user, and this looks fixed to me. Thanks for fixing this quickly, @fede-moya!
Before we close this, @luads you were the original reporter here - can you confirm 0.9.0 is working for you now?
New binary works for me on Linux. Thank you for fixing!
Seems to be fixed! Thanks @fede-moya 👍
Version 0.7.0 seems to be working fine. When fetching 0.9.0 from
test-reporter-0.9.0-linux-amd64
, this is the error I get:My OS details: