Can't delete ppc64le cache (web interface)

After removing all caches via the web interface, ppc64le builds continue to download and use old cache.
[0] was run after removing the caches, x64 and arm64 correctly rebuild all the pip wheels while ppc64 downloads the cache.
The reported size of the new cache (324MB) also doesn’t seem to include the ppc64 jobs (~164MB per job)

[0] https://travis-ci.com/github/PrincetonUniversity/PsyNeuLink/builds/209273722

Hey @jvesely,

There’s a couple of things I can recommend, but first have you read this yet?

Can you be more specific? Using the CLI client is no different from the web interface.
The current caches are listed as:

$  travis cache -r PrincetonUniversity/PsyNeuLink --com
On branch devel:
cache-amd64-linux-bionic-0c8a3f94582812eaf6d61076bfea4d6b28d1481f68b81db45a8c99cf185ff020.tgz  last modified: 2020-12-20 19:21:51  size: 12.61 MiB
cache-amd64-linux-bionic-83409cc664cc214a246b6b9dd67837d7c1a73bda551b21b7d2436ffd941bc6a7.tgz  last modified: 2020-12-21 21:43:43  size: 12.33 MiB
cache-amd64-linux-bionic-9e25f6369047dc4cb79654e828882b687797f7ba16d4e6bb01bc7033b9cf942e.tgz  last modified: 2020-12-21 21:48:43  size: 12.35 MiB
cache-arm64-linux-bionic-0c8a3f94582812eaf6d61076bfea4d6b28d1481f68b81db45a8c99cf185ff020.tgz  last modified: 2020-12-20 20:00:23  size: 100.49 MiB
cache-arm64-linux-bionic-83409cc664cc214a246b6b9dd67837d7c1a73bda551b21b7d2436ffd941bc6a7.tgz  last modified: 2020-12-20 19:16:05  size: 97.8 MiB
cache-arm64-linux-bionic-9e25f6369047dc4cb79654e828882b687797f7ba16d4e6bb01bc7033b9cf942e.tgz  last modified: 2020-12-21 01:43:55  size: 97.89 MiB

On branch master:
cache-amd64-linux-bionic-0c8a3f94582812eaf6d61076bfea4d6b28d1481f68b81db45a8c99cf185ff020.tgz  last modified: 2020-12-21 21:14:15  size: 12.6 MiB
cache-amd64-linux-bionic-83409cc664cc214a246b6b9dd67837d7c1a73bda551b21b7d2436ffd941bc6a7.tgz  last modified: 2020-12-21 21:17:23  size: 12.33 MiB
cache-amd64-linux-bionic-9e25f6369047dc4cb79654e828882b687797f7ba16d4e6bb01bc7033b9cf942e.tgz  last modified: 2020-12-21 21:19:33  size: 12.35 MiB
cache-arm64-linux-bionic-0c8a3f94582812eaf6d61076bfea4d6b28d1481f68b81db45a8c99cf185ff020.tgz  last modified: 2020-12-21 21:06:37  size: 100.48 MiB
cache-arm64-linux-bionic-83409cc664cc214a246b6b9dd67837d7c1a73bda551b21b7d2436ffd941bc6a7.tgz  last modified: 2020-12-21 21:11:42  size: 97.84 MiB
cache-arm64-linux-bionic-9e25f6369047dc4cb79654e828882b687797f7ba16d4e6bb01bc7033b9cf942e.tgz  last modified: 2020-12-22 00:52:22  size: 97.91 MiB

Overall size of above caches: 0.65 GiB

Despite that the ppc64 builds are still downloading old caches from somewhere.

Hi @jvesely,
I recently tried few cache jobs to confirm your issue and it looks like it has been resolved. I am able to list ppc64le cache and also delete it using travis cli.

build link: Travis CI - Test and Deploy with Confidence

$ travis cache -r Siddhesh-Ghadi/travis-cache --com

On branch main:
cache-amd64-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 12:04:57  size: 386 B
cache-ppc64le-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz  last modified: 2021-03-11 12:05:01  size: 375 B
cache-s390x-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 12:04:26  size: 355 B

On branch pip-cache:
cache-amd64-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 11:53:38  size: 32.96 KiB
cache-ppc64le-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz  last modified: 2021-03-11 11:53:07  size: 426 B
cache-s390x-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 11:52:35  size: 409 B

Overall size of above caches: 34.86 KiB

$ travis cache -r Siddhesh-Ghadi/travis-cache --com -d
DANGER ZONE: Do you really want to delete all caches? |no| yes
Deleted the following caches:

On branch main:
cache-amd64-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 12:04:57  size: 386 B
cache-ppc64le-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz  last modified: 2021-03-11 12:05:01  size: 375 B
cache-s390x-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 12:04:26  size: 355 B

On branch pip-cache:
cache-amd64-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 11:53:38  size: 32.96 KiB
cache-ppc64le-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz  last modified: 2021-03-11 11:53:07  size: 426 B
cache-s390x-linux-bionic-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-default--gemfile-Gemfile.tgz    last modified: 2021-03-11 11:52:35  size: 409 B

Overall size of above caches: 34.86 KiB

$ travis cache -r Siddhesh-Ghadi/travis-cache --com
no caches found
1 Like