Cannot use build cache, "A WebException with status SendFailure was thrown." on ubuntu image
I have an appveyor config ready to go, but the first run has to build wxPython which can take a while. I'm wanting to cache ~/.cache/pip so that subsequent runs don't need to build this dependency. However, when I introduce a build cache, "A WebException with status SendFailure was thrown." is displayed and the build fails.
This is the config for the Ubuntu image
-
matrix:
only:
- image: Ubuntu
environment:
APPVEYOR_SSH_KEY: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJDW/+oYNGOiPvwuwAL9tc/LQgg58aosIVpMYfepQZ20V+VZnHpZh8IRDA8Jo5xht19p2PksA+hFgqA0kpKtrSkuiWdE8rATQItfk4gf7yB0yGasJGGQZYazy9k/9XtmYkq2HHOOeEqdxvrICddJQ88MLCLT9lJENSUP/YS/yGcjZFXVxE11pTeIcqlCRU+3eYa1v7BeNvXIKNhZoK5orXWrtuH3cy8jrSns/u70aYfJ6B2jA8CnWnDbuvpeQtEY61SQqlKUsSArNa8NAsXj41wr3Ar9gAG9330w7EMTqlutk8HZO35uHI0q5qinUhaQYufPPrVkb2L/N+ZCfu0fnh appveyor"
cache:
- ~/.cache/pip
install:
- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
- sh: sudo DEBIAN_FRONTEND=noninteractive apt-get -y update
# - sh: sudo DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common
# - sh: sudo DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:deadsnakes/ppa
- sh: sudo DEBIAN_FRONTEND=noninteractive apt-get -y install python3.7 python3.7-dev libgtk-3-dev python3-pip
before_build:
# directory that will contain the built files
- sh: cd appimage
- sh: mkdir build
- sh: cd build
build_script:
- sh: make -f ../Makefile
after_build:
- sh: ls -la
artifacts:
- path: Pyfa*.AppImage
EDIT:
It seems to continue the build if I put
cache:
- packages
But if I do ~/.cache/pip
, /home/appveyor/.cache/pip
, or even appimage
it doesn't work. Now, all the ones that don't work seem to already exist once the repo is clones (the pip cache (which is the thing that I am actually trying to cache), is there by default in the image, while appimage
is a directory in my repo)
EDIT#2 apparently it working was a fluke.
https://ci.appveyor.com/project/pyfa-org/pyfa-f3suj/builds/42953392... this is where I put in packages
for the cache (check commit) and it started the build
https://ci.appveyor.com/project/pyfa-org/pyfa-f3suj/builds/42953432... this one does the same thing (updates cache to use packages
) and it fails
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by holmes.ryan.90 on 20 Mar, 2022 01:40 AM
Seems to be the same issue as
https://help.appveyor.com/discussions/problems/29931-linux-checkout...
https://help.appveyor.com/discussions/problems/28132-a-webexception...
Neither of which provide any actions for me to try
Support Staff 2 Posted by Feodor Fitsner on 20 Mar, 2022 02:33 AM
There is an ongoing uplink issue: https://status.liquidweb.com/incidents/6sl3wdl1ct5k - sorry about that.
3 Posted by holmes.ryan.90 on 20 Mar, 2022 02:55 AM
Awesome, thanks! I checked the appveyor status page without noticing anything, but it's good to know the provider so that it can be tracked as well
Support Staff 4 Posted by Feodor Fitsner on 20 Mar, 2022 05:18 PM
It should be working now.
Feodor Fitsner closed this discussion on 20 May, 2022 09:02 PM.