Skip to content

Instantly share code, notes, and snippets.

@DI-DaveGoodine
Created November 15, 2019 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DI-DaveGoodine/1e46356b6f40a5e9c61b6c043b47ab84 to your computer and use it in GitHub Desktop.
Save DI-DaveGoodine/1e46356b6f40a5e9c61b6c043b47ab84 to your computer and use it in GitHub Desktop.
part of jenkins console log for packer build - vmware iso not found
16:19:28 Started by upstream project "nomad-client-ubuntu-16.04-amd64-packer-build" build number 31
16:19:28 originally caused by:
16:19:28 Started by user Dave Goodine
16:19:28 Running as SYSTEM
16:19:28 [EnvInject] - Loading node environment variables.
16:19:28 [EnvInject] - Preparing an environment for the build.
16:19:28 [EnvInject] - Keeping Jenkins system variables.
16:19:28 [EnvInject] - Keeping Jenkins build variables.
16:19:30 [EnvInject] - Injecting contributions.
16:19:30 Building remotely on docker-000uonu44k1aa on docker-openstack (packer) in workspace /home/jenkins/workspace/packer-build
16:19:47 Wiping out workspace first.
16:19:47 Cloning the remote Git repository
16:19:47 Cloning repository ssh://git@git.drillinginfo.com/SRE/packer.git
16:19:48 > git init /home/jenkins/workspace/packer-build # timeout=10
16:19:48 Fetching upstream changes from ssh://git@git.drillinginfo.com/SRE/packer.git
16:19:48 > git --version # timeout=10
16:19:48 > git fetch --tags --progress ssh://git@git.drillinginfo.com/SRE/packer.git +refs/heads/*:refs/remotes/origin/*
16:19:48 > git config remote.origin.url ssh://git@git.drillinginfo.com/SRE/packer.git # timeout=10
16:19:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
16:19:48 > git config remote.origin.url ssh://git@git.drillinginfo.com/SRE/packer.git # timeout=10
16:19:48 Fetching upstream changes from ssh://git@git.drillinginfo.com/SRE/packer.git
16:19:48 > git fetch --tags --progress ssh://git@git.drillinginfo.com/SRE/packer.git +refs/heads/*:refs/remotes/origin/*
16:19:49 > git rev-parse origin/sre-3720_increase-file-limits^{commit} # timeout=10
16:19:49 Checking out Revision 9b3b43e67c199ef23614d51bd7b70cf71d59b51e (origin/sre-3720_increase-file-limits)
16:19:49 > git config core.sparsecheckout # timeout=10
16:19:49 > git checkout -f 9b3b43e67c199ef23614d51bd7b70cf71d59b51e
16:19:55 Commit message: "unset region_kms_key_ids"
16:19:55 > git rev-list --no-walk 9b3b43e67c199ef23614d51bd7b70cf71d59b51e # timeout=10
16:19:56 [packer-build] $ /bin/bash -eux /tmp/jenkins7725479102489284043.sh
16:19:56 + export CHEF_ENCRYPTED_DATA_BAG_SECRET=****
16:19:56 + CHEF_ENCRYPTED_DATA_BAG_SECRET=****
16:19:56 + export TF_VAR_vsphere_server=aus2-vmw-vc01v.drillinginfo.com
16:19:56 + TF_VAR_vsphere_server=aus2-vmw-vc01v.drillinginfo.com
16:19:56 + export VMWARE_SSH_PRIVATE_KEY_FILE=****
16:19:56 + VMWARE_SSH_PRIVATE_KEY_FILE=****
16:19:56 + export 'VSPHERE_USERNAME=****'
16:19:56 + VSPHERE_USERNAME='****'
16:19:56 + export VSPHERE_PASSWORD=****
16:19:56 + VSPHERE_PASSWORD=****
16:19:56 + cd terraform
16:19:56 + terraform init
16:19:56
16:19:56 Initializing the backend...
16:19:57
16:19:57 Successfully configured the backend "s3"! Terraform will automatically
16:19:57 use this backend unless the backend configuration changes.
16:19:58
16:19:58 Initializing provider plugins...
16:19:58 - Checking for available provider plugins on https://releases.hashicorp.com...
16:19:58 - Downloading plugin for provider "vsphere" (1.13.0)...
16:19:59 - Downloading plugin for provider "random" (2.2.1)...
16:19:59
16:19:59 The following providers do not have any version constraints in configuration,
16:19:59 so the latest version was installed.
16:19:59
16:19:59 To prevent automatic upgrades to new major versions that may contain breaking
16:19:59 changes, it is recommended to add version = "..." constraints to the
16:19:59 corresponding provider blocks in configuration, with the constraint strings
16:19:59 suggested below.
16:19:59
16:19:59 * provider.random: version = "~> 2.2"
16:19:59 * provider.vsphere: version = "~> 1.13"
16:19:59
16:19:59 Terraform has been successfully initialized!
16:19:59
16:19:59 You may now begin working with Terraform. Try running "terraform plan" to see
16:19:59 any changes that are required for your infrastructure. All Terraform commands
16:19:59 should now work.
16:19:59
16:19:59 If you ever set or change modules or backend configuration for Terraform,
16:19:59 rerun this command to reinitialize your working directory. If you forget, other
16:19:59 commands will detect it and remind you to do so if necessary.
16:19:59 + terraform apply -auto-approve
16:20:02 data.vsphere_datacenter.datacenter: Refreshing state...
16:20:02 data.vsphere_datastore.datastore: Refreshing state...
16:20:02 data.vsphere_network.network: Refreshing state...
16:20:02 data.vsphere_resource_pool.resource_pool: Refreshing state...
16:20:02 data.vsphere_virtual_machine.template: Refreshing state...
16:20:03 random_id.random: Refreshing state... (ID: 5BBpQw)
16:20:03 vsphere_virtual_machine.virtual_machine: Refreshing state... (ID: 4201ea10-1da9-b242-d572-57bee8e99c0a)
16:20:04
16:20:04 Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
16:20:04 Releasing state lock. This may take a few moments...
16:20:04
16:20:04 Outputs:
16:20:04
16:20:04 ipv4_address = 10.150.7.96
16:20:04 ++ terraform output ipv4_address
16:20:06 + export REMOTE_HOST=10.150.7.96
16:20:06 + REMOTE_HOST=10.150.7.96
16:20:06 + export 'REMOTE_PASSWORD=P@$$w0rd1!'
16:20:06 + REMOTE_PASSWORD='P@$$w0rd1!'
16:20:06 ++ echo tcp://10.150.7.66:4243
16:20:06 ++ grep -oE '(([0-9]|[0-9]{2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9]{2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])'
16:20:06 + export DOCKER_HOST=10.150.7.66
16:20:06 + DOCKER_HOST=10.150.7.66
16:20:06 + cd ../
16:20:06 + '[' all == all ']'
16:20:06 + packer build -var-file=variables/common.json -var-file=variables/nomad-client.json ubuntu-16.04-amd64.json
16:20:07 amazon-ebs output will be in this color.
16:20:07 vmware-iso output will be in this color.
16:20:07
16:20:07 Warnings for build 'vmware-iso':
16:20:07
16:20:07 * A checksum type of 'none' was specified. Since ISO files are so big,
16:20:07 a checksum is highly recommended.
16:20:07
16:20:07 ==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name
16:20:08 amazon-ebs: Found Image ID: ami-02fb1c72d81ced91a
16:20:08 ==> amazon-ebs: Creating temporary keypair: packer_5dcf2497-c424-406d-f883-b45ef3e6eddd
16:20:08 ==> vmware-iso: Retrieving ISO
16:20:08 ==> vmware-iso: Trying ubuntu-16.04.6-netboot-amd64.iso
16:20:08 ==> vmware-iso: Trying ubuntu-16.04.6-netboot-amd64.iso
16:20:08 ==> vmware-iso: Download failed source path error: stat /home/jenkins/workspace/packer-build/ubuntu-16.04.6-netboot-amd64.iso: no such file or directory
16:20:08 ==> vmware-iso: error downloading ISO: [source path error: stat /home/jenkins/workspace/packer-build/ubuntu-16.04.6-netboot-amd64.iso: no such file or directory]
16:20:08 Build 'vmware-iso' errored: error downloading ISO: [source path error: stat /home/jenkins/workspace/packer-build/ubuntu-16.04.6-netboot-amd64.iso: no such file or directory]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment