Started by user Kenny Woodson [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/jobs/acs-engine-build/workspace [WS-CLEANUP] Deleting project workspace... [workspace] $ /bin/bash /tmp/jenkins8192315098563459724.sh ########## STARTING STAGE: INSTALL THE ORIGIN-CI-TOOL ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] ++ readlink /var/lib/jenkins/origin-ci-tool/latest + latest=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 + touch /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 + cp /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin/activate /var/lib/jenkins/jobs/acs-engine-build/workspace/activate + cat + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config + mkdir -p /var/lib/jenkins/jobs/acs-engine-build/workspace/.config + rm -rf /var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool + oct configure ansible-client verbosity 2 Option verbosity updated to be 2. + oct configure aws-client keypair_name libra Option keypair_name updated to be libra. + oct configure aws-client private_key_path /var/lib/jenkins/.ssh/devenv.pem Option private_key_path updated to be /var/lib/jenkins/.ssh/devenv.pem. + set +o xtrace ########## FINISHED STAGE: SUCCESS: INSTALL THE ORIGIN-CI-TOOL [00h 00m 02s] ########## [workspace] $ /bin/bash /tmp/jenkins4586302595985343902.sh ########## STARTING STAGE: PROVISION CLOUD RESOURCES ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config + oct provision remote all-in-one --os rhel --stage base --provider aws --discrete-ssh-config --name acs-engine-build_14 PLAYBOOK: aws-up.yml *********************************************************** 2 plays in /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/aws-up.yml PLAY [ensure we have the parameters necessary to bring up the AWS EC2 instance] *** TASK [ensure all required variables are set] *********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/aws-up.yml:9 skipping: [localhost] => (item=origin_ci_inventory_dir) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.783236", "item": "origin_ci_inventory_dir", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_keypair_name) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.787190", "item": "origin_ci_aws_keypair_name", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_private_key_path) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.791051", "item": "origin_ci_aws_private_key_path", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_region) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.794642", "item": "origin_ci_aws_region", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_ami_os) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.796934", "item": "origin_ci_aws_ami_os", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_ami_stage) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.800490", "item": "origin_ci_aws_ami_stage", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_instance_name) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.804000", "item": "origin_ci_aws_instance_name", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_instance_type) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.807516", "item": "origin_ci_aws_master_instance_type", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_identifying_tag_key) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.811011", "item": "origin_ci_aws_identifying_tag_key", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_hostname) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.814556", "item": "origin_ci_aws_hostname", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_ssh_config_strategy) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.818086", "item": "origin_ci_ssh_config_strategy", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=openshift_schedulable) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.821383", "item": "openshift_schedulable", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=openshift_node_labels) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.825402", "item": "openshift_node_labels", "skip_reason": "Conditional check failed", "skipped": true } TASK [ensure all required variables are set] *********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/aws-up.yml:28 skipping: [localhost] => (item=origin_ci_aws_master_subnet) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.869769", "item": "origin_ci_aws_master_subnet", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_etcd_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.876030", "item": "origin_ci_aws_etcd_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_node_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.882109", "item": "origin_ci_aws_node_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.886972", "item": "origin_ci_aws_master_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_external_elb_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.893029", "item": "origin_ci_aws_master_external_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_internal_elb_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.899182", "item": "origin_ci_aws_master_internal_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_router_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.904078", "item": "origin_ci_aws_router_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_router_elb_security_group) => { "changed": false, "generated_timestamp": "2018-04-05 16:13:03.910623", "item": "origin_ci_aws_router_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } PLAY [provision an AWS EC2 instance] ******************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [inventory : initialize the inventory directory] ************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:2 ok: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:13:04.695070", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory", "secontext": "system_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 997 } TASK [inventory : add the nested group mapping] ******************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:7 changed: [localhost] => { "changed": true, "checksum": "18aaee00994df38cc3a63b635893175235331a9c", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/nested_group_mappings", "generated_timestamp": "2018-04-05 16:13:05.187131", "gid": 995, "group": "jenkins", "md5sum": "b30c3226ea63efa3ff9c5e346c14a16e", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 93, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959184.95-181156718232761/source", "state": "file", "uid": 997 } TASK [inventory : initialize the OSEv3 group variables directory] ************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:12 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:13:05.363508", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/group_vars/OSEv3", "secontext": "system_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 997 } TASK [inventory : initialize the host variables directory] ********************* task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:17 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:13:05.534476", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/host_vars", "secontext": "system_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 997 } TASK [inventory : add the default Origin installation configuration] *********** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:22 changed: [localhost] => { "changed": true, "checksum": "4c06ba508f055c20f13426e8587342e8765a7b66", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/group_vars/OSEv3/general.yml", "generated_timestamp": "2018-04-05 16:13:05.833763", "gid": 995, "group": "jenkins", "md5sum": "8aec71c75f7d512b278ae7c6f2959b12", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 331, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959185.7-121483474181811/source", "state": "file", "uid": 997 } TASK [aws-up : determine if we are inside AWS EC2] ***************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:2 changed: [localhost] => { "changed": true, "cmd": [ "curl", "-s", "http://instance-data.ec2.internal" ], "delta": "0:00:00.012146", "end": "2018-04-05 16:13:06.063328", "failed": false, "failed_when_result": false, "generated_timestamp": "2018-04-05 16:13:06.080276", "rc": 0, "start": "2018-04-05 16:13:06.051182", "stderr": [], "stdout": [ "1.0", "2007-01-19", "2007-03-01", "2007-08-29", "2007-10-10", "2007-12-15", "2008-02-01", "2008-09-01", "2009-04-04", "2011-01-01", "2011-05-01", "2012-01-12", "2014-02-25", "2014-11-05", "2015-10-20", "2016-04-19", "2016-06-30", "2016-09-02", "latest" ], "warnings": [ "Consider using get_url or uri module rather than running curl" ] } [WARNING]: Consider using get_url or uri module rather than running curl TASK [aws-up : configure EC2 parameters for inventory when controlling from inside EC2] *** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:7 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_destination_variable": "private_dns_name", "origin_ci_aws_host_address_variable": "private_ip", "origin_ci_aws_vpc_destination_variable": "private_ip_address" }, "changed": false, "generated_timestamp": "2018-04-05 16:13:06.123392" } TASK [aws-up : determine where to put the AWS API cache] *********************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:14 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_cache_dir": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ec2_cache" }, "changed": false, "generated_timestamp": "2018-04-05 16:13:06.165788" } TASK [aws-up : ensure we have a place to put the AWS API cache] **************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:18 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:13:06.332882", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ec2_cache", "secontext": "system_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 997 } TASK [aws-up : place the EC2 dynamic inventory script] ************************* task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:23 changed: [localhost] => { "changed": true, "checksum": "625b8af723189db3b96ba0026d0f997a0025bc47", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/ec2.py", "generated_timestamp": "2018-04-05 16:13:06.643009", "gid": 995, "group": "jenkins", "md5sum": "cac06c14065dac74904232b89d4ba24c", "mode": "0755", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 63725, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959186.51-107385155656097/source", "state": "file", "uid": 997 } TASK [aws-up : place the EC2 dynamic inventory configuration] ****************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:29 changed: [localhost] => { "changed": true, "checksum": "0e57f06ed65cecbd65b070cd4465042a914be2f4", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/ec2.ini", "generated_timestamp": "2018-04-05 16:13:06.948807", "gid": 995, "group": "jenkins", "md5sum": "778e2e64ea67041afd058f87195ee4be", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 354, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959186.68-269511035784546/source", "state": "file", "uid": 997 } TASK [aws-up : place the EC2 tag to group mappings] **************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:34 changed: [localhost] => { "changed": true, "checksum": "b4205a33dc73f62bd4f77f35d045cf8e09ae62b0", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/tag_to_group_mappings", "generated_timestamp": "2018-04-05 16:13:07.250633", "gid": 995, "group": "jenkins", "md5sum": "bc3a567a1b6f342e1005182efc1b66be", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 287, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959187.11-141511296915781/source", "state": "file", "uid": 997 } TASK [aws-up : list available AMIs] ******************************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:40 ok: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:13:49.036221", "results": [ { "ami_id": "ami-091038c2724a8834e", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-09042843a5714b710", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-03b526946b77517ea", "volume_type": "gp2" } }, "creationDate": "2018-03-05T18:40:09.000Z", "description": "OpenShift Origin development AMI on rhel at the base stage.", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_611", "name": "ami_build_origin_int_rhel_base_611", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_611", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" }, { "ami_id": "ami-069c0ca6cc091e8fa", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-0d20c69b20a8b3f3d", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-012e3422f546895da", "volume_type": "gp2" } }, "creationDate": "2018-03-08T22:39:48.000Z", "description": "OpenShift Origin development AMI on rhel at the base stage.", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_618", "name": "ami_build_origin_int_rhel_base_618", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_618", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" } ] } TASK [aws-up : choose appropriate AMIs for use] ******************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:52 ok: [localhost] => (item={u'ami_id': u'ami-091038c2724a8834e', u'root_device_type': u'ebs', u'description': u'OpenShift Origin development AMI on rhel at the base stage.', u'tags': {u'ready': u'yes', u'image_stage': u'base', u'Name': u'ami_build_origin_int_rhel_base_611', u'operating_system': u'rhel'}, u'hypervisor': u'xen', u'block_device_mapping': {u'/dev/sdb': {u'encrypted': False, u'snapshot_id': u'snap-03b526946b77517ea', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 50}, u'/dev/sda1': {u'encrypted': False, u'snapshot_id': u'snap-09042843a5714b710', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 75}}, u'architecture': u'x86_64', u'owner_id': u'531415883065', u'platform': None, u'state': u'available', u'location': u'531415883065/ami_build_origin_int_rhel_base_611', u'is_public': False, u'creationDate': u'2018-03-05T18:40:09.000Z', u'root_device_name': u'/dev/sda1', u'virtualization_type': u'hvm', u'name': u'ami_build_origin_int_rhel_base_611'}) => { "ansible_facts": { "origin_ci_aws_ami_id_candidate": "ami-091038c2724a8834e" }, "changed": false, "generated_timestamp": "2018-04-05 16:13:49.086189", "item": { "ami_id": "ami-091038c2724a8834e", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-09042843a5714b710", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-03b526946b77517ea", "volume_type": "gp2" } }, "creationDate": "2018-03-05T18:40:09.000Z", "description": "OpenShift Origin development AMI on rhel at the base stage.", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_611", "name": "ami_build_origin_int_rhel_base_611", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_611", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" } } ok: [localhost] => (item={u'ami_id': u'ami-069c0ca6cc091e8fa', u'root_device_type': u'ebs', u'description': u'OpenShift Origin development AMI on rhel at the base stage.', u'tags': {u'ready': u'yes', u'image_stage': u'base', u'Name': u'ami_build_origin_int_rhel_base_618', u'operating_system': u'rhel'}, u'hypervisor': u'xen', u'block_device_mapping': {u'/dev/sdb': {u'encrypted': False, u'snapshot_id': u'snap-012e3422f546895da', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 50}, u'/dev/sda1': {u'encrypted': False, u'snapshot_id': u'snap-0d20c69b20a8b3f3d', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 75}}, u'architecture': u'x86_64', u'owner_id': u'531415883065', u'platform': None, u'state': u'available', u'location': u'531415883065/ami_build_origin_int_rhel_base_618', u'is_public': False, u'creationDate': u'2018-03-08T22:39:48.000Z', u'root_device_name': u'/dev/sda1', u'virtualization_type': u'hvm', u'name': u'ami_build_origin_int_rhel_base_618'}) => { "ansible_facts": { "origin_ci_aws_ami_id_candidate": "ami-069c0ca6cc091e8fa" }, "changed": false, "generated_timestamp": "2018-04-05 16:13:49.092254", "item": { "ami_id": "ami-069c0ca6cc091e8fa", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-0d20c69b20a8b3f3d", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-012e3422f546895da", "volume_type": "gp2" } }, "creationDate": "2018-03-08T22:39:48.000Z", "description": "OpenShift Origin development AMI on rhel at the base stage.", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_618", "name": "ami_build_origin_int_rhel_base_618", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_618", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" } } TASK [aws-up : determine which AMI to use] ************************************* task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:58 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_ami_id": "ami-069c0ca6cc091e8fa" }, "changed": false, "generated_timestamp": "2018-04-05 16:13:49.135128" } TASK [aws-up : determine which subnets are available] ************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:63 ok: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:13:49.697633", "subnets": [ { "availability_zone": "us-east-1d", "available_ip_address_count": 3820, "cidr_block": "172.18.0.0/20", "default_for_az": "false", "id": "subnet-cf57c596", "map_public_ip_on_launch": "true", "state": "available", "tags": { "Name": "devenv-subnet-1", "origin_ci_aws_cluster_component": "master_subnet" }, "vpc_id": "vpc-69705d0c" }, { "availability_zone": "us-east-1c", "available_ip_address_count": 4080, "cidr_block": "172.18.16.0/20", "default_for_az": "false", "id": "subnet-8bdb5ac2", "map_public_ip_on_launch": "true", "state": "available", "tags": { "Name": "devenv-subnet-2", "origin_ci_aws_cluster_component": "master_subnet" }, "vpc_id": "vpc-69705d0c" } ] } TASK [aws-up : determine which subnets to use for the master] ****************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:70 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_master_subnet_ids": [ "subnet-cf57c596", "subnet-8bdb5ac2" ] }, "changed": false, "generated_timestamp": "2018-04-05 16:13:49.745703" } TASK [aws-up : determine which security groups are available] ****************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:75 ok: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:13:50.420880", "security_groups": [ { "description": "default VPC security group", "group_id": "sg-7e73221a", "group_name": "default", "ip_permissions": [ { "ip_protocol": "-1", "ip_ranges": [], "ipv6_ranges": [], "prefix_list_ids": [], "user_id_group_pairs": [ { "group_id": "sg-7e73221a", "user_id": "531415883065" } ] }, { "from_port": 80, "ip_protocol": "tcp", "ip_ranges": [ { "cidr_ip": "54.241.19.245/32" }, { "cidr_ip": "97.65.119.184/29" }, { "cidr_ip": "107.20.219.35/32" }, { "cidr_ip": "108.166.48.153/32" }, { "cidr_ip": "212.199.177.64/27" }, { "cidr_ip": "212.72.208.162/32" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 443, "user_id_group_pairs": [] }, { "from_port": 53, "ip_protocol": "tcp", "ip_ranges": [ { "cidr_ip": "119.254.120.64/26" }, { "cidr_ip": "209.132.176.0/20" }, { "cidr_ip": "209.132.186.34/32" }, { "cidr_ip": "213.175.37.10/32" }, { "cidr_ip": "62.40.79.66/32" }, { "cidr_ip": "66.187.224.0/20" }, { "cidr_ip": "66.187.239.0/24" }, { "cidr_ip": "38.140.108.0/24" }, { "cidr_ip": "213.175.37.9/32" }, { "cidr_ip": "38.99.12.232/29" }, { "cidr_ip": "4.14.33.72/30" }, { "cidr_ip": "4.14.35.88/29" }, { "cidr_ip": "50.227.40.96/29" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 8444, "user_id_group_pairs": [] }, { "from_port": 22, "ip_protocol": "tcp", "ip_ranges": [ { "cidr_ip": "0.0.0.0/0" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 22, "user_id_group_pairs": [] }, { "from_port": 53, "ip_protocol": "udp", "ip_ranges": [ { "cidr_ip": "209.132.176.0/20" }, { "cidr_ip": "66.187.224.0/20" }, { "cidr_ip": "66.187.239.0/24" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 53, "user_id_group_pairs": [] }, { "from_port": 3389, "ip_protocol": "tcp", "ip_ranges": [ { "cidr_ip": "0.0.0.0/0" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 3389, "user_id_group_pairs": [] }, { "from_port": -1, "ip_protocol": "icmp", "ip_ranges": [ { "cidr_ip": "0.0.0.0/0" } ], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": -1, "user_id_group_pairs": [] } ], "ip_permissions_egress": [ { "ip_protocol": "-1", "ip_ranges": [ { "cidr_ip": "0.0.0.0/0" } ], "ipv6_ranges": [], "prefix_list_ids": [], "user_id_group_pairs": [] } ], "owner_id": "531415883065", "tags": { "Name": "devenv-vpc", "origin_ci_aws_cluster_component": "master_security_group" }, "vpc_id": "vpc-69705d0c" } ] } TASK [aws-up : determine which security group to use] ************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:82 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_master_security_group_ids": [ "sg-7e73221a" ] }, "changed": false, "generated_timestamp": "2018-04-05 16:13:50.468933" } TASK [aws-up : provision an AWS EC2 instance] ********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:87 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:14:07.723566", "instance_ids": [ "i-097d7d235918d2c21" ], "instances": [ { "ami_launch_index": "0", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-0e49c8182172cc817" }, "/dev/sdb": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-0104085eb5924970c" } }, "dns_name": "ec2-54-152-159-205.compute-1.amazonaws.com", "ebs_optimized": false, "groups": { "sg-7e73221a": "default" }, "hypervisor": "xen", "id": "i-097d7d235918d2c21", "image_id": "ami-069c0ca6cc091e8fa", "instance_type": "m4.xlarge", "kernel": null, "key_name": "libra", "launch_time": "2018-04-05T20:13:51.000Z", "placement": "us-east-1d", "private_dns_name": "ip-172-18-5-85.ec2.internal", "private_ip": "172.18.5.85", "public_dns_name": "ec2-54-152-159-205.compute-1.amazonaws.com", "public_ip": "54.152.159.205", "ramdisk": null, "region": "us-east-1", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "tags": { "Name": "acs-engine-build_14", "openshift_etcd": "", "openshift_master": "", "openshift_node": "" }, "tenancy": "default", "virtualization_type": "hvm" } ], "tagged_instances": [] } TASK [aws-up : determine the host address] ************************************* task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:113 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_host": "172.18.5.85" }, "changed": false, "generated_timestamp": "2018-04-05 16:14:07.771889" } TASK [aws-up : determine the default user to use for SSH] ********************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:117 skipping: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:14:07.812351", "skip_reason": "Conditional check failed", "skipped": true } TASK [aws-up : determine the default user to use for SSH] ********************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:122 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_ssh_user": "origin" }, "changed": false, "generated_timestamp": "2018-04-05 16:14:07.855562" } TASK [aws-up : update variables for the host] ********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:127 changed: [localhost] => { "changed": true, "checksum": "8d47b21f3c0c22198d145bebde9d06e3d1bd41d5", "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/host_vars/172.18.5.85.yml", "generated_timestamp": "2018-04-05 16:14:08.185136", "gid": 995, "group": "jenkins", "md5sum": "6ec984431b5fe113db869b6ac39e0b49", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 656, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1522959248.03-37424763496710/source", "state": "file", "uid": 997 } TASK [aws-up : determine where updated SSH configuration should go] ************ task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:144 ok: [localhost] => { "ansible_facts": { "origin_ci_ssh_config_files": [ "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config" ] }, "changed": false, "generated_timestamp": "2018-04-05 16:14:08.238068" } TASK [aws-up : determine where updated SSH configuration should go] ************ task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:149 skipping: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:14:08.280426", "skip_reason": "Conditional check failed", "skipped": true } TASK [aws-up : ensure the targeted SSH configuration file exists] ************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:154 changed: [localhost] => (item=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config) => { "changed": true, "dest": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config", "generated_timestamp": "2018-04-05 16:14:08.480387", "gid": 995, "group": "jenkins", "item": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 0, "state": "file", "uid": 997 } TASK [aws-up : update the SSH configuration] *********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:160 changed: [localhost] => (item=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config) => { "changed": true, "generated_timestamp": "2018-04-05 16:14:08.793885", "item": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/.ssh_config", "msg": "Block inserted" } TASK [aws-up : wait for SSH to be available] *********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:178 ok: [localhost] => { "changed": false, "elapsed": 40, "generated_timestamp": "2018-04-05 16:14:49.156797", "path": null, "port": 22, "search_regex": null, "state": "started" } PLAY RECAP ********************************************************************* localhost : ok=28 changed=13 unreachable=0 failed=0 + set +o xtrace ########## FINISHED STAGE: SUCCESS: PROVISION CLOUD RESOURCES [00h 01m 46s] ########## [workspace] $ /bin/bash /tmp/jenkins1924454286086710916.sh ########## STARTING STAGE: FORWARD PARAMETERS TO THE REMOTE HOST ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel sudo chmod o+rw /etc/environment + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''JOB_NAME=acs-engine-build'\'' >> /etc/environment' + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''BUILD_NUMBER=14'\'' >> /etc/environment' + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''GIT_URL=https://github.com/kargakis/acs-engine'\'' >> /etc/environment' + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''GIT_BRANCH=master'\'' >> /etc/environment' + set +o xtrace ########## FINISHED STAGE: SUCCESS: FORWARD PARAMETERS TO THE REMOTE HOST [00h 00m 03s] ########## [workspace] $ /bin/bash /tmp/jenkins6296037933140927450.sh ########## STARTING STAGE: BUILD ACS-ENGINE ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ mktemp + script=/tmp/tmp.LfXOSc0oeG + cat + chmod +x /tmp/tmp.LfXOSc0oeG + scp -F ./.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.LfXOSc0oeG openshiftdevel:/tmp/tmp.LfXOSc0oeG + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 14400 /tmp/tmp.LfXOSc0oeG"' + cd /home/origin + sudo yum install golang -y Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Package matching golang-1.8.3-1.el7.x86_64 already installed. Checking for update. Nothing to do + mkdir /home/origin/artifacts + mkdir /home/origin/go + export GOPATH=/home/origin/go + GOPATH=/home/origin/go + export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/origin/.local/bin:/home/origin/bin:/home/origin/go/bin + PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/origin/.local/bin:/home/origin/bin:/home/origin/go/bin + go version go version go1.9.2 linux/amd64 + mkdir -p /home/origin/go/src/github.com/Azure ~/go/src/github.com/Azure ~ + pushd /home/origin/go/src/github.com/Azure + git clone --branch master https://github.com/kargakis/acs-engine Cloning into 'acs-engine'... + cd acs-engine ++ pwd + export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/origin/.local/bin:/home/origin/bin:/home/origin/go/bin:/home/origin/go/src/github.com/Azure/acs-engine/bin + PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/origin/.local/bin:/home/origin/bin:/home/origin/go/bin:/home/origin/go/src/github.com/Azure/acs-engine/bin + make go get -u github.com/Masterminds/glide go get -u github.com/mitchellh/gox go get github.com/jteeuwen/go-bindata/... go get -u github.com/alecthomas/gometalinter gometalinter --install Installing: deadcode dupl errcheck gas goconst gocyclo goimports golint gosimple gotype gotypex ineffassign interfacer lll maligned megacheck misspell nakedret safesql staticcheck structcheck unconvert unparam unused varcheck vet go get -u github.com/onsi/ginkgo/ginkgo go generate -v `glide novendor | xargs go list` cmd/cmd_suite_test.go cmd/deploy.go cmd/deploy_test.go cmd/generate.go cmd/generate_test.go cmd/orchestrators.go cmd/orchestrators_test.go cmd/root.go cmd/scale.go cmd/upgrade.go cmd/version.go cmd/version_test.go pkg/acsengine/addons.go pkg/acsengine/azureconst.go pkg/acsengine/const.go pkg/acsengine/defaults-apiserver.go pkg/acsengine/defaults-apiserver_test.go pkg/acsengine/defaults-cloud-controller-manager.go pkg/acsengine/defaults-controller-manager.go pkg/acsengine/defaults-kubelet.go pkg/acsengine/defaults-kubelet_test.go pkg/acsengine/defaults-scheduler.go pkg/acsengine/defaults-scheduler_test.go pkg/acsengine/defaults.go pkg/acsengine/defaults_test.go pkg/acsengine/doc.go pkg/acsengine/engine.go pkg/acsengine/engine_test.go pkg/acsengine/fileloader.go templates.go pkg/acsengine/filesaver.go pkg/acsengine/k8s_versions.go pkg/acsengine/k8s_versions_test.go pkg/acsengine/output.go pkg/acsengine/pki.go pkg/acsengine/pki_test.go pkg/acsengine/ssh.go pkg/acsengine/ssh_test.go pkg/acsengine/tenantid.go pkg/acsengine/types.go pkg/acsengine/transform/json.go pkg/acsengine/transform/transform.go pkg/acsengine/transform/transform_test.go pkg/api/apiloader.go pkg/api/apiloader_test.go pkg/api/const.go pkg/api/converterfromagentpoolonlyapi.go pkg/api/converterfromagentpoolonlyapi_test.go pkg/api/converterfromapi.go pkg/api/convertertoagentpoolonlyapi.go pkg/api/convertertoagentpoolonlyapi_test.go pkg/api/convertertoapi.go pkg/api/convertertoapi_test.go pkg/api/doc.go pkg/api/orchestrators.go pkg/api/orchestrators_test.go pkg/api/strictjson.go pkg/api/strictjson_test.go pkg/api/types.go pkg/api/types_test.go pkg/api/agentPoolOnlyApi/v20170831/const.go pkg/api/agentPoolOnlyApi/v20170831/doc.go pkg/api/agentPoolOnlyApi/v20170831/types.go pkg/api/agentPoolOnlyApi/v20170831/types_test.go pkg/api/agentPoolOnlyApi/v20170831/validate.go pkg/api/agentPoolOnlyApi/v20180331/const.go pkg/api/agentPoolOnlyApi/v20180331/doc.go pkg/api/agentPoolOnlyApi/v20180331/types.go pkg/api/agentPoolOnlyApi/v20180331/types_test.go pkg/api/agentPoolOnlyApi/v20180331/validate.go pkg/api/agentPoolOnlyApi/vlabs/const.go pkg/api/agentPoolOnlyApi/vlabs/doc.go pkg/api/agentPoolOnlyApi/vlabs/types.go pkg/api/agentPoolOnlyApi/vlabs/types_test.go pkg/api/agentPoolOnlyApi/vlabs/validate.go pkg/api/common/const.go pkg/api/common/helper.go pkg/api/common/net.go pkg/api/common/net_test.go pkg/api/common/versions.go pkg/api/common/versions_test.go pkg/api/v20160330/const.go pkg/api/v20160330/doc.go pkg/api/v20160330/merge.go pkg/api/v20160330/merge_test.go pkg/api/v20160330/types.go pkg/api/v20160330/types_test.go pkg/api/v20160330/validate.go pkg/api/v20160930/const.go pkg/api/v20160930/doc.go pkg/api/v20160930/merge.go pkg/api/v20160930/merge_test.go pkg/api/v20160930/types.go pkg/api/v20160930/types_test.go pkg/api/v20160930/validate.go pkg/api/v20170131/const.go pkg/api/v20170131/doc.go pkg/api/v20170131/merge.go pkg/api/v20170131/merge_test.go pkg/api/v20170131/types.go pkg/api/v20170131/types_test.go pkg/api/v20170131/validate.go pkg/api/v20170131/validate_test.go pkg/api/v20170701/const.go pkg/api/v20170701/doc.go pkg/api/v20170701/merge.go pkg/api/v20170701/merge_test.go pkg/api/v20170701/types.go pkg/api/v20170701/types_test.go pkg/api/v20170701/validate.go pkg/api/v20170701/validate_test.go pkg/api/v20170930/const.go pkg/api/v20170930/types.go pkg/api/v20170930/validate.go pkg/api/vlabs/const.go pkg/api/vlabs/doc.go pkg/api/vlabs/merge.go pkg/api/vlabs/merge_test.go pkg/api/vlabs/orchestratorversiontypes.go pkg/api/vlabs/types.go pkg/api/vlabs/types_test.go pkg/api/vlabs/validate.go pkg/api/vlabs/validate_test.go pkg/armhelpers/azureclient.go pkg/armhelpers/compute.go pkg/armhelpers/deploymentError.go pkg/armhelpers/deploymentError_test.go pkg/armhelpers/deploymentOperations.go pkg/armhelpers/deployments.go pkg/armhelpers/disk.go pkg/armhelpers/graph.go pkg/armhelpers/groupsclient.go pkg/armhelpers/interfaces.go pkg/armhelpers/kubeclient.go pkg/armhelpers/mockclients.go pkg/armhelpers/network.go pkg/armhelpers/providers.go pkg/armhelpers/storage.go pkg/armhelpers/utils/util.go pkg/armhelpers/utils/util_test.go pkg/certgen/config.go pkg/certgen/files.go pkg/certgen/kubeconfig.go pkg/certgen/tls.go pkg/certgen/templates/templates.go pkg/filesystem/filesystem.go pkg/helpers/helpers.go pkg/helpers/helpers_test.go pkg/i18n/const.go pkg/i18n/i18n.go pkg/i18n/i18n_test.go pkg/i18n/resourceloader.go translations.go pkg/operations/cordondrainvm.go pkg/operations/cordondrainvm_test.go pkg/operations/deletevm.go pkg/operations/scaledownagentpool.go pkg/operations/scaledownagentpool_test.go pkg/operations/kubernetesupgrade/upgradeagentnode.go pkg/operations/kubernetesupgrade/upgradecluster.go pkg/operations/kubernetesupgrade/upgradecluster_test.go pkg/operations/kubernetesupgrade/upgrademasternode.go pkg/operations/kubernetesupgrade/upgrader.go pkg/operations/kubernetesupgrade/upgradeworkflow.go pkg/operations/kubernetesupgrade/v16upgrader.go pkg/operations/kubernetesupgrade/v17upgrader.go pkg/operations/kubernetesupgrade/v18upgrader.go pkg/test/util.go test/acs-engine-test/main.go test/acs-engine-test/config/config.go test/acs-engine-test/config/config_test.go test/acs-engine-test/metrics/metrics.go test/acs-engine-test/metrics/metrics_test.go test/acs-engine-test/promote/promote.go test/acs-engine-test/report/report.go test/acs-engine-test/report/report_test.go test/e2e/runner.go test/e2e/azure/cli.go test/e2e/config/config.go test/e2e/dcos/dcos.go test/e2e/dcos/dcos_suite_test.go test/e2e/dcos/dcos_test.go test/e2e/engine/cli.go test/e2e/engine/template.go test/e2e/kubernetes/config.go test/e2e/kubernetes/kubernetes_suite_test.go test/e2e/kubernetes/kubernetes_test.go test/e2e/kubernetes/deployment/deployment.go test/e2e/kubernetes/job/job.go test/e2e/kubernetes/namespace/namespace.go test/e2e/kubernetes/node/node.go test/e2e/kubernetes/persistentvolumeclaims/persistentvolumeclaims.go test/e2e/kubernetes/pod/pod.go test/e2e/kubernetes/service/service.go test/e2e/kubernetes/storageclass/storageclass.go test/e2e/kubernetes/util/util.go test/e2e/metrics/metrics.go test/e2e/remote/ssh.go test/e2e/runner/cli_provisioner.go test/e2e/runner/ginkgo.go test/i18n/i18ntestinput.go main.go GOBIN=/home/origin/go/src/github.com/Azure/acs-engine/bin go install -ldflags '-s -X main.version=f92e0b620a0935c3ae666c9999a5f57c77a90e23 -X github.com/Azure/acs-engine/pkg/test.JUnitOutDir=/home/origin/go/src/github.com/Azure/acs-engine/test/junit -X github.com/Azure/acs-engine/cmd.BuildSHA=f92e0b6 -X github.com/Azure/acs-engine/cmd.GitTreeState=clean -X github.com/Azure/acs-engine/cmd.BuildTag=canary' cd test/acs-engine-test; go build + tar czvf /home/origin/artifacts/acsengine.tar.gz bin/acs-engine bin/acs-engine + popd ~ + set +o xtrace ########## FINISHED STAGE: SUCCESS: BUILD ACS-ENGINE [00h 03m 00s] ########## [PostBuildScript] - Execution post build scripts. [workspace] $ /bin/bash /tmp/jenkins1744313398724069876.sh ########## STARTING STAGE: DOWNLOAD ARTIFACTS FROM THE REMOTE HOST ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config + trap 'exit 0' EXIT ++ pwd + ARTIFACT_DIR=/var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered + rm -rf /var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered + mkdir -p /var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel sudo stat /home/origin/artifacts File: ‘/home/origin/artifacts’ Size: 30 Blocks: 0 IO Block: 4096 directory Device: ca02h/51714d Inode: 142811785 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 1001/ origin) Gid: ( 1002/ docker) Context: unconfined_u:object_r:user_home_t:s0 Access: 2018-04-05 20:16:30.384914078 +0000 Modify: 2018-04-05 20:17:51.046034639 +0000 Change: 2018-04-05 20:17:51.046034639 +0000 Birth: - + ssh -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel sudo chmod -R o+rX /home/origin/artifacts + scp -r -F ./.config/origin-ci-tool/inventory/.ssh_config openshiftdevel:/home/origin/artifacts /var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered + tree /var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered /var/lib/jenkins/jobs/acs-engine-build/workspace/artifacts/gathered └── artifacts └── acsengine.tar.gz 1 directory, 1 file + exit 0 [workspace] $ /bin/bash /tmp/jenkins3080044935192287977.sh ########## STARTING STAGE: DEPROVISION CLOUD RESOURCES ########## + [[ -s /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ]] + source /var/lib/jenkins/jobs/acs-engine-build/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66 ++ export PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/acs-engine-build/workspace/.config + oct deprovision PLAYBOOK: main.yml ************************************************************* 4 plays in /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/main.yml PLAY [ensure we have the parameters necessary to deprovision virtual hosts] **** TASK [ensure all required variables are set] *********************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/main.yml:9 skipping: [localhost] => (item=origin_ci_inventory_dir) => { "changed": false, "generated_timestamp": "2018-04-05 16:17:55.164356", "item": "origin_ci_inventory_dir", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_region) => { "changed": false, "generated_timestamp": "2018-04-05 16:17:55.167346", "item": "origin_ci_aws_region", "skip_reason": "Conditional check failed", "skipped": true } PLAY [deprovision virtual hosts in EC2] **************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [deprovision a virtual EC2 host] ****************************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/main.yml:28 included: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/roles/aws-down/tasks/main.yml for localhost TASK [update the SSH configuration to remove AWS EC2 specifics] **************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/roles/aws-down/tasks/main.yml:2 ok: [localhost] => { "changed": false, "generated_timestamp": "2018-04-05 16:17:55.993147", "msg": "" } TASK [rename EC2 instance for termination reaper] ****************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/roles/aws-down/tasks/main.yml:8 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:17:56.557675", "msg": "Tags {'Name': 'oct-terminate'} created for resource i-097d7d235918d2c21." } TASK [tear down the EC2 instance] ********************************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/roles/aws-down/tasks/main.yml:15 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:17:57.602247", "instance_ids": [ "i-097d7d235918d2c21" ], "instances": [ { "ami_launch_index": "0", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-0e49c8182172cc817" }, "/dev/sdb": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-0104085eb5924970c" } }, "dns_name": "ec2-54-152-159-205.compute-1.amazonaws.com", "ebs_optimized": false, "groups": { "sg-7e73221a": "default" }, "hypervisor": "xen", "id": "i-097d7d235918d2c21", "image_id": "ami-069c0ca6cc091e8fa", "instance_type": "m4.xlarge", "kernel": null, "key_name": "libra", "launch_time": "2018-04-05T20:13:51.000Z", "placement": "us-east-1d", "private_dns_name": "ip-172-18-5-85.ec2.internal", "private_ip": "172.18.5.85", "public_dns_name": "ec2-54-152-159-205.compute-1.amazonaws.com", "public_ip": "54.152.159.205", "ramdisk": null, "region": "us-east-1", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "tags": { "Name": "oct-terminate", "openshift_etcd": "", "openshift_master": "", "openshift_node": "" }, "tenancy": "default", "virtualization_type": "hvm" } ], "tagged_instances": [] } TASK [remove the serialized host variables] ************************************ task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/roles/aws-down/tasks/main.yml:22 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:17:57.866134", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory/host_vars/172.18.5.85.yml", "state": "absent" } PLAY [deprovision virtual hosts locally manged by Vagrant] ********************* TASK [Gathering Facts] ********************************************************* ok: [localhost] PLAY [clean up local configuration for deprovisioned instances] **************** TASK [remove inventory configuration directory] ******************************** task path: /var/lib/jenkins/origin-ci-tool/437e1037dfc38a9b27d44a96a21bde8b638ccf66/lib/python2.7/site-packages/oct/ansible/oct/playbooks/deprovision/main.yml:61 changed: [localhost] => { "changed": true, "generated_timestamp": "2018-04-05 16:17:58.337468", "path": "/var/lib/jenkins/jobs/acs-engine-build/workspace/.config/origin-ci-tool/inventory", "state": "absent" } PLAY RECAP ********************************************************************* localhost : ok=8 changed=4 unreachable=0 failed=0 + set +o xtrace ########## FINISHED STAGE: SUCCESS: DEPROVISION CLOUD RESOURCES [00h 00m 04s] ########## Archiving artifacts Recording test results [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Finished: SUCCESS