delphix/appliance-build

Failed to update apt cache

sdimitro opened this issue · 1 comments

This issue is similar to #316 , but instead of the Sources being different size we have an issue with the Packages.

06:14:16  <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/ubuntu/.ansible/tmp/ansible-tmp-1572416039.42-240810913427497/ > /dev/null 2>&1 && sleep 0'
06:14:16  fatal: [localhost]: FAILED! => {
06:14:16      "changed": false, 
06:14:16      "invocation": {
06:14:16          "module_args": {
06:14:16              "allow_unauthenticated": false, 
06:14:16              "autoclean": false, 
06:14:16              "autoremove": false, 
06:14:16              "cache_valid_time": 0, 
06:14:16              "deb": null, 
06:14:16              "default_release": null, 
06:14:16              "dpkg_options": "force-confdef,force-confold", 
06:14:16              "force": false, 
06:14:16              "force_apt_get": false, 
06:14:16              "install_recommends": null, 
06:14:16              "only_upgrade": false, 
06:14:16              "package": null, 
06:14:16              "purge": false, 
06:14:16              "state": "present", 
06:14:16              "update_cache": true, 
06:14:16              "upgrade": null
06:14:16          }
06:14:16      }, 
06:14:16      "msg": "Failed to update apt cache: E:Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/universe/binary-amd64/Packages.xz  File has unexpected size (616544 != 616680). Mirror sync in progress? [IP: 91.189.88.173 80]\nHashes of expected file:\n - Filesize:616680 [weak]\n - SHA256:8359514d8f9409e0952f0b5c3b391d6d87e8692c1d64ba15c2a6c0e4a01e70fd\n - SHA1:460a80f03a5c449f83166422b3b2a26c7271f54e [weak]\n - MD5Sum:34dbfdd5fd419c4acec571a4bff3235c [weak]\nRelease file created at: Wed, 30 Oct 2019 05:00:44 +0000\n, E:Some index files failed to download. They have been ignored, or old ones used instead."

http://ops.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-stage1/job/master/job/post-push/22971/execution/node/66/log/

Closing this as we are not relying on external archives anymore.