circleci

rm -rf /home/circleci/.gitconfig
borkdude 2020-02-29T09:27:08.000400Z

@marc-omorain I'm getting

100 13.9M  100 13.9M    0     0  13.4M      0  0:00:01  0:00:01 --:--:-- 29.4M
shasum: /Users/distiller/.lein/self-installs/leiningen-2.9.2-standalone.jar.pending.shasum: no properly formatted SHA1 checksum lines found
Failed to properly download <https://github.com/technomancy/leiningen/releases/download/2.9.2/leiningen-2.9.2-standalone.zip>
The checksum was mismatched. and we could not verify the downloaded
file. We expected a sha256 of
09805bd809656794cfe7d9155fd4b8bea2646092318690bf68e3c379574a2d3c and actually had
0b320b5ba103b199872e2ec6632dfbc1f3e045455ae35a1f3b5b3b5a2ba3ca16.
in my Mac container all of a sudden.

borkdude 2020-02-29T10:01:39.000900Z

I'm getting this in babashka. It seems spire has the same problem: https://circleci.com/gh/epiccastle/spire/627?utm_campaign=vcs-integration-link&amp;utm_medium=referral&amp;utm_source=github-build-link so it might be a general Mac image problem?

Crispin 2020-02-29T10:26:24.001200Z

"09805bd809656794cfe7d9155fd4b8bea2646092318690bf68e3c379574a2d3c and actually had 0b320b5ba103b199872e2ec6632dfbc1f3e045455ae35a1f3b5b3b5a2ba3ca16."

Crispin 2020-02-29T10:28:44.001600Z

on spire its on lein clean

Crispin 2020-02-29T10:29:18.001900Z

is lein trying to update? leiningen-2.9.2-standalone.jar?

Crispin 2020-02-29T10:29:43.002400Z

hash mismatch... someone up to no good?

Crispin 2020-02-29T10:33:28.002700Z

Downloading Leiningen to /home/crispin/.lein/self-installs/leiningen-2.9.2-standalone.jar now...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   618  100   618    0     0    939      0 --:--:-- --:--:-- --:--:--   939
100 13.9M  100 13.9M    0     0   407k      0  0:00:35  0:00:35 --:--:--  444k
/home/crispin/.lein/self-installs/leiningen-2.9.2-standalone.jar.pending: OK
Leiningen 2.9.2 on Java 11.0.5 OpenJDK 64-Bit Server VM

Crispin 2020-02-29T10:33:42.003100Z

my linux box lein upgrade is ok

Crispin 2020-02-29T10:33:55.003400Z

do you want to try on your mac @borkdude

Crispin 2020-02-29T10:36:39.004200Z

(if its ok on your mac then theory: could be http download. Could be a transparent http proxy in circleci infra with corrupted file??)

borkdude 2020-02-29T12:40:30.004700Z

@retrogradeorbit @marc-omorain fixed by pinning lein to the previous version:

#!/usr/bin/env bash

curl <https://raw.githubusercontent.com/technomancy/leiningen/2.9.1/bin/lein> &gt; lein
sudo mkdir -p /usr/local/bin/
sudo mv lein /usr/local/bin/lein
sudo chmod a+x /usr/local/bin/lein

1👍