-
Type:
Story
-
Status: Done (View Workflow)
-
Priority:
Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
We often get in Travis:
...
scons: done building targets.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
The command '/bin/bash -lc . ${LSST_DIR}/loadLSST.bash && setup lsst_distrib && export -f setup && . /opt/rh/devtoolset-${DEVTOOLSET}/enable && ${PFS_DIR}/build_pfs.sh $INSTALL_PFS_ARGS -t current && ( find ${PFS_DIR} -exec strip --strip-unneeded --preserve-dates {} + > /dev/null 2>&1 || true ) && ( find ${PFS_DIR} -maxdepth 5 -name tests -type d -exec rm -rf {} + > /dev/null 2>&1 || true ) && ( find ${PFS_DIR} -maxdepth 5 -path "*doc/html" -type d -exec rm -rf {} + > /dev/null 2>&1 || true ) && ( find ${PFS_DIR} -maxdepth 5 -name src -type d -exec rm -rf {} + > /dev/null 2>&1 || true )' returned a non-zero code: 22
Note the 403 Forbidden, which is coming from a curl command using the GitHub API. I believe we are exceeding a rate limit in the GitHub API (possibly a limit shared by everyone on Travis?). Instead, we can dump the use of the GitHub API and just download the repo with git.