Cannot use build cache, "A WebException with status SendFailure was thrown." on ubuntu image

holmes.ryan.90's Avatar


20 Mar, 2022 01:38 AM

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

        - image: Ubuntu
      APPVEYOR_SSH_KEY: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJDW/+oYNGOiPvwuwAL9tc/LQgg58aosIVpMYfepQZ20V+VZnHpZh8IRDA8Jo5xht19p2PksA+hFgqA0kpKtrSkuiWdE8rATQItfk4gf7yB0yGasJGGQZYazy9k/9XtmYkq2HHOOeEqdxvrICddJQ88MLCLT9lJENSUP/YS/yGcjZFXVxE11pTeIcqlCRU+3eYa1v7BeNvXIKNhZoK5orXWrtuH3cy8jrSns/u70aYfJ6B2jA8CnWnDbuvpeQtEY61SQqlKUsSArNa8NAsXj41wr3Ar9gAG9330w7EMTqlutk8HZO35uHI0q5qinUhaQYufPPrVkb2L/N+ZCfu0fnh appveyor"
      - ~/.cache/pip
      - sh: curl -sflL '' | 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
        # directory that will contain the built files
      - sh: cd appimage
      - sh: mkdir build
      - sh: cd build
      - sh: make -f ../Makefile
      - sh: ls -la
      - path: Pyfa*.AppImage


It seems to continue the build if I put

      - 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. this is where I put in packages for the cache (check commit) and it started the build this one does the same thing (updates cache to use packages) and it fails

  1. 1 Posted by holmes.ryan.90 on 20 Mar, 2022 01:40 AM

    holmes.ryan.90's Avatar
  2. Support Staff 2 Posted by Feodor Fitsner on 20 Mar, 2022 02:33 AM

    Feodor Fitsner's Avatar

    There is an ongoing uplink issue: - sorry about that.

  3. 3 Posted by holmes.ryan.90 on 20 Mar, 2022 02:55 AM

    holmes.ryan.90's Avatar

    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

  4. Support Staff 4 Posted by Feodor Fitsner on 20 Mar, 2022 05:18 PM

    Feodor Fitsner's Avatar

    It should be working now.

  5. Feodor Fitsner closed this discussion on 20 May, 2022 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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