Swarming bot download uses the wrong remote provided filename |
||||
Issue description
The code for downloading the Swarming bot code started using the wrong filename:
SWARM_ZIP="${WORK_DIR}/swarming_bot.zip"
rm -rf swarming_bot*.zip
curl -sSLOJ -o "${SWARM_ZIP}" "${SWARM_URL}/bot_code?bot_id=${SWARM_BOT_ID}"
It used to download to swarming_bit.zip, but now it's using the URL path basename as the filename: bot_code?bot_id=${SWARM_BOT_ID}
I'm not sure if this is an unintentional regression in Swarming. In any case I'll patch it up for Skylab.
,
Oct 3
The following revision refers to this bug: https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/d06d79d83682150a1257ba131eb9be3e69f96774 commit d06d79d83682150a1257ba131eb9be3e69f96774 Author: Allen Li <ayatane@chromium.org> Date: Wed Oct 03 22:21:13 2018
,
Oct 3
Actually this is just because of a 403 because curl is being stupid. Going to keep this open for a bit to make the error clearer.
,
Oct 3
,
Oct 4
The following revision refers to this bug: https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/6388eb6e944ee4e02f0eedd38abac3a3ff363761 commit 6388eb6e944ee4e02f0eedd38abac3a3ff363761 Author: Allen Li <ayatane@chromium.org> Date: Thu Oct 04 20:12:31 2018
,
Oct 15
|
||||
►
Sign in to add a comment |
||||
Comment 1 by ayatane@chromium.org
, Oct 3