Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-282

packer failure on private cloud: E: Cache is out of sync, can't x-ref a package file

Issue XMLXMLWordPrintable

    • RELENG Sprint 2
    • My Project Is Not Listed

      Image is created on the public cloud while this fails only on the private cloud.

      https://logs.opendaylight.org/releng/jenkins092/builder-merge-packer-ubuntu-14.04-gbp/87/packer/packer-build.log.gz

      11:04:40 ==> public_cloud: Terminating the source server: 1aafb16e-d1c9-4cf0-ae5b-4e4f833bca7d ...
      11:04:43 ==> public_cloud: Deleting temporary keypair: packer 595e1236-9b7d-925d-96fe-b07915d37771 ...
      11:04:44 Build 'public_cloud' finished.
      11:04:44
      11:04:44 ==> Some builds didn't complete successfully and had errors:
      11:04:44 --> private_cloud: Script exited with non-zero exit status: 100
      11:04:44
      11:04:44 ==> Builds finished. The artifacts of successful builds are:
      11:04:44 --> public_cloud: An image was created: 6a099f1e-5d9f-4c23-804f-32ae55b7fb7d
      11:04:44 Build step 'Execute shell' marked build as failure

      2017/07/06 10:22:46 ui: private_cloud: ++ dpkg-query -W '-f=${Status}' facter
      2017/07/06 10:22:46 ui: private_cloud: + '[' 0 -eq 0 ']'
      2017/07/06 10:22:46 ui: private_cloud: + apt-cache policy facter
      2017/07/06 10:22:47 ui: private_cloud: facter:
      2017/07/06 10:22:47 ui: private_cloud: E: Cache is out of sync, can't x-ref a package file
      2017/07/06 10:22:47 packer.io: 2017/07/06 10:22:47 Remote command exited with '100': chmod +x /tmp/script_9543.sh; if [ "$UID" == "0" ]; then PACKER_BUILD_NAME='private_cloud' PACKER_BUILDER_TYPE='openstack' '/tmp/script_9543.sh'; else PACKER_BUILD_NAME='private_cloud' PACKER_BUILDER_TYPE='openstack' sudo -E '/tmp/script_9543.sh'; fi
      2017/07/06 10:22:47 packer.io: 2017/07/06 10:22:47 [INFO] RPC endpoint: Communicator ended with: 100
      2017/07/06 10:22:47 [INFO] 204 bytes written for 'stdout'
      2017/07/06 10:22:47 [INFO] RPC client: Communicator ended with: 100
      2017/07/06 10:22:47 [INFO] RPC endpoint: Communicator ended with: 100

              askb Anil Belur
              askb Anil Belur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: