From ddb87f6b0c240e8470a849ef85a38fe1e9059124 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Tue, 20 Oct 2020 22:16:28 -0700 Subject: [PATCH] azure tests don't like sshpass v1.06 so pegging to 1.05 --- .ci/localhost_ansible_tests.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.ci/localhost_ansible_tests.py b/.ci/localhost_ansible_tests.py index 0e7e8be4..aaecc973 100755 --- a/.ci/localhost_ansible_tests.py +++ b/.ci/localhost_ansible_tests.py @@ -21,8 +21,14 @@ with ci_lib.Fold('unit_tests'): with ci_lib.Fold('job_setup'): os.chmod(KEY_PATH, int('0600', 8)) + # NOTE: sshpass v1.06 causes errors so pegging to 1.05 -> "msg": "Error when changing password","out": "passwd: DS error: eDSAuthFailed\n", + # there's a checksum error with "brew install http://git.io/sshpass.rb" though, so installing manually if not ci_lib.exists_in_path('sshpass'): - run("brew install esolitos/ipa/sshpass") + run("curl -O -L https://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz && \ + tar xvf sshpass-1.05.tar.gz && \ + cd sshpass-1.05 && \ + ./configure && \ + sudo make install") with ci_lib.Fold('machine_prep'):