rstudio / r-system-requirements

System requirements for R packages
MIT License
122 stars 21 forks source link

Use mirrorcache to mitigate openSUSE mirror flakiness #116

Closed glin closed 1 year ago

glin commented 1 year ago

Since https://github.com/rstudio/r-system-requirements/pull/115, the CI tests are now running a lot more zypper refresh commands and failing more often from the usual openSUSE mirror flakiness. Replace default mirrors with mirrorcache which we've found to be faster and more reliable.

Cannot read input: bad stream or EOF.
If you run zypper without a terminal, use '--non-interactive' global
option to make zypper use default answers to prompts.
Repository 'Main Update Repository' is invalid.
[repo-update|http://download.opensuse.org/update/leap/15.3/oss/] Valid metadata not found at specified URL
History:
 - Cannot read input. Bad stream or EOF.
 - Can't provide /repodata/repomd.xml

Please check if the URIs defined for this repository are pointing to a valid repository.
Some of the repositories have not been refreshed because of an error.
make: *** [Makefile:24: test-opensuse153] Error 1
glin commented 1 year ago

Closing since https://github.com/rstudio/r-system-requirements/pull/119 seems to have made the daily tests much more reliable.