Started by user OpenShift CI Robot Running as SYSTEM [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [workspace] $ /bin/bash /tmp/jenkins6846088307178573739.sh ########## STARTING STAGE: INSTALL THE ORIGIN-CI-TOOL ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] ++ readlink /var/lib/jenkins/origin-ci-tool/latest + latest=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f + touch /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f + cp /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin/activate /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate + cat + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + mkdir -p /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + rm -rf /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool + oct configure ansible-client verbosity 2 Option verbosity updated to be 2. + oct configure aws-client keypair_name openshift-dev Option keypair_name updated to be openshift-dev. + oct configure aws-client private_key_path /var/lib/jenkins/.ssh/openshift-dev.pem Option private_key_path updated to be /var/lib/jenkins/.ssh/openshift-dev.pem. + set +o xtrace ########## FINISHED STAGE: SUCCESS: INSTALL THE ORIGIN-CI-TOOL [00h 00m 04s] ########## [workspace] $ /bin/bash /tmp/jenkins9062102211428316783.sh ########## STARTING STAGE: PROVISION CLOUD RESOURCES ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + oct provision remote all-in-one --os rhel --stage base --provider aws --discrete-ssh-config --name test_branch_origin_cmd_2201 PLAYBOOK: aws-up.yml *********************************************************** 2 plays in /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/aws-up.yml:9 skipping: [localhost] => (item=origin_ci_aws_keypair_name) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.385037", "item": "origin_ci_aws_keypair_name", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_inventory_dir) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.387462", "item": "origin_ci_inventory_dir", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=openshift_node_labels) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.444173", "item": "openshift_node_labels", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=openshift_schedulable) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.445271", "item": "openshift_schedulable", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_ssh_config_strategy) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.446317", "item": "origin_ci_ssh_config_strategy", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_hostname) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.447380", "item": "origin_ci_aws_hostname", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_identifying_tag_key) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.448437", "item": "origin_ci_aws_identifying_tag_key", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_instance_type) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.449475", "item": "origin_ci_aws_master_instance_type", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_instance_name) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.450529", "item": "origin_ci_aws_instance_name", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_ami_tags) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.451565", "item": "origin_ci_aws_ami_tags", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_region) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.452613", "item": "origin_ci_aws_region", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_private_key_path) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.453811", "item": "origin_ci_aws_private_key_path", "skip_reason": "Conditional check failed", "skipped": true } TASK [ensure all required variables are set] *********************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/aws-up.yml:27 skipping: [localhost] => (item=origin_ci_aws_master_subnet) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.574842", "item": "origin_ci_aws_master_subnet", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_router_elb_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.644250", "item": "origin_ci_aws_router_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_router_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.645433", "item": "origin_ci_aws_router_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_internal_elb_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.646517", "item": "origin_ci_aws_master_internal_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_external_elb_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.647596", "item": "origin_ci_aws_master_external_elb_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_master_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.648670", "item": "origin_ci_aws_master_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_node_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.651618", "item": "origin_ci_aws_node_security_group", "skip_reason": "Conditional check failed", "skipped": true } skipping: [localhost] => (item=origin_ci_aws_etcd_security_group) => { "changed": false, "generated_timestamp": "2019-10-29 09:41:41.652649", "item": "origin_ci_aws_etcd_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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:2 ok: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:41:44.086679", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/nested_group_mappings", "generated_timestamp": "2019-10-29 09:41:45.384912", "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-1572356504.75-94447643539646/source", "state": "file", "uid": 997 } TASK [inventory : initialize the OSEv3 group variables directory] ************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:12 changed: [localhost] => { "changed": true, "generated_timestamp": "2019-10-29 09:41:45.827017", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/inventory/tasks/main.yml:17 changed: [localhost] => { "changed": true, "generated_timestamp": "2019-10-29 09:41:46.217494", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/group_vars/OSEv3/general.yml", "generated_timestamp": "2019-10-29 09:41:46.985848", "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-1572356506.56-132691275452288/source", "state": "file", "uid": 997 } TASK [aws-up : determine if we are inside AWS EC2] ***************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/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.052549", "end": "2019-10-29 09:41:47.629384", "failed": false, "failed_when_result": false, "generated_timestamp": "2019-10-29 09:41:47.684077", "rc": 0, "start": "2019-10-29 09:41:47.576835", "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", "2018-03-28", "2018-08-17", "2018-09-24", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/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": "2019-10-29 09:41:47.777249" } TASK [aws-up : determine where to put the AWS API cache] *********************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ec2_cache" }, "changed": false, "generated_timestamp": "2019-10-29 09:41:47.846471" } TASK [aws-up : ensure we have a place to put the AWS API cache] **************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:18 changed: [localhost] => { "changed": true, "generated_timestamp": "2019-10-29 09:41:48.319501", "gid": 995, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/ec2.py", "generated_timestamp": "2019-10-29 09:41:49.071164", "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-1572356508.73-262298429398947/source", "state": "file", "uid": 997 } TASK [aws-up : place the EC2 dynamic inventory configuration] ****************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:29 changed: [localhost] => { "changed": true, "checksum": "425da02a2f08cb9022ed76efa6b1a6217722eca8", "dest": "/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/ec2.ini", "generated_timestamp": "2019-10-29 09:41:49.820185", "gid": 995, "group": "jenkins", "md5sum": "6efeca568cf0a5465ee59a6c54ef5b96", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 368, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1572356509.14-15621460962316/source", "state": "file", "uid": 997 } TASK [aws-up : place the EC2 tag to group mappings] **************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/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/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/tag_to_group_mappings", "generated_timestamp": "2019-10-29 09:41:50.837029", "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-1572356510.25-206500485236581/source", "state": "file", "uid": 997 } TASK [aws-up : list available AMIs] ******************************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:40 ok: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:41:54.058945", "results": [ { "ami_id": "ami-0f1706d7642ffc0f4", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-02a01cc545199c15e", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-05fb15254c4029d99", "volume_type": "gp2" } }, "creationDate": "2019-10-16T21:13:30.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_2158", "name": "ami_build_origin_int_rhel_base_2158", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_2158", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" }, { "ami_id": "ami-01a9f71561742665f", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-0bace4ea1d7a4225e", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-0138bfa2d206e5160", "volume_type": "gp2" } }, "creationDate": "2019-10-18T15:43:05.000Z", "description": "ami_build_origin_int_rhel_base_2162", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_2162", "name": "ami_build_origin_int_rhel_base_2162", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_2162", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:49 ok: [localhost] => (item={u'ami_id': u'ami-01a9f71561742665f', u'root_device_type': u'ebs', u'description': u'ami_build_origin_int_rhel_base_2162', u'tags': {u'ready': u'yes', u'image_stage': u'base', u'Name': u'ami_build_origin_int_rhel_base_2162', u'operating_system': u'rhel'}, u'hypervisor': u'xen', u'block_device_mapping': {u'/dev/sdb': {u'encrypted': False, u'snapshot_id': u'snap-0138bfa2d206e5160', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 50}, u'/dev/sda1': {u'encrypted': False, u'snapshot_id': u'snap-0bace4ea1d7a4225e', 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_2162', u'is_public': False, u'creationDate': u'2019-10-18T15:43:05.000Z', u'root_device_name': u'/dev/sda1', u'virtualization_type': u'hvm', u'name': u'ami_build_origin_int_rhel_base_2162'}) => { "ansible_facts": { "origin_ci_aws_ami_id_candidate": "ami-01a9f71561742665f" }, "changed": false, "generated_timestamp": "2019-10-29 09:41:54.172749", "item": { "ami_id": "ami-01a9f71561742665f", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-0bace4ea1d7a4225e", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-0138bfa2d206e5160", "volume_type": "gp2" } }, "creationDate": "2019-10-18T15:43:05.000Z", "description": "ami_build_origin_int_rhel_base_2162", "hypervisor": "xen", "is_public": false, "location": "531415883065/ami_build_origin_int_rhel_base_2162", "name": "ami_build_origin_int_rhel_base_2162", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_2162", "image_stage": "base", "operating_system": "rhel", "ready": "yes" }, "virtualization_type": "hvm" } } ok: [localhost] => (item={u'ami_id': u'ami-0f1706d7642ffc0f4', 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'operating_system': u'rhel', u'image_stage': u'base', u'Name': u'ami_build_origin_int_rhel_base_2158'}, u'hypervisor': u'xen', u'block_device_mapping': {u'/dev/sdb': {u'encrypted': False, u'snapshot_id': u'snap-05fb15254c4029d99', u'delete_on_termination': True, u'volume_type': u'gp2', u'size': 50}, u'/dev/sda1': {u'encrypted': False, u'snapshot_id': u'snap-02a01cc545199c15e', 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_2158', u'is_public': False, u'creationDate': u'2019-10-16T21:13:30.000Z', u'root_device_name': u'/dev/sda1', u'virtualization_type': u'hvm', u'name': u'ami_build_origin_int_rhel_base_2158'}) => { "ansible_facts": { "origin_ci_aws_ami_id_candidate": "ami-0f1706d7642ffc0f4" }, "changed": false, "generated_timestamp": "2019-10-29 09:41:54.187935", "item": { "ami_id": "ami-0f1706d7642ffc0f4", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "encrypted": false, "size": 75, "snapshot_id": "snap-02a01cc545199c15e", "volume_type": "gp2" }, "/dev/sdb": { "delete_on_termination": true, "encrypted": false, "size": 50, "snapshot_id": "snap-05fb15254c4029d99", "volume_type": "gp2" } }, "creationDate": "2019-10-16T21:13:30.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_2158", "name": "ami_build_origin_int_rhel_base_2158", "owner_id": "531415883065", "platform": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "available", "tags": { "Name": "ami_build_origin_int_rhel_base_2158", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:55 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_ami_id": "ami-01a9f71561742665f" }, "changed": false, "generated_timestamp": "2019-10-29 09:41:54.278242" } TASK [aws-up : determine which subnets are available] ************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:60 ok: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:41:55.471065", "subnets": [ { "availability_zone": "us-east-1d", "available_ip_address_count": 4042, "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": 4088, "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:67 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_master_subnet_ids": [ "subnet-cf57c596", "subnet-8bdb5ac2" ] }, "changed": false, "generated_timestamp": "2019-10-29 09:41:55.555536" } TASK [aws-up : determine which security groups are available] ****************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:72 ok: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:41:57.251079", "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": 0, "ip_protocol": "udp", "ip_ranges": [], "ipv6_ranges": [], "prefix_list_ids": [], "to_port": 65535, "user_id_group_pairs": [ { "group_id": "sg-0d1a5377", "user_id": "531415883065" }, { "group_id": "sg-5875023f", "user_id": "531415883065" }, { "group_id": "sg-7e73221a", "user_id": "531415883065" }, { "group_id": "sg-e1760186", "user_id": "531415883065" } ] }, { "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", "openshift_infra": "true", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:79 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_master_security_group_ids": [ "sg-7e73221a" ] }, "changed": false, "generated_timestamp": "2019-10-29 09:41:57.398009" } TASK [aws-up : provision an AWS EC2 instance] ********************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:84 changed: [localhost] => { "changed": true, "generated_timestamp": "2019-10-29 09:42:15.221903", "instance_ids": [ "i-0e529c13395e14d1e" ], "instances": [ { "ami_launch_index": "0", "architecture": "x86_64", "block_device_mapping": { "/dev/sda1": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-08ed9b8cd202e0b05" }, "/dev/sdb": { "delete_on_termination": true, "status": "attached", "volume_id": "vol-0455ee1c306c00bab" } }, "dns_name": "ec2-35-175-239-38.compute-1.amazonaws.com", "ebs_optimized": false, "groups": { "sg-7e73221a": "default" }, "hypervisor": "xen", "id": "i-0e529c13395e14d1e", "image_id": "ami-01a9f71561742665f", "instance_type": "m4.xlarge", "kernel": null, "key_name": "openshift-dev", "launch_time": "2019-10-29T13:41:59.000Z", "placement": "us-east-1d", "private_dns_name": "ip-172-18-3-212.ec2.internal", "private_ip": "172.18.3.212", "public_dns_name": "ec2-35-175-239-38.compute-1.amazonaws.com", "public_ip": "35.175.239.38", "ramdisk": null, "region": "us-east-1", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "tags": { "Name": "test_branch_origin_cmd_2201", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:110 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_host": "172.18.3.212" }, "changed": false, "generated_timestamp": "2019-10-29 09:42:15.287235" } TASK [aws-up : determine the default user to use for SSH] ********************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:114 skipping: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:42:15.346972", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:119 ok: [localhost] => { "ansible_facts": { "origin_ci_aws_ssh_user": "origin" }, "changed": false, "generated_timestamp": "2019-10-29 09:42:15.423707" } TASK [aws-up : update variables for the host] ********************************** task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:124 changed: [localhost] => { "changed": true, "checksum": "527b73bca291aeb2206a5cfaa377e1212114129d", "dest": "/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/host_vars/172.18.3.212.yml", "generated_timestamp": "2019-10-29 09:42:16.182589", "gid": 995, "group": "jenkins", "md5sum": "cae8b46ee4cc8763f66759806c06d9ca", "mode": "0644", "owner": "jenkins", "secontext": "system_u:object_r:var_lib_t:s0", "size": 749, "src": "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1572356535.84-75643812698940/source", "state": "file", "uid": 997 } TASK [aws-up : determine where updated SSH configuration should go] ************ task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:141 ok: [localhost] => { "ansible_facts": { "origin_ci_ssh_config_files": [ "/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config" ] }, "changed": false, "generated_timestamp": "2019-10-29 09:42:16.251317" } TASK [aws-up : determine where updated SSH configuration should go] ************ task path: /var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:146 skipping: [localhost] => { "changed": false, "generated_timestamp": "2019-10-29 09:42:16.321759", "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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:151 changed: [localhost] => (item=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config) => { "changed": true, "dest": "/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config", "generated_timestamp": "2019-10-29 09:42:16.673580", "gid": 995, "group": "jenkins", "item": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:157 changed: [localhost] => (item=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config) => { "changed": true, "generated_timestamp": "2019-10-29 09:42:17.375043", "item": "/var/lib/jenkins/jobs/test_branch_origin_cmd/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/6f8991b9d2cf322fadd103555399c635aac6ce5f/lib/python2.7/site-packages/oct/ansible/oct/playbooks/provision/roles/aws-up/tasks/main.yml:175 ok: [localhost] => { "changed": false, "elapsed": 47, "generated_timestamp": "2019-10-29 09:43:04.906289", "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 25s] ########## [workspace] $ /bin/bash /tmp/jenkins4464620964098454058.sh ########## STARTING STAGE: FORWARD GCS CREDENTIALS TO REMOTE HOST ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + (( i = 0 )) + (( i < 10 )) + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /var/lib/jenkins/.config/gcloud/gcs-publisher-credentials.json openshiftdevel:/data/credentials.json + break + set +o xtrace ########## FINISHED STAGE: SUCCESS: FORWARD GCS CREDENTIALS TO REMOTE HOST [00h 00m 02s] ########## [workspace] $ /bin/bash /tmp/jenkins6334241102838632880.sh ########## STARTING STAGE: FORWARD PARAMETERS TO THE REMOTE HOST ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel sudo chmod o+rw /etc/environment + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''JOB_SPEC={"type":"postsubmit","job":"test_branch_origin_cmd","buildid":"1189175424169545729","prowjobid":"c9cc2560-fa51-11e9-88cd-0a58ac10d242","refs":{"org":"openshift","repo":"origin","base_ref":"release-3.9","base_sha":"2e78773588a3aa7b298413ac6833c1c382c5b93e","base_link":"https://github.com/openshift/origin/compare/8e36a3c15bd4...2e78773588a3"}}'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''buildId='\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''BUILD_ID=1189175424169545729'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''REPO_OWNER=openshift'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''REPO_NAME=origin'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''PULL_BASE_REF=release-3.9'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''PULL_BASE_SHA=2e78773588a3aa7b298413ac6833c1c382c5b93e'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''PULL_REFS=release-3.9:2e78773588a3aa7b298413ac6833c1c382c5b93e'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''PULL_NUMBER='\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''PULL_PULL_SHA='\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''JOB_SPEC={"type":"postsubmit","job":"test_branch_origin_cmd","buildid":"1189175424169545729","prowjobid":"c9cc2560-fa51-11e9-88cd-0a58ac10d242","refs":{"org":"openshift","repo":"origin","base_ref":"release-3.9","base_sha":"2e78773588a3aa7b298413ac6833c1c382c5b93e","base_link":"https://github.com/openshift/origin/compare/8e36a3c15bd4...2e78773588a3"}}'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''BUILD_NUMBER=2201'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''CLONEREFS_ARGS='\'' >> /etc/environment' + set +o xtrace ########## FINISHED STAGE: SUCCESS: FORWARD PARAMETERS TO THE REMOTE HOST [00h 00m 05s] ########## [workspace] $ /bin/bash /tmp/jenkins7227822057357881964.sh ########## STARTING STAGE: SYNC REPOSITORIES ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ mktemp + script=/tmp/tmp.FK36MjDfr1 + cat + chmod +x /tmp/tmp.FK36MjDfr1 + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.FK36MjDfr1 openshiftdevel:/tmp/tmp.FK36MjDfr1 + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 14400 /tmp/tmp.FK36MjDfr1"' + cd /home/origin ++ jq --compact-output '.buildid |= "2201"' + JOB_SPEC='{"type":"postsubmit","job":"test_branch_origin_cmd","buildid":"2201","prowjobid":"c9cc2560-fa51-11e9-88cd-0a58ac10d242","refs":{"org":"openshift","repo":"origin","base_ref":"release-3.9","base_sha":"2e78773588a3aa7b298413ac6833c1c382c5b93e","base_link":"https://github.com/openshift/origin/compare/8e36a3c15bd4...2e78773588a3"}}' + for image in ''\''registry.svc.ci.openshift.org/ci/clonerefs:latest'\''' ''\''registry.svc.ci.openshift.org/ci/initupload:latest'\''' + (( i = 0 )) + (( i < 5 )) + docker pull registry.svc.ci.openshift.org/ci/clonerefs:latest Trying to pull repository registry.svc.ci.openshift.org/ci/clonerefs ... latest: Pulling from registry.svc.ci.openshift.org/ci/clonerefs 1160f4abea84: Pulling fs layer be60dbe7622d: Pulling fs layer d26b76701841: Pulling fs layer db946982cb91: Pulling fs layer 3a00cbb24bdb: Pulling fs layer db946982cb91: Waiting 3a00cbb24bdb: Waiting be60dbe7622d: Verifying Checksum be60dbe7622d: Download complete 1160f4abea84: Verifying Checksum 1160f4abea84: Download complete d26b76701841: Verifying Checksum d26b76701841: Download complete db946982cb91: Verifying Checksum db946982cb91: Download complete 3a00cbb24bdb: Download complete 1160f4abea84: Pull complete be60dbe7622d: Pull complete d26b76701841: Pull complete db946982cb91: Pull complete 3a00cbb24bdb: Pull complete Digest: sha256:dac64859211c8300f80a7ab8ea1d555ca8c276ea8077017be9903ed567b98113 Status: Downloaded newer image for registry.svc.ci.openshift.org/ci/clonerefs:latest + break + for image in ''\''registry.svc.ci.openshift.org/ci/clonerefs:latest'\''' ''\''registry.svc.ci.openshift.org/ci/initupload:latest'\''' + (( i = 0 )) + (( i < 5 )) + docker pull registry.svc.ci.openshift.org/ci/initupload:latest Trying to pull repository registry.svc.ci.openshift.org/ci/initupload ... latest: Pulling from registry.svc.ci.openshift.org/ci/initupload a073c86ecf9e: Pulling fs layer cc3fc741b1a9: Pulling fs layer c8740c1e9b1f: Pulling fs layer 8e5b170ec95b: Pulling fs layer 8e5b170ec95b: Waiting a073c86ecf9e: Verifying Checksum cc3fc741b1a9: Verifying Checksum cc3fc741b1a9: Download complete c8740c1e9b1f: Verifying Checksum c8740c1e9b1f: Download complete 8e5b170ec95b: Verifying Checksum 8e5b170ec95b: Download complete a073c86ecf9e: Pull complete cc3fc741b1a9: Pull complete c8740c1e9b1f: Pull complete 8e5b170ec95b: Pull complete Digest: sha256:9c6d4b2f4b27dd4f110a88a2aefdef0d6fddd10b92181b662f9c8e0a340c5b40 Status: Downloaded newer image for registry.svc.ci.openshift.org/ci/initupload:latest + break + clonerefs_args= + docker run -v /data:/data:z registry.svc.ci.openshift.org/ci/clonerefs:latest --src-root=/data --log=/data/clone.json --repo=openshift,origin=release-3.9:2e78773588a3aa7b298413ac6833c1c382c5b93e {"component":"clonerefs","file":"prow/pod-utils/clone/clone.go:34","func":"k8s.io/test-infra/prow/pod-utils/clone.Run","level":"info","msg":"Cloning refs","refs":{"org":"openshift","repo":"origin","base_ref":"release-3.9","base_sha":"2e78773588a3aa7b298413ac6833c1c382c5b93e"},"time":"2019-10-29T13:44:05Z"} {"command":"mkdir -p /data/src/github.com/openshift/origin","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"","time":"2019-10-29T13:44:05Z"} {"command":"git init","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"Reinitialized existing shared Git repository in /data/src/github.com/openshift/origin/.git/\n","time":"2019-10-29T13:44:05Z"} {"command":"git config user.name ci-robot","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"","time":"2019-10-29T13:44:05Z"} {"command":"git config user.email ci-robot@k8s.io","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"","time":"2019-10-29T13:44:05Z"} {"command":"git fetch https://github.com/openshift/origin.git --tags --prune","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"From https://github.com/openshift/origin\n * branch HEAD -\u003e FETCH_HEAD\n","time":"2019-10-29T13:44:14Z"} {"command":"git fetch https://github.com/openshift/origin.git release-3.9","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"From https://github.com/openshift/origin\n * branch release-3.9 -\u003e FETCH_HEAD\n","time":"2019-10-29T13:44:16Z"} {"command":"git checkout 2e78773588a3aa7b298413ac6833c1c382c5b93e","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"Note: checking out '2e78773588a3aa7b298413ac6833c1c382c5b93e'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b \u003cnew-branch-name\u003e\n\nHEAD is now at 2e78773588... Merge pull request #23987 from jottofar/cve-3.9\n","time":"2019-10-29T13:45:48Z"} {"command":"git branch --force release-3.9 2e78773588a3aa7b298413ac6833c1c382c5b93e","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"","time":"2019-10-29T13:45:48Z"} {"command":"git checkout release-3.9","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"Switched to branch 'release-3.9'\n","time":"2019-10-29T13:45:49Z"} {"command":"git submodule update --init --recursive","component":"clonerefs","error":null,"file":"prow/pod-utils/clone/clone.go:42","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func1","level":"info","msg":"Ran command","output":"","time":"2019-10-29T13:45:49Z"} {"component":"clonerefs","file":"prow/cmd/clonerefs/main.go:43","func":"main.main","level":"info","msg":"Finished cloning refs","time":"2019-10-29T13:45:49Z"} + docker run -e 'JOB_SPEC={"type":"postsubmit","job":"test_branch_origin_cmd","buildid":"2201","prowjobid":"c9cc2560-fa51-11e9-88cd-0a58ac10d242","refs":{"org":"openshift","repo":"origin","base_ref":"release-3.9","base_sha":"2e78773588a3aa7b298413ac6833c1c382c5b93e","base_link":"https://github.com/openshift/origin/compare/8e36a3c15bd4...2e78773588a3"}}' -v /data:/data:z registry.svc.ci.openshift.org/ci/initupload:latest --clone-log=/data/clone.json --dry-run=false --gcs-path=gs://origin-ci-test --gcs-credentials-file=/data/credentials.json --path-strategy=single --default-org=openshift --default-repo=origin {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/clone-records.json","file":"prow/pod-utils/gcs/upload.go:64","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload","level":"info","msg":"Queued for upload","time":"2019-10-29T13:46:02Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/started.json","file":"prow/pod-utils/gcs/upload.go:64","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload","level":"info","msg":"Queued for upload","time":"2019-10-29T13:46:02Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/latest-build.txt","file":"prow/pod-utils/gcs/upload.go:64","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload","level":"info","msg":"Queued for upload","time":"2019-10-29T13:46:02Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/clone-log.txt","file":"prow/pod-utils/gcs/upload.go:64","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload","level":"info","msg":"Queued for upload","time":"2019-10-29T13:46:02Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/clone-records.json","file":"prow/pod-utils/gcs/upload.go:70","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload.func1","level":"info","msg":"Finished upload","time":"2019-10-29T13:46:03Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/clone-log.txt","file":"prow/pod-utils/gcs/upload.go:70","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload.func1","level":"info","msg":"Finished upload","time":"2019-10-29T13:46:03Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/2201/started.json","file":"prow/pod-utils/gcs/upload.go:70","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload.func1","level":"info","msg":"Finished upload","time":"2019-10-29T13:46:03Z"} {"component":"initupload","dest":"logs/test_branch_origin_cmd/latest-build.txt","file":"prow/pod-utils/gcs/upload.go:70","func":"k8s.io/test-infra/prow/pod-utils/gcs.upload.func1","level":"info","msg":"Finished upload","time":"2019-10-29T13:46:03Z"} {"component":"initupload","file":"prow/gcsupload/run.go:67","func":"k8s.io/test-infra/prow/gcsupload.Options.Run","level":"info","msg":"Finished upload to GCS","time":"2019-10-29T13:46:03Z"} + sudo chmod -R a+rwX /data + sudo chown -R origin:origin-git /data + set +o xtrace ########## FINISHED STAGE: SUCCESS: SYNC REPOSITORIES [00h 02m 56s] ########## [workspace] $ /bin/bash /tmp/jenkins8279873472157731402.sh ########## STARTING STAGE: FORWARD PARAMETERS TO THE REMOTE HOST ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel sudo chmod o+rw /etc/environment + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''JOB_NAME=test_branch_origin_cmd'\'' >> /etc/environment' + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config openshiftdevel 'echo '\''BUILD_NUMBER=2201'\'' >> /etc/environment' + set +o xtrace ########## FINISHED STAGE: SUCCESS: FORWARD PARAMETERS TO THE REMOTE HOST [00h 00m 01s] ########## [workspace] $ /bin/bash /tmp/jenkins8603414547397148369.sh ########## STARTING STAGE: USE A RAMDISK FOR ETCD ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ mktemp + script=/tmp/tmp.JSENH9UdIQ + cat + chmod +x /tmp/tmp.JSENH9UdIQ + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.JSENH9UdIQ openshiftdevel:/tmp/tmp.JSENH9UdIQ + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 300 /tmp/tmp.JSENH9UdIQ"' + cd /home/origin + sudo su root + set +o xtrace ########## FINISHED STAGE: SUCCESS: USE A RAMDISK FOR ETCD [00h 00m 01s] ########## [workspace] $ /bin/bash /tmp/jenkins1193060883261509995.sh ########## STARTING STAGE: TURN OFF UNNECESSARY RPM REPOS ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ mktemp + script=/tmp/tmp.tfmIJvJMVv + cat + chmod +x /tmp/tmp.tfmIJvJMVv + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.tfmIJvJMVv openshiftdevel:/tmp/tmp.tfmIJvJMVv + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 300 /tmp/tmp.tfmIJvJMVv"' + cd /home/origin + sudo yum-config-manager --disable 'centos-paas-sig-openshift-origin*-rpms' Loaded plugins: amazon-id, rhui-lb + sudo yum-config-manager --disable 'origin-deps-rhel7*' Loaded plugins: amazon-id, rhui-lb + sudo yum-config-manager --disable 'rhel-7-server-ose*' Loaded plugins: amazon-id, rhui-lb ====================== repo: rhel-7-server-ose-3.10-rpms ======================= [rhel-7-server-ose-3.10-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.10/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.10/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.10/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.10/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.10-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.10-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.10-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.10-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.10 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.10-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.10-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.10-rpms ui_repoid_vars = releasever, basearch username = ====================== repo: rhel-7-server-ose-3.11-rpms ======================= [rhel-7-server-ose-3.11-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.11/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.11/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.11/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.11/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.11-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.11-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.11-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.11-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.11 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.11-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.11-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.11-rpms ui_repoid_vars = releasever, basearch username = ====================== repo: rhel-7-server-ose-3.12-rpms ======================= [rhel-7-server-ose-3.12-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.12/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.12/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.12/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.12/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.12-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.12-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.12-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.12-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.12 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.12-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.12-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.12-rpms ui_repoid_vars = releasever, basearch username = ======================= repo: rhel-7-server-ose-3.6-rpms ======================= [rhel-7-server-ose-3.6-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.6/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.6/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.6/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.6/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.6-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.6-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.6-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.6-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.6 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.6-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.6-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.6-rpms ui_repoid_vars = releasever, basearch username = ======================= repo: rhel-7-server-ose-3.7-rpms ======================= [rhel-7-server-ose-3.7-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.7/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.7/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.7/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.7/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.7-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.7-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.7-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.7-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.7 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.7-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.7-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.7-rpms ui_repoid_vars = releasever, basearch username = ======================= repo: rhel-7-server-ose-3.8-rpms ======================= [rhel-7-server-ose-3.8-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.8/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.8/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.8/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.8/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.8-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.8-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.8-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.8-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.8 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.8-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.8-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.8-rpms ui_repoid_vars = releasever, basearch username = ======================= repo: rhel-7-server-ose-3.9-rpms ======================= [rhel-7-server-ose-3.9-rpms] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = https://mirror.ops.rhcloud.com/enterprise/all/3.9/latest/x86_64/os, https://use-mirror1.ops.rhcloud.com/enterprise/all/3.9/latest/x86_64/os/, https://use-mirror2.ops.rhcloud.com/enterprise/all/3.9/latest/x86_64/os/, https://euw-mirror1.ops.rhcloud.com/enterprise/all/3.9/latest/x86_64/os/ cache = 0 cachedir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.9-rpms check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = False enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.9-rpms/gpgcadir gpgcakey = gpgcheck = False gpgdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.9-rpms/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted hdrdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.9-rpms/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = A repository of dependencies for Atomic OpenShift 3.9 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/rhel-7-server-ose-3.9-rpms pkgdir = /var/cache/yum/x86_64/7Server/rhel-7-server-ose-3.9-rpms/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = /var/lib/yum/client-cert.pem sslclientkey = /var/lib/yum/client-key.pem sslverify = False throttle = 0 timeout = 120.0 ui_id = rhel-7-server-ose-3.9-rpms ui_repoid_vars = releasever, basearch username = + [[ test_branch_origin_cmd == *update* ]] + set +o xtrace ########## FINISHED STAGE: SUCCESS: TURN OFF UNNECESSARY RPM REPOS [00h 00m 04s] ########## [workspace] $ /bin/bash /tmp/jenkins4520323573591332422.sh ########## STARTING STAGE: ENABLE DOCKER TESTED REPO ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ mktemp + script=/tmp/tmp.7oCh8F6egl + cat + chmod +x /tmp/tmp.7oCh8F6egl + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.7oCh8F6egl openshiftdevel:/tmp/tmp.7oCh8F6egl + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 300 /tmp/tmp.7oCh8F6egl"' + cd /home/origin + [[ release-3.9 == \m\a\s\t\e\r ]] + [[ release-3.9 == \r\e\l\e\a\s\e\-\3\.\9 ]] + sudo touch /etc/yum.repos.d/dockertested.repo + sudo chmod a+rw /etc/yum.repos.d/dockertested.repo + cat + set +o xtrace ########## FINISHED STAGE: SUCCESS: ENABLE DOCKER TESTED REPO [00h 00m 00s] ########## [workspace] $ /bin/bash /tmp/jenkins5998363873184594883.sh ########## STARTING STAGE: RUN TEST-CMD ########## + [[ -s /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ]] + source /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/activate ++ export VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ VIRTUAL_ENV=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f ++ export PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ PATH=/var/lib/jenkins/origin-ci-tool/6f8991b9d2cf322fadd103555399c635aac6ce5f/bin:/sbin:/usr/sbin:/bin:/usr/bin ++ unset PYTHON_HOME ++ export OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ OCT_CONFIG_HOME=/var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config ++ mktemp + script=/tmp/tmp.f5BpqpcnAg + cat + chmod +x /tmp/tmp.f5BpqpcnAg + scp -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config /tmp/tmp.f5BpqpcnAg openshiftdevel:/tmp/tmp.f5BpqpcnAg + ssh -F /var/lib/jenkins/jobs/test_branch_origin_cmd/workspace/.config/origin-ci-tool/inventory/.ssh_config -t openshiftdevel 'bash -l -c "timeout 14400 /tmp/tmp.f5BpqpcnAg"' + cd /data/src/github.com/openshift/origin + OS_BUILD_ENV_DOCKER_ARGS='-v /tmp/etcd:/tmp/openshift/test-cmd/etcd' + OS_TMPFS_REQUIRED=true + OS_BUILD_ENV_PULL_IMAGE=true + OS_BUILD_ENV_PRESERVE=_output/scripts + OS_BUILD_ENV_TMP_VOLUME=/tmp + hack/env JUNIT_REPORT=true make test-cmd -k [INFO] [13:46:16+0000] Pulling the openshift/origin-release:golang-1.9 image to update it... Trying to pull repository registry.access.redhat.com/openshift/origin-release ... Pulling repository registry.access.redhat.com/openshift/origin-release Trying to pull repository docker.io/openshift/origin-release ... golang-1.9: Pulling from docker.io/openshift/origin-release d8d02d457314: Pulling fs layer d66a69ea09dd: Pulling fs layer d8d02d457314: Verifying Checksum d8d02d457314: Download complete d66a69ea09dd: Verifying Checksum d66a69ea09dd: Download complete d8d02d457314: Pull complete d66a69ea09dd: Pull complete Digest: sha256:3f95cfa4458e30a32db49904446b713f0fd1a2f73e0dc69a6286e479ccf4f314 Status: Downloaded newer image for docker.io/openshift/origin-release:golang-1.9 hack/build-go.sh ++ Building go targets for linux/amd64: cmd/openshift cmd/oc cmd/oadm cmd/template-service-broker vendor/k8s.io/kubernetes/cmd/hyperkube pkg/network/sdn-cni-plugin vendor/github.com/containernetworking/plugins/plugins/ipam/host-local vendor/github.com/containernetworking/plugins/plugins/main/loopback [INFO] [13:54:06+0000] hack/build-go.sh exited with code 0 after 00h 06m 26s hack/test-util.sh [INFO] [13:54:06+0000] [CLEANUP] Cleaning up temporary directories Running hack/test-util.sh:17: executing 'exit 0' expecting success... SUCCESS after 0.014s: hack/test-util.sh:17: executing 'exit 0' expecting success There was no output from the command. There was no error output from the command. Running hack/test-util.sh:19: executing 'exit 10' expecting failure... SUCCESS after 0.016s: hack/test-util.sh:19: executing 'exit 10' expecting failure There was no output from the command. There was no error output from the command. Running hack/test-util.sh:21: executing 'printf "hello" && exit 0' expecting success and text 'hello'... SUCCESS after 0.017s: hack/test-util.sh:21: executing 'printf "hello" && exit 0' expecting success and text 'hello' Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:23: executing 'printf "hello" && exit 19' expecting failure and text 'hello'... SUCCESS after 0.019s: hack/test-util.sh:23: executing 'printf "hello" && exit 19' expecting failure and text 'hello' Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:25: executing 'echo "goodbye" && exit 0' expecting success and not text 'hello'... SUCCESS after 0.020s: hack/test-util.sh:25: executing 'echo "goodbye" && exit 0' expecting success and not text 'hello' Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:27: executing 'echo "goodbye" && exit 19' expecting failure and not text 'hello'... SUCCESS after 0.021s: hack/test-util.sh:27: executing 'echo "goodbye" && exit 19' expecting failure and not text 'hello' Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:29: executing 'exit 195' expecting exit code 195... SUCCESS after 0.016s: hack/test-util.sh:29: executing 'exit 195' expecting exit code 195 There was no output from the command. There was no error output from the command. Running hack/test-util.sh:31: executing 'echo "hello" && exit 213' expecting exit code 213 and text 'hello'... SUCCESS after 0.019s: hack/test-util.sh:31: executing 'echo "hello" && exit 213' expecting exit code 213 and text 'hello' Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:33: executing 'echo "goodbye" && exit 213' expecting exit code 213 and not text 'hello'... SUCCESS after 0.022s: hack/test-util.sh:33: executing 'echo "goodbye" && exit 213' expecting exit code 213 and not text 'hello' Standard output from the command: goodbye There was no error output from the command. positive tests: ok Running hack/test-util.sh:41: executing 'exit 1' expecting success... FAILURE after 0.009s: hack/test-util.sh:41: executing 'exit 1' expecting success: the command returned the wrong error code There was no output from the command. There was no error output from the command. Running hack/test-util.sh:45: executing 'exit 0' expecting failure... FAILURE after 0.008s: hack/test-util.sh:45: executing 'exit 0' expecting failure: the command returned the wrong error code There was no output from the command. There was no error output from the command. Running hack/test-util.sh:49: executing 'echo "goodbye" && exit 0' expecting success and text 'hello'... FAILURE after 0.011s: hack/test-util.sh:49: executing 'echo "goodbye" && exit 0' expecting success and text 'hello': the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:53: executing 'echo "hello" && exit 1' expecting success and text 'hello'... FAILURE after 0.011s: hack/test-util.sh:53: executing 'echo "hello" && exit 1' expecting success and text 'hello': the command returned the wrong error code Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:57: executing 'echo "goodbye" && exit 1' expecting success and text 'hello'... FAILURE after 0.011s: hack/test-util.sh:57: executing 'echo "goodbye" && exit 1' expecting success and text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:61: executing 'echo "goodbye" && exit 1' expecting failure and text 'hello'... FAILURE after 0.011s: hack/test-util.sh:61: executing 'echo "goodbye" && exit 1' expecting failure and text 'hello': the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:65: executing 'echo "hello" && exit 0' expecting failure and text 'hello'... FAILURE after 0.012s: hack/test-util.sh:65: executing 'echo "hello" && exit 0' expecting failure and text 'hello': the command returned the wrong error code Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:69: executing 'echo "goodbye" && exit 0' expecting failure and text 'hello'... FAILURE after 0.012s: hack/test-util.sh:69: executing 'echo "goodbye" && exit 0' expecting failure and text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:73: executing 'echo "hello" && exit 0' expecting success and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:73: executing 'echo "hello" && exit 0' expecting success and not text 'hello': the output content test failed Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:77: executing 'echo "goodbye" && exit 1' expecting success and not text 'hello'... FAILURE after 0.012s: hack/test-util.sh:77: executing 'echo "goodbye" && exit 1' expecting success and not text 'hello': the command returned the wrong error code Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:81: executing 'echo "hello" && exit 1' expecting success and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:81: executing 'echo "hello" && exit 1' expecting success and not text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:85: executing 'echo "goodbye" && exit 0' expecting failure and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:85: executing 'echo "goodbye" && exit 0' expecting failure and not text 'hello': the command returned the wrong error code Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:89: executing 'echo "hello" && exit 1' expecting failure and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:89: executing 'echo "hello" && exit 1' expecting failure and not text 'hello': the output content test failed Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:93: executing 'echo "hello" && exit 0' expecting failure and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:93: executing 'echo "hello" && exit 0' expecting failure and not text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:97: executing 'exit 1' expecting exit code 200... FAILURE after 0.008s: hack/test-util.sh:97: executing 'exit 1' expecting exit code 200: the command returned the wrong error code There was no output from the command. There was no error output from the command. Running hack/test-util.sh:101: executing 'echo "hello" && exit 0' expecting exit code 1 and text 'hello'... FAILURE after 0.012s: hack/test-util.sh:101: executing 'echo "hello" && exit 0' expecting exit code 1 and text 'hello': the command returned the wrong error code Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:105: executing 'echo "goodbye" && exit 1' expecting exit code 1 and text 'hello'... FAILURE after 0.012s: hack/test-util.sh:105: executing 'echo "goodbye" && exit 1' expecting exit code 1 and text 'hello': the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:109: executing 'echo "goodbye" && exit 0' expecting exit code 1 and text 'hello'... FAILURE after 0.012s: hack/test-util.sh:109: executing 'echo "goodbye" && exit 0' expecting exit code 1 and text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:113: executing 'echo "goodbye" && exit 0' expecting exit code 1 and not text 'hello'... FAILURE after 0.012s: hack/test-util.sh:113: executing 'echo "goodbye" && exit 0' expecting exit code 1 and not text 'hello': the command returned the wrong error code Standard output from the command: goodbye There was no error output from the command. Running hack/test-util.sh:117: executing 'echo "hello" && exit 1' expecting exit code 1 and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:117: executing 'echo "hello" && exit 1' expecting exit code 1 and not text 'hello': the output content test failed Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:121: executing 'echo "hello" && exit 0' expecting exit code 1 and not text 'hello'... FAILURE after 0.011s: hack/test-util.sh:121: executing 'echo "hello" && exit 0' expecting exit code 1 and not text 'hello': the command returned the wrong error code; the output content test failed Standard output from the command: hello There was no error output from the command. negative tests: ok Running hack/test-util.sh:132: executing 'echo "hello" | grep hello' expecting success... SUCCESS after 0.016s: hack/test-util.sh:132: executing 'echo "hello" | grep hello' expecting success Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:134: executing 'echo "-1" | xargs ls' expecting success... SUCCESS after 0.017s: hack/test-util.sh:134: executing 'echo "-1" | xargs ls' expecting success Standard output from the command: CONTRIBUTING.adoc Godeps HACKING.md LICENSE Makefile OWNERS README.md UPGRADE.md Vagrantfile _output api assets cmd contrib doc.go docs examples glide.lock glide.yaml hack images install origin.spec pkg publishing-kube-rules.yaml publishing-rules.yaml test tools vendor There was no error output from the command. Running hack/test-util.sh:138: executing 'echo $(echo "${VAR}")' expecting success and text 'hello'... SUCCESS after 0.019s: hack/test-util.sh:138: executing 'echo $(echo "${VAR}")' expecting success and text 'hello' Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:142: executing 'echo "hello"; pwd' expecting success... SUCCESS after 0.014s: hack/test-util.sh:142: executing 'echo "hello"; pwd' expecting success Standard output from the command: hello /go/src/github.com/openshift/origin There was no error output from the command. Running hack/test-util.sh:145: executing 'echo "-v marker"' expecting success and text 'v marker'... SUCCESS after 0.017s: hack/test-util.sh:145: executing 'echo "-v marker"' expecting success and text 'v marker' Standard output from the command: -v marker There was no error output from the command. Running hack/test-util.sh:148: executing 'ls "${OS_ROOT}"/hack/update-generated-co{n,m}*.sh' expecting success and text 'completions'... SUCCESS after 0.020s: hack/test-util.sh:148: executing 'ls "${OS_ROOT}"/hack/update-generated-co{n,m}*.sh' expecting success and text 'completions' Standard output from the command: /go/src/github.com/openshift/origin/hack/update-generated-completions.sh /go/src/github.com/openshift/origin/hack/update-generated-conversions.sh There was no error output from the command. Running hack/test-util.sh:150: executing 'ls "${OS_ROOT}"/hack/update-generated-co{n,m}*.sh' expecting success and text 'conversions'... SUCCESS after 0.019s: hack/test-util.sh:150: executing 'ls "${OS_ROOT}"/hack/update-generated-co{n,m}*.sh' expecting success and text 'conversions' Standard output from the command: /go/src/github.com/openshift/origin/hack/update-generated-completions.sh /go/src/github.com/openshift/origin/hack/update-generated-conversions.sh There was no error output from the command. Running hack/test-util.sh:153: executing 'if (( 1 )); then echo "hello"; fi' expecting success and text 'hello'... SUCCESS after 0.017s: hack/test-util.sh:153: executing 'if (( 1 )); then echo "hello"; fi' expecting success and text 'hello' Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:155: executing 'echo $(( 1 - 20 ))' expecting success and text '\-19'... SUCCESS after 0.017s: hack/test-util.sh:155: executing 'echo $(( 1 - 20 ))' expecting success and text '\-19' Standard output from the command: -19 There was no error output from the command. Running hack/test-util.sh:158: executing 'grep' expecting failure and text '(Usage|usage)'... SUCCESS after 0.020s: hack/test-util.sh:158: executing 'grep' expecting failure and text '(Usage|usage)' There was no output from the command. Standard error from the command: Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Running hack/test-util.sh:160: executing 'pwd 1>/dev/null' expecting success and not text '.'... SUCCESS after 0.020s: hack/test-util.sh:160: executing 'pwd 1>/dev/null' expecting success and not text '.' There was no output from the command. There was no error output from the command. Running hack/test-util.sh:162: executing 'grep 2>/dev/null' expecting failure and not text '(Usage|usage)'... SUCCESS after 0.022s: hack/test-util.sh:162: executing 'grep 2>/dev/null' expecting failure and not text '(Usage|usage)' There was no output from the command. There was no error output from the command. Running hack/test-util.sh:168: executing 'grep hello <<EOF hello EOF ' expecting success... SUCCESS after 0.016s: hack/test-util.sh:168: executing 'grep hello <<EOF hello EOF ' expecting success Standard output from the command: hello There was no error output from the command. Running hack/test-util.sh:170: executing 'grep hello <<< hello' expecting success... SUCCESS after 0.016s: hack/test-util.sh:170: executing 'grep hello <<< hello' expecting success Standard output from the command: hello There was no error output from the command. complex tests: ok output tests: ok Running hack/test-util.sh:350: executing 'current_time_millis_mod_1000' expecting any result and text 'success'; re-trying every 0s until completion or 2.000s... SUCCESS after 0.021s: hack/test-util.sh:350: executing 'current_time_millis_mod_1000' expecting any result and text 'success'; re-trying every 0s until completion or 2.000s Standard output from the command: success There was no error output from the command. Running hack/test-util.sh:353: executing 'current_time_millis_mod_1000' expecting any result and text 'typo'; re-trying every 0.2s until completion or 1.000s... FAILURE after 0.222s: hack/test-util.sh:353: executing 'current_time_millis_mod_1000' expecting any result and text 'typo'; re-trying every 0.2s until completion or 1.000s: the command timed out Standard output from the command: success Standard error from the command: Running hack/test-util.sh:357: executing 'current_time_millis_mod_1000' expecting success; re-trying every 0s until completion or 2.000s... SUCCESS after 0.017s: hack/test-util.sh:357: executing 'current_time_millis_mod_1000' expecting success; re-trying every 0s until completion or 2.000s Standard output from the command: success There was no error output from the command. Running hack/test-util.sh:360: executing 'exit 1' expecting success; re-trying every 0.2s until completion or 1.000s... FAILURE after 0.827s: hack/test-util.sh:360: executing 'exit 1' expecting success; re-trying every 0.2s until completion or 1.000s: the command timed out Standard output from the command: Standard error from the command: Running hack/test-util.sh:377: executing 'not_current_time_millis_mod_1000' expecting failure; re-trying every 0s until completion or 2.000s... SUCCESS after 0.017s: hack/test-util.sh:377: executing 'not_current_time_millis_mod_1000' expecting failure; re-trying every 0s until completion or 2.000s Standard output from the command: failure There was no error output from the command. Running hack/test-util.sh:380: executing 'exit 0' expecting failure; re-trying every 0.2s until completion or 1.000s... FAILURE after 0.827s: hack/test-util.sh:380: executing 'exit 0' expecting failure; re-trying every 0.2s until completion or 1.000s: the command timed out Standard output from the command: Standard error from the command: try_until: ok compression: ok hack/test-cmd.sh [INFO] [13:54:14+0000] [CLEANUP] Cleaning up temporary directories Logging to /go/src/github.com/openshift/origin/_output/scripts/test-cmd/logs... [WARNING] [13:54:14+0000] Expected `/tmp/openshift/test-cmd/etcd` to be mounted on `tmpfs` but found `xfs` instead. [WARNING] [13:54:14+0000] Running in permissive mode, this will be ignored. Generated new key pair as /tmp/openshift/test-cmd/openshift.local.config/master/serviceaccounts.public.key and /tmp/openshift/test-cmd/openshift.local.config/master/serviceaccounts.private.key Generating node credentials ... Created node config for 172.17.0.2 in /tmp/openshift/test-cmd/openshift.local.config/node-172.17.0.2 Wrote master config to: /tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml Running hack/test-cmd.sh:77: executing 'KUBECONFIG='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig' oc version' expecting success and not text 'did you specify the right host or port'... SUCCESS after 0.392s: hack/test-cmd.sh:77: executing 'KUBECONFIG='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig' oc version' expecting success and not text 'did you specify the right host or port' Running hack/test-cmd.sh:78: executing 'KUBECONFIG='' oc version' expecting success and not text 'Missing or incomplete configuration info'... SUCCESS after 0.387s: hack/test-cmd.sh:78: executing 'KUBECONFIG='' oc version' expecting success and not text 'Missing or incomplete configuration info' Running hack/test-cmd.sh:82: executing 'cat /tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success and text 'disabledFeatures: null'... SUCCESS after 0.018s: hack/test-cmd.sh:82: executing 'cat /tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success and text 'disabledFeatures: null' Running hack/lib/start.sh:290: executing 'oc get --raw /healthz --as system:unauthenticated --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 160.000s... SUCCESS after 13.821s: hack/lib/start.sh:290: executing 'oc get --raw /healthz --as system:unauthenticated --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 160.000s Running hack/lib/start.sh:291: executing 'oc get --raw /healthz/ready --as system:unauthenticated --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 160.000s... SUCCESS after 2.356s: hack/lib/start.sh:291: executing 'oc get --raw /healthz/ready --as system:unauthenticated --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 160.000s Running hack/lib/start.sh:292: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s... SUCCESS after 0.630s: hack/lib/start.sh:292: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s Running hack/lib/start.sh:295: executing 'oc get configmap kube-controller-manager --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s... SUCCESS after 0.494s: hack/lib/start.sh:295: executing 'oc get configmap kube-controller-manager --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s Running hack/lib/start.sh:296: executing 'oc get configmap openshift-master-controllers --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s... SUCCESS after 0.490s: hack/lib/start.sh:296: executing 'oc get configmap openshift-master-controllers --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s Running hack/lib/start.sh:297: executing 'oc get configmap kube-scheduler --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s... SUCCESS after 0.538s: hack/lib/start.sh:297: executing 'oc get configmap kube-scheduler --namespace kube-system --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s serviceaccount "registry" created clusterrolebinding "registry-registry-role" created deploymentconfig "docker-registry" created service "docker-registry" created ++ /go/src/github.com/openshift/origin/test/cmd/admin.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.726s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.265s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-admin'' expecting success... SUCCESS after 0.297s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-admin'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-admin'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.323s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-admin'; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:35: executing 'openshift start network' expecting failure and text 'kubeconfig must be set'... SUCCESS after 0.214s: test/cmd/admin.sh:35: executing 'openshift start network' expecting failure and text 'kubeconfig must be set' Running test/cmd/admin.sh:36: executing 'openshift start network --config=${NODECONFIG} --enable=kubelet' expecting failure and text 'the following components are not recognized: kubelet'... SUCCESS after 0.215s: test/cmd/admin.sh:36: executing 'openshift start network --config=${NODECONFIG} --enable=kubelet' expecting failure and text 'the following components are not recognized: kubelet' Running test/cmd/admin.sh:37: executing 'openshift start network --config=${NODECONFIG} --enable=kubelet,other' expecting failure and text 'the following components are not recognized: kubelet, other'... SUCCESS after 0.261s: test/cmd/admin.sh:37: executing 'openshift start network --config=${NODECONFIG} --enable=kubelet,other' expecting failure and text 'the following components are not recognized: kubelet, other' Running test/cmd/admin.sh:38: executing 'openshift start network --config=${NODECONFIG} --disable=other' expecting failure and text 'the following components are not recognized: other'... SUCCESS after 0.211s: test/cmd/admin.sh:38: executing 'openshift start network --config=${NODECONFIG} --disable=other' expecting failure and text 'the following components are not recognized: other' Running test/cmd/admin.sh:39: executing 'openshift start network --config=${NODECONFIG} --disable=dns,proxy,plugins' expecting failure and text 'at least one node component must be enabled \(dns, plugins, proxy\)'... SUCCESS after 0.210s: test/cmd/admin.sh:39: executing 'openshift start network --config=${NODECONFIG} --disable=dns,proxy,plugins' expecting failure and text 'at least one node component must be enabled \(dns, plugins, proxy\)' Running test/cmd/admin.sh:40: executing 'openshift start node' expecting failure and text 'kubeconfig must be set'... SUCCESS after 0.228s: test/cmd/admin.sh:40: executing 'openshift start node' expecting failure and text 'kubeconfig must be set' Running test/cmd/admin.sh:41: executing 'openshift start node --config=${NODECONFIG} --disable=other' expecting failure and text 'the following components are not recognized: other'... SUCCESS after 0.241s: test/cmd/admin.sh:41: executing 'openshift start node --config=${NODECONFIG} --disable=other' expecting failure and text 'the following components are not recognized: other' Running test/cmd/admin.sh:42: executing 'openshift start node --config=${NODECONFIG} --disable=dns,kubelet,proxy,plugins' expecting failure and text 'at least one node component must be enabled \(dns, kubelet, plugins, proxy\)'... SUCCESS after 0.250s: test/cmd/admin.sh:42: executing 'openshift start node --config=${NODECONFIG} --disable=dns,kubelet,proxy,plugins' expecting failure and text 'at least one node component must be enabled \(dns, kubelet, plugins, proxy\)' Running test/cmd/admin.sh:43: executing 'openshift start --write-config=/tmp/test --hostname=""' expecting failure and text 'error: --hostname must have a value'... SUCCESS after 0.213s: test/cmd/admin.sh:43: executing 'openshift start --write-config=/tmp/test --hostname=""' expecting failure and text 'error: --hostname must have a value' Running test/cmd/admin.sh:48: executing 'oc adm manage-node --help' expecting success and text 'Manage nodes'... SUCCESS after 0.266s: test/cmd/admin.sh:48: executing 'oc adm manage-node --help' expecting success and text 'Manage nodes' Running test/cmd/admin.sh:74: executing 'echo 'apiVersion: v1 kind: Node metadata: labels: kubernetes.io/hostname: fake-node name: fake-node spec: externalID: fake-node status: conditions: - lastHeartbeatTime: 2015-09-08T16:58:02Z lastTransitionTime: 2015-09-04T11:49:06Z reason: kubelet is posting ready status status: "True" type: Ready allocatable: cpu: "4" memory: 8010948Ki pods: "110" capacity: cpu: "4" memory: 8010948Ki pods: "110" ' | oc create -f -' expecting success... SUCCESS after 0.253s: test/cmd/admin.sh:74: executing 'echo 'apiVersion: v1 kind: Node metadata: labels: kubernetes.io/hostname: fake-node name: fake-node spec: externalID: fake-node status: conditions: - lastHeartbeatTime: 2015-09-08T16:58:02Z lastTransitionTime: 2015-09-04T11:49:06Z reason: kubelet is posting ready status status: "True" type: Ready allocatable: cpu: "4" memory: 8010948Ki pods: "110" capacity: cpu: "4" memory: 8010948Ki pods: "110" ' | oc create -f -' expecting success Running test/cmd/admin.sh:76: executing 'oc adm manage-node --selector= --schedulable=true' expecting success and text 'Ready'... SUCCESS after 0.288s: test/cmd/admin.sh:76: executing 'oc adm manage-node --selector= --schedulable=true' expecting success and text 'Ready' Running test/cmd/admin.sh:77: executing 'oc adm manage-node --selector= --schedulable=true' expecting success and not text 'SchedulingDisabled'... SUCCESS after 0.257s: test/cmd/admin.sh:77: executing 'oc adm manage-node --selector= --schedulable=true' expecting success and not text 'SchedulingDisabled' Running test/cmd/admin.sh:78: executing 'oc get node -o yaml' expecting success and not text 'unschedulable: true'... SUCCESS after 0.253s: test/cmd/admin.sh:78: executing 'oc get node -o yaml' expecting success and not text 'unschedulable: true' Running test/cmd/admin.sh:79: executing 'oc adm manage-node --selector= --schedulable=false' expecting success and text 'SchedulingDisabled'... SUCCESS after 0.270s: test/cmd/admin.sh:79: executing 'oc adm manage-node --selector= --schedulable=false' expecting success and text 'SchedulingDisabled' Running test/cmd/admin.sh:80: executing 'oc get node -o yaml' expecting success and text 'unschedulable: true'... SUCCESS after 0.251s: test/cmd/admin.sh:80: executing 'oc get node -o yaml' expecting success and text 'unschedulable: true' Running test/cmd/admin.sh:82: executing 'oc adm manage-node --list-pods --selector= -o jsonpath='{ .kind }'' expecting success and text 'List'... SUCCESS after 0.250s: test/cmd/admin.sh:82: executing 'oc adm manage-node --list-pods --selector= -o jsonpath='{ .kind }'' expecting success and text 'List' Running test/cmd/admin.sh:83: executing 'oc adm manage-node --list-pods --selector=' expecting success and text 'NAMESPACE'... SUCCESS after 0.262s: test/cmd/admin.sh:83: executing 'oc adm manage-node --list-pods --selector=' expecting success and text 'NAMESPACE' manage-node: ok Running test/cmd/admin.sh:90: executing 'oc adm ca create-master-certs --hostnames=example.com --master=' expecting failure and text 'master must be provided'... SUCCESS after 0.264s: test/cmd/admin.sh:90: executing 'oc adm ca create-master-certs --hostnames=example.com --master=' expecting failure and text 'master must be provided' Running test/cmd/admin.sh:91: executing 'oc adm ca create-master-certs --hostnames=example.com --master=example.com' expecting failure and text 'master must be a valid URL'... SUCCESS after 0.221s: test/cmd/admin.sh:91: executing 'oc adm ca create-master-certs --hostnames=example.com --master=example.com' expecting failure and text 'master must be a valid URL' Running test/cmd/admin.sh:92: executing 'oc adm ca create-master-certs --hostnames=example.com --master=https://example.com --public-master=example.com' expecting failure and text 'public master must be a valid URL'... SUCCESS after 0.207s: test/cmd/admin.sh:92: executing 'oc adm ca create-master-certs --hostnames=example.com --master=https://example.com --public-master=example.com' expecting failure and text 'public master must be a valid URL' Running test/cmd/admin.sh:95: executing 'echo -n 'secret data 1' | oc adm ca encrypt --genkey='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.encrypted'' expecting success... SUCCESS after 0.206s: test/cmd/admin.sh:95: executing 'echo -n 'secret data 1' | oc adm ca encrypt --genkey='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.encrypted'' expecting success Running test/cmd/admin.sh:96: executing 'oc adm ca decrypt --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.encrypted' --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key'' expecting success and text '^secret data 1$'... SUCCESS after 0.221s: test/cmd/admin.sh:96: executing 'oc adm ca decrypt --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.encrypted' --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key'' expecting success and text '^secret data 1$' Running test/cmd/admin.sh:99: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.data' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.encrypted'' expecting success and text 'Warning.*whitespace'... SUCCESS after 0.220s: test/cmd/admin.sh:99: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.data' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.encrypted'' expecting success and text 'Warning.*whitespace' Running test/cmd/admin.sh:100: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.encrypted' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.decrypted'' expecting success... SUCCESS after 0.199s: test/cmd/admin.sh:100: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.encrypted' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.decrypted'' expecting success Running test/cmd/admin.sh:101: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.decrypted'' expecting success... SUCCESS after 0.016s: test/cmd/admin.sh:101: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.whitespace.decrypted'' expecting success Running test/cmd/admin.sh:105: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.encrypted'' expecting success... SUCCESS after 0.203s: test/cmd/admin.sh:105: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.encrypted'' expecting success Running test/cmd/admin.sh:106: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.encrypted'' expecting success... SUCCESS after 0.198s: test/cmd/admin.sh:106: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.encrypted'' expecting success Running test/cmd/admin.sh:107: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' < '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.encrypted'' expecting success... SUCCESS after 0.276s: test/cmd/admin.sh:107: executing 'oc adm ca encrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' < '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.encrypted'' expecting success Running test/cmd/admin.sh:109: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.encrypted' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.decrypted'' expecting success... SUCCESS after 0.200s: test/cmd/admin.sh:109: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.encrypted' --out='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.decrypted'' expecting success Running test/cmd/admin.sh:110: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.encrypted' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.decrypted'' expecting success... SUCCESS after 0.202s: test/cmd/admin.sh:110: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' --in='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.encrypted' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.decrypted'' expecting success Running test/cmd/admin.sh:111: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' < '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.encrypted' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.decrypted'' expecting success... SUCCESS after 0.217s: test/cmd/admin.sh:111: executing 'oc adm ca decrypt --key='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.key' < '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.encrypted' > '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.decrypted'' expecting success Running test/cmd/admin.sh:113: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.decrypted'' expecting success... SUCCESS after 0.017s: test/cmd/admin.sh:113: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-file-out.decrypted'' expecting success Running test/cmd/admin.sh:114: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.decrypted'' expecting success... SUCCESS after 0.017s: test/cmd/admin.sh:114: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.file-in-pipe-out.decrypted'' expecting success Running test/cmd/admin.sh:115: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.decrypted'' expecting success... SUCCESS after 0.017s: test/cmd/admin.sh:115: executing 'diff '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.data' '/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/secret.pipe-in-pipe-out.decrypted'' expecting success certs: ok Running test/cmd/admin.sh:120: executing 'oc adm groups new shortoutputgroup -o name' expecting success and text 'groups/shortoutputgroup'... SUCCESS after 0.263s: test/cmd/admin.sh:120: executing 'oc adm groups new shortoutputgroup -o name' expecting success and text 'groups/shortoutputgroup' Running test/cmd/admin.sh:121: executing 'oc adm groups new shortoutputgroup' expecting failure and text 'groups.user.openshift.io "shortoutputgroup" already exists'... SUCCESS after 0.222s: test/cmd/admin.sh:121: executing 'oc adm groups new shortoutputgroup' expecting failure and text 'groups.user.openshift.io "shortoutputgroup" already exists' Running test/cmd/admin.sh:122: executing 'oc adm groups new errorgroup -o blah' expecting failure and text 'error: output format "blah" not recognized'... SUCCESS after 0.233s: test/cmd/admin.sh:122: executing 'oc adm groups new errorgroup -o blah' expecting failure and text 'error: output format "blah" not recognized' Running test/cmd/admin.sh:123: executing 'oc get groups/errorgroup' expecting failure and text 'groups.user.openshift.io "errorgroup" not found'... SUCCESS after 0.236s: test/cmd/admin.sh:123: executing 'oc get groups/errorgroup' expecting failure and text 'groups.user.openshift.io "errorgroup" not found' Running test/cmd/admin.sh:124: executing 'oc adm groups new group1 foo bar' expecting success and text 'group1.*foo, bar'... SUCCESS after 0.228s: test/cmd/admin.sh:124: executing 'oc adm groups new group1 foo bar' expecting success and text 'group1.*foo, bar' Running test/cmd/admin.sh:125: executing 'oc get groups/group1 --no-headers' expecting success and text 'foo, bar'... SUCCESS after 0.645s: test/cmd/admin.sh:125: executing 'oc get groups/group1 --no-headers' expecting success and text 'foo, bar' Running test/cmd/admin.sh:126: executing 'oc adm groups add-users group1 baz' expecting success... SUCCESS after 0.222s: test/cmd/admin.sh:126: executing 'oc adm groups add-users group1 baz' expecting success Running test/cmd/admin.sh:127: executing 'oc get groups/group1 --no-headers' expecting success and text 'baz'... SUCCESS after 0.500s: test/cmd/admin.sh:127: executing 'oc get groups/group1 --no-headers' expecting success and text 'baz' Running test/cmd/admin.sh:128: executing 'oc adm groups remove-users group1 bar' expecting success... SUCCESS after 0.244s: test/cmd/admin.sh:128: executing 'oc adm groups remove-users group1 bar' expecting success Running test/cmd/admin.sh:129: executing 'oc get groups/group1 --no-headers' expecting success and not text 'bar'... SUCCESS after 0.520s: test/cmd/admin.sh:129: executing 'oc get groups/group1 --no-headers' expecting success and not text 'bar' groups: ok Running test/cmd/admin.sh:134: executing 'oc adm policy who-can get pods' expecting success... SUCCESS after 0.234s: test/cmd/admin.sh:134: executing 'oc adm policy who-can get pods' expecting success Running test/cmd/admin.sh:135: executing 'oc adm policy who-can get pods -n default' expecting success... SUCCESS after 0.283s: test/cmd/admin.sh:135: executing 'oc adm policy who-can get pods -n default' expecting success Running test/cmd/admin.sh:136: executing 'oc adm policy who-can get pods --all-namespaces' expecting success... SUCCESS after 0.239s: test/cmd/admin.sh:136: executing 'oc adm policy who-can get pods --all-namespaces' expecting success Running test/cmd/admin.sh:138: executing 'oc adm policy who-can get Pod' expecting success and text 'Resource: pods'... SUCCESS after 0.279s: test/cmd/admin.sh:138: executing 'oc adm policy who-can get Pod' expecting success and text 'Resource: pods' Running test/cmd/admin.sh:139: executing 'oc adm policy who-can get PodASDF' expecting success and text 'Resource: PodASDF'... SUCCESS after 0.287s: test/cmd/admin.sh:139: executing 'oc adm policy who-can get PodASDF' expecting success and text 'Resource: PodASDF' Running test/cmd/admin.sh:140: executing 'oc adm policy who-can get hpa.autoscaling -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling'... SUCCESS after 0.240s: test/cmd/admin.sh:140: executing 'oc adm policy who-can get hpa.autoscaling -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling' Running test/cmd/admin.sh:141: executing 'oc adm policy who-can get hpa.v1.autoscaling -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling'... SUCCESS after 0.239s: test/cmd/admin.sh:141: executing 'oc adm policy who-can get hpa.v1.autoscaling -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling' Running test/cmd/admin.sh:142: executing 'oc adm policy who-can get hpa -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling'... SUCCESS after 0.266s: test/cmd/admin.sh:142: executing 'oc adm policy who-can get hpa -n default' expecting success and text 'Resource: horizontalpodautoscalers.autoscaling' Running test/cmd/admin.sh:144: executing 'oc adm policy add-role-to-group --rolebinding-name=cluster-admin cluster-admin system:unauthenticated' expecting success... SUCCESS after 0.213s: test/cmd/admin.sh:144: executing 'oc adm policy add-role-to-group --rolebinding-name=cluster-admin cluster-admin system:unauthenticated' expecting success Running test/cmd/admin.sh:145: executing 'oc adm policy add-role-to-user --rolebinding-name=cluster-admin cluster-admin system:no-user' expecting success... SUCCESS after 0.221s: test/cmd/admin.sh:145: executing 'oc adm policy add-role-to-user --rolebinding-name=cluster-admin cluster-admin system:no-user' expecting success Running test/cmd/admin.sh:146: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin -z fake-sa' expecting success... SUCCESS after 0.225s: test/cmd/admin.sh:146: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin -z fake-sa' expecting success Running test/cmd/admin.sh:147: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and text 'fake-sa'... SUCCESS after 0.243s: test/cmd/admin.sh:147: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and text 'fake-sa' Running test/cmd/admin.sh:148: executing 'oc adm policy remove-role-from-user admin -z fake-sa' expecting success... SUCCESS after 0.247s: test/cmd/admin.sh:148: executing 'oc adm policy remove-role-from-user admin -z fake-sa' expecting success Running test/cmd/admin.sh:149: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and not text 'fake-sa'... SUCCESS after 0.298s: test/cmd/admin.sh:149: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and not text 'fake-sa' Running test/cmd/admin.sh:150: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin -z fake-sa' expecting success... SUCCESS after 0.246s: test/cmd/admin.sh:150: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin -z fake-sa' expecting success Running test/cmd/admin.sh:151: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and text 'fake-sa'... SUCCESS after 0.238s: test/cmd/admin.sh:151: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and text 'fake-sa' Running test/cmd/admin.sh:152: executing 'oc adm policy remove-role-from-user admin system:serviceaccount:cmd-admin:fake-sa' expecting success... SUCCESS after 0.238s: test/cmd/admin.sh:152: executing 'oc adm policy remove-role-from-user admin system:serviceaccount:cmd-admin:fake-sa' expecting success Running test/cmd/admin.sh:153: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and not text 'fake-sa'... SUCCESS after 0.243s: test/cmd/admin.sh:153: executing 'oc get rolebinding/admin -o jsonpath={.subjects}' expecting success and not text 'fake-sa' Running test/cmd/admin.sh:154: executing 'oc adm policy remove-role-from-group cluster-admin system:unauthenticated' expecting success... SUCCESS after 0.224s: test/cmd/admin.sh:154: executing 'oc adm policy remove-role-from-group cluster-admin system:unauthenticated' expecting success Running test/cmd/admin.sh:155: executing 'oc adm policy remove-role-from-user cluster-admin system:no-user' expecting success... SUCCESS after 0.283s: test/cmd/admin.sh:155: executing 'oc adm policy remove-role-from-user cluster-admin system:no-user' expecting success Running test/cmd/admin.sh:156: executing 'oc adm policy remove-role-from-user admin ghost' expecting failure and text 'error: unable to find target \[ghost\]'... SUCCESS after 0.234s: test/cmd/admin.sh:156: executing 'oc adm policy remove-role-from-user admin ghost' expecting failure and text 'error: unable to find target \[ghost\]' Running test/cmd/admin.sh:157: executing 'oc adm policy remove-role-from-user admin -z ghost' expecting failure and text 'error: unable to find target \[ghost\]'... SUCCESS after 0.231s: test/cmd/admin.sh:157: executing 'oc adm policy remove-role-from-user admin -z ghost' expecting failure and text 'error: unable to find target \[ghost\]' Running test/cmd/admin.sh:158: executing 'oc adm policy remove-group system:unauthenticated' expecting success... SUCCESS after 0.228s: test/cmd/admin.sh:158: executing 'oc adm policy remove-group system:unauthenticated' expecting success Running test/cmd/admin.sh:159: executing 'oc adm policy remove-user system:no-user' expecting success... SUCCESS after 0.218s: test/cmd/admin.sh:159: executing 'oc adm policy remove-user system:no-user' expecting success Running test/cmd/admin.sh:160: executing 'oc adm policy add-cluster-role-to-group cluster-admin system:unauthenticated' expecting success... SUCCESS after 0.226s: test/cmd/admin.sh:160: executing 'oc adm policy add-cluster-role-to-group cluster-admin system:unauthenticated' expecting success Running test/cmd/admin.sh:161: executing 'oc adm policy remove-cluster-role-from-group cluster-admin system:unauthenticated' expecting success... SUCCESS after 0.236s: test/cmd/admin.sh:161: executing 'oc adm policy remove-cluster-role-from-group cluster-admin system:unauthenticated' expecting success Running test/cmd/admin.sh:162: executing 'oc adm policy add-cluster-role-to-user cluster-admin system:no-user' expecting success... SUCCESS after 0.225s: test/cmd/admin.sh:162: executing 'oc adm policy add-cluster-role-to-user cluster-admin system:no-user' expecting success Running test/cmd/admin.sh:163: executing 'oc adm policy remove-cluster-role-from-user cluster-admin system:no-user' expecting success... SUCCESS after 0.240s: test/cmd/admin.sh:163: executing 'oc adm policy remove-cluster-role-from-user cluster-admin system:no-user' expecting success Running test/cmd/admin.sh:164: executing 'oc adm policy add-role-to-user view foo' expecting success... SUCCESS after 0.222s: test/cmd/admin.sh:164: executing 'oc adm policy add-role-to-user view foo' expecting success Running test/cmd/admin.sh:165: executing 'oc adm policy add-role-to-user view bar --rolebinding-name=custom' expecting success... SUCCESS after 0.278s: test/cmd/admin.sh:165: executing 'oc adm policy add-role-to-user view bar --rolebinding-name=custom' expecting success Running test/cmd/admin.sh:166: executing 'oc adm policy add-role-to-user view baz --rolebinding-name=custom' expecting success... SUCCESS after 0.226s: test/cmd/admin.sh:166: executing 'oc adm policy add-role-to-user view baz --rolebinding-name=custom' expecting success Running test/cmd/admin.sh:167: executing 'oc get rolebinding/view -o jsonpath="{.metadata.name},{.roleRef.name},{.userNames[*]}"' expecting success and text '^view,view,foo$'... SUCCESS after 0.250s: test/cmd/admin.sh:167: executing 'oc get rolebinding/view -o jsonpath="{.metadata.name},{.roleRef.name},{.userNames[*]}"' expecting success and text '^view,view,foo$' Running test/cmd/admin.sh:168: executing 'oc get rolebinding/custom -o jsonpath="{.metadata.name},{.roleRef.name},{.userNames[*]}"' expecting success and text '^custom,view,bar baz$'... SUCCESS after 0.244s: test/cmd/admin.sh:168: executing 'oc get rolebinding/custom -o jsonpath="{.metadata.name},{.roleRef.name},{.userNames[*]}"' expecting success and text '^custom,view,bar baz$' Running test/cmd/admin.sh:169: executing 'oc adm policy add-role-to-user other fuz --rolebinding-name=custom' expecting failure and text '^error: rolebinding custom found for role view, not other$'... SUCCESS after 0.266s: test/cmd/admin.sh:169: executing 'oc adm policy add-role-to-user other fuz --rolebinding-name=custom' expecting failure and text '^error: rolebinding custom found for role view, not other$' Running test/cmd/admin.sh:171: executing 'oc adm policy add-scc-to-user privileged fake-user' expecting success... SUCCESS after 0.234s: test/cmd/admin.sh:171: executing 'oc adm policy add-scc-to-user privileged fake-user' expecting success Running test/cmd/admin.sh:172: executing 'oc get scc/privileged -o yaml' expecting success and text 'fake-user'... SUCCESS after 0.261s: test/cmd/admin.sh:172: executing 'oc get scc/privileged -o yaml' expecting success and text 'fake-user' Running test/cmd/admin.sh:173: executing 'oc adm policy add-scc-to-user privileged -z fake-sa' expecting success... SUCCESS after 0.219s: test/cmd/admin.sh:173: executing 'oc adm policy add-scc-to-user privileged -z fake-sa' expecting success Running test/cmd/admin.sh:174: executing 'oc get scc/privileged -o yaml' expecting success and text 'system:serviceaccount:cmd-admin:fake-sa'... SUCCESS after 0.243s: test/cmd/admin.sh:174: executing 'oc get scc/privileged -o yaml' expecting success and text 'system:serviceaccount:cmd-admin:fake-sa' Running test/cmd/admin.sh:175: executing 'oc adm policy add-scc-to-group privileged fake-group' expecting success... SUCCESS after 0.217s: test/cmd/admin.sh:175: executing 'oc adm policy add-scc-to-group privileged fake-group' expecting success Running test/cmd/admin.sh:176: executing 'oc get scc/privileged -o yaml' expecting success and text 'fake-group'... SUCCESS after 0.257s: test/cmd/admin.sh:176: executing 'oc get scc/privileged -o yaml' expecting success and text 'fake-group' Running test/cmd/admin.sh:177: executing 'oc adm policy remove-scc-from-user privileged fake-user' expecting success... SUCCESS after 0.221s: test/cmd/admin.sh:177: executing 'oc adm policy remove-scc-from-user privileged fake-user' expecting success Running test/cmd/admin.sh:178: executing 'oc get scc/privileged -o yaml' expecting success and not text 'fake-user'... SUCCESS after 0.268s: test/cmd/admin.sh:178: executing 'oc get scc/privileged -o yaml' expecting success and not text 'fake-user' Running test/cmd/admin.sh:179: executing 'oc adm policy remove-scc-from-user privileged -z fake-sa' expecting success... SUCCESS after 0.216s: test/cmd/admin.sh:179: executing 'oc adm policy remove-scc-from-user privileged -z fake-sa' expecting success Running test/cmd/admin.sh:180: executing 'oc get scc/privileged -o yaml' expecting success and not text 'system:serviceaccount:cmd-admin:fake-sa'... SUCCESS after 0.239s: test/cmd/admin.sh:180: executing 'oc get scc/privileged -o yaml' expecting success and not text 'system:serviceaccount:cmd-admin:fake-sa' Running test/cmd/admin.sh:181: executing 'oc adm policy remove-scc-from-group privileged fake-group' expecting success... SUCCESS after 0.227s: test/cmd/admin.sh:181: executing 'oc adm policy remove-scc-from-group privileged fake-group' expecting success Running test/cmd/admin.sh:182: executing 'oc get scc/privileged -o yaml' expecting success and not text 'fake-group'... SUCCESS after 0.236s: test/cmd/admin.sh:182: executing 'oc get scc/privileged -o yaml' expecting success and not text 'fake-group' admin-scc: ok Running test/cmd/admin.sh:187: executing 'oc delete clusterrole/cluster-status --cascade=false' expecting success... SUCCESS after 0.273s: test/cmd/admin.sh:187: executing 'oc delete clusterrole/cluster-status --cascade=false' expecting success Running test/cmd/admin.sh:188: executing 'oc get clusterrole/cluster-status' expecting failure... SUCCESS after 0.243s: test/cmd/admin.sh:188: executing 'oc get clusterrole/cluster-status' expecting failure Running test/cmd/admin.sh:189: executing 'oc adm policy reconcile-cluster-roles' expecting success... SUCCESS after 0.620s: test/cmd/admin.sh:189: executing 'oc adm policy reconcile-cluster-roles' expecting success Running test/cmd/admin.sh:190: executing 'oc get clusterrole/cluster-status' expecting failure... SUCCESS after 0.248s: test/cmd/admin.sh:190: executing 'oc get clusterrole/cluster-status' expecting failure Running test/cmd/admin.sh:191: executing 'oc adm policy reconcile-cluster-roles --confirm --loglevel=8' expecting success... SUCCESS after 1.974s: test/cmd/admin.sh:191: executing 'oc adm policy reconcile-cluster-roles --confirm --loglevel=8' expecting success Running test/cmd/admin.sh:192: executing 'oc get clusterrole/cluster-status' expecting success... SUCCESS after 0.360s: test/cmd/admin.sh:192: executing 'oc get clusterrole/cluster-status' expecting success Running test/cmd/admin.sh:194: executing 'oc delete clusterrole/cluster-status --cascade=false' expecting success... SUCCESS after 0.274s: test/cmd/admin.sh:194: executing 'oc delete clusterrole/cluster-status --cascade=false' expecting success Running test/cmd/admin.sh:195: executing 'oc get clusterrole/cluster-status' expecting failure... SUCCESS after 0.239s: test/cmd/admin.sh:195: executing 'oc get clusterrole/cluster-status' expecting failure Running test/cmd/admin.sh:196: executing 'oc adm policy reconcile-cluster-roles cluster-admin --confirm' expecting success... SUCCESS after 0.226s: test/cmd/admin.sh:196: executing 'oc adm policy reconcile-cluster-roles cluster-admin --confirm' expecting success Running test/cmd/admin.sh:197: executing 'oc get clusterrole/cluster-status' expecting failure... SUCCESS after 0.235s: test/cmd/admin.sh:197: executing 'oc get clusterrole/cluster-status' expecting failure Running test/cmd/admin.sh:198: executing 'oc adm policy reconcile-cluster-roles clusterrole/cluster-status --confirm' expecting success... SUCCESS after 0.285s: test/cmd/admin.sh:198: executing 'oc adm policy reconcile-cluster-roles clusterrole/cluster-status --confirm' expecting success Running test/cmd/admin.sh:199: executing 'oc get clusterrole/cluster-status' expecting success... SUCCESS after 0.351s: test/cmd/admin.sh:199: executing 'oc get clusterrole/cluster-status' expecting success Running test/cmd/admin.sh:202: executing 'oc replace --force -f ./test/testdata/basic-user-with-groups-without-projectrequests.yaml' expecting success... SUCCESS after 0.264s: test/cmd/admin.sh:202: executing 'oc replace --force -f ./test/testdata/basic-user-with-groups-without-projectrequests.yaml' expecting success Running test/cmd/admin.sh:204: executing 'oc annotate clusterrole/basic-user openshift.io/reconcile-protect=true' expecting success... SUCCESS after 0.257s: test/cmd/admin.sh:204: executing 'oc annotate clusterrole/basic-user openshift.io/reconcile-protect=true' expecting success Running test/cmd/admin.sh:205: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and text 'skipped: clusterrole/basic-user'... SUCCESS after 0.238s: test/cmd/admin.sh:205: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and text 'skipped: clusterrole/basic-user' Running test/cmd/admin.sh:207: executing 'oc annotate clusterrole/basic-user openshift.io/reconcile-protect=false --overwrite' expecting success... SUCCESS after 0.249s: test/cmd/admin.sh:207: executing 'oc annotate clusterrole/basic-user openshift.io/reconcile-protect=false --overwrite' expecting success Running test/cmd/admin.sh:208: executing 'oc get clusterrole/basic-user -o jsonpath="{.rules[*].resources}"' expecting success and text 'groups'... SUCCESS after 0.241s: test/cmd/admin.sh:208: executing 'oc get clusterrole/basic-user -o jsonpath="{.rules[*].resources}"' expecting success and text 'groups' Running test/cmd/admin.sh:209: executing 'oc get clusterrole/basic-user -o jsonpath="{.rules[*].resources}"' expecting success and not text 'projectrequests'... SUCCESS after 0.240s: test/cmd/admin.sh:209: executing 'oc get clusterrole/basic-user -o jsonpath="{.rules[*].resources}"' expecting success and not text 'projectrequests' Running test/cmd/admin.sh:210: executing 'oc adm policy reconcile-cluster-roles basic-user -o jsonpath="{.items[*].rules[*].resources}" --additive-only=false' expecting success and not text 'groups'... SUCCESS after 0.284s: test/cmd/admin.sh:210: executing 'oc adm policy reconcile-cluster-roles basic-user -o jsonpath="{.items[*].rules[*].resources}" --additive-only=false' expecting success and not text 'groups' Running test/cmd/admin.sh:211: executing 'oc adm policy reconcile-cluster-roles basic-user -o jsonpath="{.items[*].rules[*].resources}" --additive-only=false' expecting success and text 'projectrequests'... SUCCESS after 0.251s: test/cmd/admin.sh:211: executing 'oc adm policy reconcile-cluster-roles basic-user -o jsonpath="{.items[*].rules[*].resources}" --additive-only=false' expecting success and text 'projectrequests' Running test/cmd/admin.sh:213: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and text 'clusterrole/basic-user'... SUCCESS after 0.237s: test/cmd/admin.sh:213: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and text 'clusterrole/basic-user' Running test/cmd/admin.sh:215: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and not text 'clusterrole/basic-user'... SUCCESS after 0.222s: test/cmd/admin.sh:215: executing 'oc adm policy reconcile-cluster-roles basic-user --additive-only=false --confirm' expecting success and not text 'clusterrole/basic-user' Running test/cmd/admin.sh:218: executing 'oc replace --force -f ./test/testdata/basic-user-with-annotations-labels-groups-without-projectrequests.yaml' expecting success... SUCCESS after 1.316s: test/cmd/admin.sh:218: executing 'oc replace --force -f ./test/testdata/basic-user-with-annotations-labels-groups-without-projectrequests.yaml' expecting success Running test/cmd/admin.sh:220: executing 'oc adm policy reconcile-cluster-roles' expecting success and text 'custom-label'... SUCCESS after 0.609s: test/cmd/admin.sh:220: executing 'oc adm policy reconcile-cluster-roles' expecting success and text 'custom-label' Running test/cmd/admin.sh:221: executing 'oc adm policy reconcile-cluster-roles' expecting success and text 'custom-annotation'... SUCCESS after 2.222s: test/cmd/admin.sh:221: executing 'oc adm policy reconcile-cluster-roles' expecting success and text 'custom-annotation' Running test/cmd/admin.sh:222: executing 'oc adm policy reconcile-cluster-roles --additive-only --confirm' expecting success and text 'clusterrole/basic-user'... SUCCESS after 2.333s: test/cmd/admin.sh:222: executing 'oc adm policy reconcile-cluster-roles --additive-only --confirm' expecting success and text 'clusterrole/basic-user' Running test/cmd/admin.sh:224: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'custom-label'... SUCCESS after 0.341s: test/cmd/admin.sh:224: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'custom-label' Running test/cmd/admin.sh:225: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'custom-annotation'... SUCCESS after 0.260s: test/cmd/admin.sh:225: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'custom-annotation' Running test/cmd/admin.sh:226: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'groups'... SUCCESS after 0.247s: test/cmd/admin.sh:226: executing 'oc get clusterroles/basic-user -o json' expecting success and text 'groups' Running test/cmd/admin.sh:227: executing 'oc adm policy reconcile-cluster-roles --additive-only=false --confirm' expecting success... SUCCESS after 1.632s: test/cmd/admin.sh:227: executing 'oc adm policy reconcile-cluster-roles --additive-only=false --confirm' expecting success Running test/cmd/admin.sh:228: executing 'oc get clusterroles/basic-user -o yaml' expecting success and not text 'groups'... SUCCESS after 0.241s: test/cmd/admin.sh:228: executing 'oc get clusterroles/basic-user -o yaml' expecting success and not text 'groups' admin-reconcile-cluster-roles: ok Running test/cmd/admin.sh:234: executing 'oc delete clusterrolebinding/cluster-status-binding' expecting success... SUCCESS after 0.241s: test/cmd/admin.sh:234: executing 'oc delete clusterrolebinding/cluster-status-binding' expecting success Running test/cmd/admin.sh:235: executing 'oc get clusterrolebinding/cluster-status-binding' expecting failure... SUCCESS after 0.236s: test/cmd/admin.sh:235: executing 'oc get clusterrolebinding/cluster-status-binding' expecting failure Running test/cmd/admin.sh:236: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success... SUCCESS after 0.632s: test/cmd/admin.sh:236: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success Running test/cmd/admin.sh:237: executing 'oc get clusterrolebinding/cluster-status-binding' expecting failure... SUCCESS after 0.236s: test/cmd/admin.sh:237: executing 'oc get clusterrolebinding/cluster-status-binding' expecting failure Running test/cmd/admin.sh:238: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success... SUCCESS after 1.243s: test/cmd/admin.sh:238: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success Running test/cmd/admin.sh:239: executing 'oc get clusterrolebinding/cluster-status-binding' expecting success... SUCCESS after 0.536s: test/cmd/admin.sh:239: executing 'oc get clusterrolebinding/cluster-status-binding' expecting success Running test/cmd/admin.sh:241: executing 'oc replace --force -f ./test/testdata/basic-users-binding.json' expecting success... SUCCESS after 1.262s: test/cmd/admin.sh:241: executing 'oc replace --force -f ./test/testdata/basic-users-binding.json' expecting success Running test/cmd/admin.sh:243: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success and text 'custom-label'... SUCCESS after 0.434s: test/cmd/admin.sh:243: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success and text 'custom-label' Running test/cmd/admin.sh:244: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success and text 'custom-annotation'... SUCCESS after 0.627s: test/cmd/admin.sh:244: executing 'oc adm policy reconcile-cluster-role-bindings' expecting success and text 'custom-annotation' Running test/cmd/admin.sh:245: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success... SUCCESS after 1.444s: test/cmd/admin.sh:245: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success Running test/cmd/admin.sh:247: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-label'... SUCCESS after 0.285s: test/cmd/admin.sh:247: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-label' Running test/cmd/admin.sh:248: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-annotation'... SUCCESS after 0.237s: test/cmd/admin.sh:248: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-annotation' Running test/cmd/admin.sh:249: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-user'... SUCCESS after 0.249s: test/cmd/admin.sh:249: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and text 'custom-user' Running test/cmd/admin.sh:251: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and not text 'cluster-status'... SUCCESS after 0.262s: test/cmd/admin.sh:251: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and not text 'cluster-status' Running test/cmd/admin.sh:253: executing 'oc adm policy reconcile-cluster-role-bindings --additive-only=false --confirm' expecting success... SUCCESS after 0.549s: test/cmd/admin.sh:253: executing 'oc adm policy reconcile-cluster-role-bindings --additive-only=false --confirm' expecting success Running test/cmd/admin.sh:254: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and not text 'custom-user'... SUCCESS after 0.243s: test/cmd/admin.sh:254: executing 'oc get clusterrolebindings/basic-users -o json' expecting success and not text 'custom-user' Running test/cmd/admin.sh:256: executing 'oc delete clusterrolebinding/basic-users' expecting success... SUCCESS after 0.247s: test/cmd/admin.sh:256: executing 'oc delete clusterrolebinding/basic-users' expecting success Running test/cmd/admin.sh:257: executing 'oc get clusterrolebinding/basic-users' expecting failure... SUCCESS after 0.287s: test/cmd/admin.sh:257: executing 'oc get clusterrolebinding/basic-users' expecting failure Running test/cmd/admin.sh:258: executing 'oc adm policy reconcile-cluster-role-bindings cluster-admin --confirm' expecting success... SUCCESS after 0.234s: test/cmd/admin.sh:258: executing 'oc adm policy reconcile-cluster-role-bindings cluster-admin --confirm' expecting success Running test/cmd/admin.sh:259: executing 'oc get clusterrolebinding/basic-users' expecting failure... SUCCESS after 0.238s: test/cmd/admin.sh:259: executing 'oc get clusterrolebinding/basic-users' expecting failure Running test/cmd/admin.sh:260: executing 'oc adm policy reconcile-cluster-role-bindings basic-user --confirm' expecting success... SUCCESS after 0.225s: test/cmd/admin.sh:260: executing 'oc adm policy reconcile-cluster-role-bindings basic-user --confirm' expecting success Running test/cmd/admin.sh:261: executing 'oc get clusterrolebinding/basic-users' expecting success... SUCCESS after 0.396s: test/cmd/admin.sh:261: executing 'oc get clusterrolebinding/basic-users' expecting success admin-reconcile-cluster-role-bindings: ok Running test/cmd/admin.sh:266: executing 'oc process -f test/extended/testdata/roles/policy-roles.yaml -v NAMESPACE='cmd-admin' | oc create -f -' expecting success... SUCCESS after 0.317s: test/cmd/admin.sh:266: executing 'oc process -f test/extended/testdata/roles/policy-roles.yaml -v NAMESPACE='cmd-admin' | oc create -f -' expecting success Running test/cmd/admin.sh:267: executing 'oc get rolebinding/basic-users' expecting success... SUCCESS after 0.374s: test/cmd/admin.sh:267: executing 'oc get rolebinding/basic-users' expecting success Running test/cmd/admin.sh:268: executing 'oc delete role/basic-user' expecting success... SUCCESS after 0.302s: test/cmd/admin.sh:268: executing 'oc delete role/basic-user' expecting success Running test/cmd/admin.sh:269: executing 'oc get rolebinding/basic-users' expecting failure... SUCCESS after 0.244s: test/cmd/admin.sh:269: executing 'oc get rolebinding/basic-users' expecting failure Running test/cmd/admin.sh:270: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success... SUCCESS after 0.246s: test/cmd/admin.sh:270: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success Running test/cmd/admin.sh:271: executing 'oc get clusterrolebinding/basic-users2' expecting success... SUCCESS after 0.362s: test/cmd/admin.sh:271: executing 'oc get clusterrolebinding/basic-users2' expecting success Running test/cmd/admin.sh:272: executing 'oc delete clusterrole/basic-user2' expecting success... SUCCESS after 0.259s: test/cmd/admin.sh:272: executing 'oc delete clusterrole/basic-user2' expecting success Running test/cmd/admin.sh:273: executing 'oc get clusterrolebinding/basic-users2' expecting failure... SUCCESS after 0.238s: test/cmd/admin.sh:273: executing 'oc get clusterrolebinding/basic-users2' expecting failure Running test/cmd/admin.sh:274: executing 'oc policy add-role-to-user edit foo' expecting success... SUCCESS after 0.248s: test/cmd/admin.sh:274: executing 'oc policy add-role-to-user edit foo' expecting success Running test/cmd/admin.sh:275: executing 'oc get rolebinding/edit' expecting success... SUCCESS after 0.373s: test/cmd/admin.sh:275: executing 'oc get rolebinding/edit' expecting success Running test/cmd/admin.sh:276: executing 'oc delete clusterrole/edit' expecting success... SUCCESS after 0.257s: test/cmd/admin.sh:276: executing 'oc delete clusterrole/edit' expecting success Running test/cmd/admin.sh:277: executing 'oc get rolebinding/edit' expecting failure... SUCCESS after 0.237s: test/cmd/admin.sh:277: executing 'oc get rolebinding/edit' expecting failure Running test/cmd/admin.sh:278: executing 'oc adm policy reconcile-cluster-roles --confirm' expecting success... SUCCESS after 0.624s: test/cmd/admin.sh:278: executing 'oc adm policy reconcile-cluster-roles --confirm' expecting success Running test/cmd/admin.sh:279: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success... SUCCESS after 1.410s: test/cmd/admin.sh:279: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success admin-role-reapers: ok Running test/cmd/admin.sh:284: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success... SUCCESS after 0.247s: test/cmd/admin.sh:284: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success Running test/cmd/admin.sh:285: executing 'oc get clusterrole/basic-user2' expecting success... SUCCESS after 0.375s: test/cmd/admin.sh:285: executing 'oc get clusterrole/basic-user2' expecting success Running test/cmd/admin.sh:286: executing 'oc label clusterrole/basic-user2 foo=bar' expecting success... SUCCESS after 0.249s: test/cmd/admin.sh:286: executing 'oc label clusterrole/basic-user2 foo=bar' expecting success Running test/cmd/admin.sh:287: executing 'oc get clusterroles --selector=foo=bar' expecting success and not text 'No resources found'... SUCCESS after 0.379s: test/cmd/admin.sh:287: executing 'oc get clusterroles --selector=foo=bar' expecting success and not text 'No resources found' Running test/cmd/admin.sh:288: executing 'oc get clusterroles --selector=foo=unknown' expecting success and text 'No resources found'... SUCCESS after 0.268s: test/cmd/admin.sh:288: executing 'oc get clusterroles --selector=foo=unknown' expecting success and text 'No resources found' Running test/cmd/admin.sh:289: executing 'oc get clusterrolebinding/basic-users2' expecting success... SUCCESS after 0.451s: test/cmd/admin.sh:289: executing 'oc get clusterrolebinding/basic-users2' expecting success Running test/cmd/admin.sh:290: executing 'oc label clusterrolebinding/basic-users2 foo=bar' expecting success... SUCCESS after 0.258s: test/cmd/admin.sh:290: executing 'oc label clusterrolebinding/basic-users2 foo=bar' expecting success Running test/cmd/admin.sh:291: executing 'oc get clusterrolebindings --selector=foo=bar' expecting success and not text 'No resources found'... SUCCESS after 0.375s: test/cmd/admin.sh:291: executing 'oc get clusterrolebindings --selector=foo=bar' expecting success and not text 'No resources found' Running test/cmd/admin.sh:292: executing 'oc get clusterroles --selector=foo=unknown' expecting success and text 'No resources found'... SUCCESS after 0.245s: test/cmd/admin.sh:292: executing 'oc get clusterroles --selector=foo=unknown' expecting success and text 'No resources found' Running test/cmd/admin.sh:293: executing 'oc delete clusterrole/basic-user2' expecting success... SUCCESS after 0.259s: test/cmd/admin.sh:293: executing 'oc delete clusterrole/basic-user2' expecting success admin-role-selectors: ok Running test/cmd/admin.sh:300: executing 'oc adm new-project ui-test-project --admin="createuser"' expecting success... SUCCESS after 0.296s: test/cmd/admin.sh:300: executing 'oc adm new-project ui-test-project --admin="createuser"' expecting success Running test/cmd/admin.sh:301: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin adduser -n ui-test-project' expecting success... SUCCESS after 0.241s: test/cmd/admin.sh:301: executing 'oc adm policy add-role-to-user --rolebinding-name=admin admin adduser -n ui-test-project' expecting success Running test/cmd/admin.sh:303: executing 'oc get projects' expecting any result and text 'ui\-test\-project'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.362s: test/cmd/admin.sh:303: executing 'oc get projects' expecting any result and text 'ui\-test\-project'; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:305: executing 'oc get rolebinding admin -n ui-test-project -o jsonpath='{.subjects[*].name}'' expecting success and text '^createuser adduser$'... SUCCESS after 0.249s: test/cmd/admin.sh:305: executing 'oc get rolebinding admin -n ui-test-project -o jsonpath='{.subjects[*].name}'' expecting success and text '^createuser adduser$' ui-project-commands: ok Running test/cmd/admin.sh:311: executing 'oc adm new-project recreated-project --admin="createuser1"' expecting success... SUCCESS after 0.392s: test/cmd/admin.sh:311: executing 'oc adm new-project recreated-project --admin="createuser1"' expecting success Running test/cmd/admin.sh:312: executing 'oc delete project recreated-project' expecting success... SUCCESS after 0.248s: test/cmd/admin.sh:312: executing 'oc delete project recreated-project' expecting success Running test/cmd/admin.sh:313: executing 'oc get project recreated-project' expecting failure; re-trying every 0.2s until completion or 60.000s... SUCCESS after 5.640s: test/cmd/admin.sh:313: executing 'oc get project recreated-project' expecting failure; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:314: executing 'oc adm new-project recreated-project --admin="createuser2"' expecting success... SUCCESS after 0.339s: test/cmd/admin.sh:314: executing 'oc adm new-project recreated-project --admin="createuser2"' expecting success Running test/cmd/admin.sh:315: executing 'oc get rolebinding admin -n recreated-project -o jsonpath='{.subjects[*].name}'' expecting success and text '^createuser2$'... SUCCESS after 0.250s: test/cmd/admin.sh:315: executing 'oc get rolebinding admin -n recreated-project -o jsonpath='{.subjects[*].name}'' expecting success and text '^createuser2$' new-project: ok Running test/cmd/admin.sh:321: executing 'oc adm router --dry-run' expecting failure and text 'does not exist'... SUCCESS after 0.281s: test/cmd/admin.sh:321: executing 'oc adm router --dry-run' expecting failure and text 'does not exist' Running test/cmd/admin.sh:322: executing 'oc adm policy add-scc-to-user privileged system:serviceaccount:default:router' expecting success... SUCCESS after 0.220s: test/cmd/admin.sh:322: executing 'oc adm policy add-scc-to-user privileged system:serviceaccount:default:router' expecting success Running test/cmd/admin.sh:323: executing 'oc adm router -o yaml --service-account=router -n default' expecting success and text 'image:.*\-haproxy\-router:'... SUCCESS after 0.254s: test/cmd/admin.sh:323: executing 'oc adm router -o yaml --service-account=router -n default' expecting success and text 'image:.*\-haproxy\-router:' Running test/cmd/admin.sh:324: executing 'oc adm router --images='openshift/origin-${component}:latest' --service-account=router -n default' expecting success... SUCCESS after 0.305s: test/cmd/admin.sh:324: executing 'oc adm router --images='openshift/origin-${component}:latest' --service-account=router -n default' expecting success Running test/cmd/admin.sh:325: executing 'oc adm router -n default' expecting success and text 'service exists'... SUCCESS after 0.256s: test/cmd/admin.sh:325: executing 'oc adm router -n default' expecting success and text 'service exists' Running test/cmd/admin.sh:326: executing 'oc get dc/router -o yaml -n default' expecting success and text 'readinessProbe'... SUCCESS after 0.240s: test/cmd/admin.sh:326: executing 'oc get dc/router -o yaml -n default' expecting success and text 'readinessProbe' router: ok Running test/cmd/admin.sh:332: executing 'oc delete clusterrolebinding/registry-registry-role' expecting success... SUCCESS after 0.257s: test/cmd/admin.sh:332: executing 'oc delete clusterrolebinding/registry-registry-role' expecting success Running test/cmd/admin.sh:333: executing 'oc adm registry --daemonset --dry-run' expecting failure and text 'does not exist'... SUCCESS after 0.242s: test/cmd/admin.sh:333: executing 'oc adm registry --daemonset --dry-run' expecting failure and text 'does not exist' Running test/cmd/admin.sh:334: executing 'oc adm registry --daemonset -o yaml' expecting success and text 'DaemonSet'... SUCCESS after 0.275s: test/cmd/admin.sh:334: executing 'oc adm registry --daemonset -o yaml' expecting success and text 'DaemonSet' Running test/cmd/admin.sh:335: executing 'oc adm registry --daemonset --images='openshift/origin-${component}:latest'' expecting success... SUCCESS after 0.290s: test/cmd/admin.sh:335: executing 'oc adm registry --daemonset --images='openshift/origin-${component}:latest'' expecting success Running test/cmd/admin.sh:336: executing 'oc adm registry --daemonset' expecting success and text 'service exists'... SUCCESS after 0.249s: test/cmd/admin.sh:336: executing 'oc adm registry --daemonset' expecting success and text 'service exists' Running test/cmd/admin.sh:337: executing 'oc get ds/docker-registry --template="{{.status.desiredNumberScheduled}}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.254s: test/cmd/admin.sh:337: executing 'oc get ds/docker-registry --template="{{.status.desiredNumberScheduled}}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:339: executing 'oc adm registry --daemonset -o yaml | oc delete -f - -ncmd-admin --cascade=false' expecting success... SUCCESS after 0.461s: test/cmd/admin.sh:339: executing 'oc adm registry --daemonset -o yaml | oc delete -f - -ncmd-admin --cascade=false' expecting success registry daemonset: ok Running test/cmd/admin.sh:343: executing 'oc adm registry --dry-run' expecting failure and text 'does not exist'... SUCCESS after 0.275s: test/cmd/admin.sh:343: executing 'oc adm registry --dry-run' expecting failure and text 'does not exist' Running test/cmd/admin.sh:344: executing 'oc adm registry -o yaml' expecting success and text 'image:.*\-docker\-registry'... SUCCESS after 0.252s: test/cmd/admin.sh:344: executing 'oc adm registry -o yaml' expecting success and text 'image:.*\-docker\-registry' Running test/cmd/admin.sh:345: executing 'oc adm registry --images='openshift/origin-${component}:latest'' expecting success... SUCCESS after 0.337s: test/cmd/admin.sh:345: executing 'oc adm registry --images='openshift/origin-${component}:latest'' expecting success Running test/cmd/admin.sh:346: executing 'oc adm registry' expecting success and text 'service exists'... SUCCESS after 0.233s: test/cmd/admin.sh:346: executing 'oc adm registry' expecting success and text 'service exists' Running test/cmd/admin.sh:347: executing 'oc describe svc/docker-registry' expecting success and text 'Session Affinity:\s*ClientIP'... SUCCESS after 0.289s: test/cmd/admin.sh:347: executing 'oc describe svc/docker-registry' expecting success and text 'Session Affinity:\s*ClientIP' Running test/cmd/admin.sh:348: executing 'oc get dc/docker-registry -o yaml' expecting success and text 'readinessProbe'... SUCCESS after 0.262s: test/cmd/admin.sh:348: executing 'oc get dc/docker-registry -o yaml' expecting success and text 'readinessProbe' Running test/cmd/admin.sh:349: executing 'oc env --list dc/docker-registry' expecting success and text 'REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA=false'... SUCCESS after 0.243s: test/cmd/admin.sh:349: executing 'oc env --list dc/docker-registry' expecting success and text 'REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA=false' registry: ok Running test/cmd/admin.sh:355: executing 'oc adm registry -o yaml > /tmp/tmp.Gy750xUEyo/oadm_registry.yaml' expecting success... SUCCESS after 0.244s: test/cmd/admin.sh:355: executing 'oc adm registry -o yaml > /tmp/tmp.Gy750xUEyo/oadm_registry.yaml' expecting success Running test/cmd/admin.sh:357: executing 'oc apply -f /tmp/tmp.Gy750xUEyo/oadm_registry.yaml' expecting success... SUCCESS after 0.466s: test/cmd/admin.sh:357: executing 'oc apply -f /tmp/tmp.Gy750xUEyo/oadm_registry.yaml' expecting success Running test/cmd/admin.sh:358: executing 'oc get dc/docker-registry -o yaml' expecting success and text '6000'... SUCCESS after 0.239s: test/cmd/admin.sh:358: executing 'oc get dc/docker-registry -o yaml' expecting success and text '6000' apply: ok Running test/cmd/admin.sh:364: executing 'oc process -f examples/sample-app/application-template-stibuild.json -l build=sti | oc create -f -' expecting success... SUCCESS after 0.433s: test/cmd/admin.sh:364: executing 'oc process -f examples/sample-app/application-template-stibuild.json -l build=sti | oc create -f -' expecting success Running test/cmd/admin.sh:367: executing 'oc adm build-chain istag/origin-ruby-sample' expecting success and text 'istag/origin-ruby-sample:latest'... SUCCESS after 0.244s: test/cmd/admin.sh:367: executing 'oc adm build-chain istag/origin-ruby-sample' expecting success and text 'istag/origin-ruby-sample:latest' Running test/cmd/admin.sh:368: executing 'oc adm build-chain ruby-22-centos7 -o dot' expecting success and text 'digraph "ruby-22-centos7:latest"'... SUCCESS after 0.261s: test/cmd/admin.sh:368: executing 'oc adm build-chain ruby-22-centos7 -o dot' expecting success and text 'digraph "ruby-22-centos7:latest"' Running test/cmd/admin.sh:369: executing 'oc delete all -l build=sti' expecting success... SUCCESS after 2.557s: test/cmd/admin.sh:369: executing 'oc delete all -l build=sti' expecting success ex build-chain: ok Running test/cmd/admin.sh:375: executing 'grep -r "clusterIP.*172" test/testdata/app-scenarios' expecting failure... SUCCESS after 0.033s: test/cmd/admin.sh:375: executing 'grep -r "clusterIP.*172" test/testdata/app-scenarios' expecting failure Running test/cmd/admin.sh:376: executing 'oc adm new-project example --admin="createuser"' expecting success... SUCCESS after 0.341s: test/cmd/admin.sh:376: executing 'oc adm new-project example --admin="createuser"' expecting success Running test/cmd/admin.sh:377: executing 'oc project example' expecting success... SUCCESS after 0.262s: test/cmd/admin.sh:377: executing 'oc project example' expecting success Running test/cmd/admin.sh:378: executing 'oc get serviceaccount default' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.361s: test/cmd/admin.sh:378: executing 'oc get serviceaccount default' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:379: executing 'oc create -f test/testdata/app-scenarios' expecting success... SUCCESS after 1.004s: test/cmd/admin.sh:379: executing 'oc create -f test/testdata/app-scenarios' expecting success Running test/cmd/admin.sh:380: executing 'oc status' expecting success... SUCCESS after 0.250s: test/cmd/admin.sh:380: executing 'oc status' expecting success Running test/cmd/admin.sh:381: executing 'oc status -o dot' expecting success and text '"example"'... SUCCESS after 0.282s: test/cmd/admin.sh:381: executing 'oc status -o dot' expecting success and text '"example"' complex-scenarios: ok Running test/cmd/admin.sh:387: executing 'oc delete scc/restricted' expecting success... SUCCESS after 0.290s: test/cmd/admin.sh:387: executing 'oc delete scc/restricted' expecting success Running test/cmd/admin.sh:388: executing 'oc get scc/restricted' expecting failure... SUCCESS after 0.251s: test/cmd/admin.sh:388: executing 'oc get scc/restricted' expecting failure Running test/cmd/admin.sh:389: executing 'oc adm policy reconcile-sccs' expecting success... SUCCESS after 0.264s: test/cmd/admin.sh:389: executing 'oc adm policy reconcile-sccs' expecting success Running test/cmd/admin.sh:390: executing 'oc get scc/restricted' expecting failure... SUCCESS after 0.259s: test/cmd/admin.sh:390: executing 'oc get scc/restricted' expecting failure Running test/cmd/admin.sh:391: executing 'oc adm policy reconcile-sccs --confirm' expecting success... SUCCESS after 0.252s: test/cmd/admin.sh:391: executing 'oc adm policy reconcile-sccs --confirm' expecting success Running test/cmd/admin.sh:392: executing 'oc get scc/restricted' expecting success... SUCCESS after 0.382s: test/cmd/admin.sh:392: executing 'oc get scc/restricted' expecting success Running test/cmd/admin.sh:394: executing 'oc adm policy add-scc-to-user restricted my-restricted-user' expecting success... SUCCESS after 0.238s: test/cmd/admin.sh:394: executing 'oc adm policy add-scc-to-user restricted my-restricted-user' expecting success Running test/cmd/admin.sh:395: executing 'oc get scc/restricted -o yaml' expecting success and text 'my-restricted-user'... SUCCESS after 0.232s: test/cmd/admin.sh:395: executing 'oc get scc/restricted -o yaml' expecting success and text 'my-restricted-user' Running test/cmd/admin.sh:396: executing 'oc adm policy reconcile-sccs --confirm' expecting success... SUCCESS after 0.307s: test/cmd/admin.sh:396: executing 'oc adm policy reconcile-sccs --confirm' expecting success Running test/cmd/admin.sh:397: executing 'oc get scc/restricted -o yaml' expecting success and text 'my-restricted-user'... SUCCESS after 0.239s: test/cmd/admin.sh:397: executing 'oc get scc/restricted -o yaml' expecting success and text 'my-restricted-user' Running test/cmd/admin.sh:399: executing 'oc adm policy remove-scc-from-group restricted system:authenticated' expecting success... SUCCESS after 0.231s: test/cmd/admin.sh:399: executing 'oc adm policy remove-scc-from-group restricted system:authenticated' expecting success Running test/cmd/admin.sh:400: executing 'oc get scc/restricted -o yaml' expecting success and not text 'system:authenticated'... SUCCESS after 0.246s: test/cmd/admin.sh:400: executing 'oc get scc/restricted -o yaml' expecting success and not text 'system:authenticated' Running test/cmd/admin.sh:401: executing 'oc adm policy reconcile-sccs --confirm' expecting success... SUCCESS after 0.308s: test/cmd/admin.sh:401: executing 'oc adm policy reconcile-sccs --confirm' expecting success Running test/cmd/admin.sh:402: executing 'oc get scc/restricted -o yaml' expecting success and text 'system:authenticated'... SUCCESS after 0.246s: test/cmd/admin.sh:402: executing 'oc get scc/restricted -o yaml' expecting success and text 'system:authenticated' Running test/cmd/admin.sh:404: executing 'oc label scc/restricted foo=bar' expecting success... SUCCESS after 0.249s: test/cmd/admin.sh:404: executing 'oc label scc/restricted foo=bar' expecting success Running test/cmd/admin.sh:405: executing 'oc get scc/restricted -o yaml' expecting success and text 'foo: bar'... SUCCESS after 0.239s: test/cmd/admin.sh:405: executing 'oc get scc/restricted -o yaml' expecting success and text 'foo: bar' Running test/cmd/admin.sh:406: executing 'oc adm policy reconcile-sccs --confirm --additive-only=true' expecting success... SUCCESS after 0.286s: test/cmd/admin.sh:406: executing 'oc adm policy reconcile-sccs --confirm --additive-only=true' expecting success Running test/cmd/admin.sh:407: executing 'oc get scc/restricted -o yaml' expecting success and text 'foo: bar'... SUCCESS after 0.240s: test/cmd/admin.sh:407: executing 'oc get scc/restricted -o yaml' expecting success and text 'foo: bar' Running test/cmd/admin.sh:408: executing 'oc adm policy reconcile-sccs --confirm --additive-only=false' expecting success... SUCCESS after 0.474s: test/cmd/admin.sh:408: executing 'oc adm policy reconcile-sccs --confirm --additive-only=false' expecting success Running test/cmd/admin.sh:409: executing 'oc get scc/restricted -o yaml' expecting success and not text 'foo: bar'... SUCCESS after 0.383s: test/cmd/admin.sh:409: executing 'oc get scc/restricted -o yaml' expecting success and not text 'foo: bar' Running test/cmd/admin.sh:411: executing 'oc annotate scc/restricted topic="my-foo-bar"' expecting success... SUCCESS after 0.252s: test/cmd/admin.sh:411: executing 'oc annotate scc/restricted topic="my-foo-bar"' expecting success Running test/cmd/admin.sh:412: executing 'oc get scc/restricted -o yaml' expecting success and text 'topic: my-foo-bar'... SUCCESS after 0.240s: test/cmd/admin.sh:412: executing 'oc get scc/restricted -o yaml' expecting success and text 'topic: my-foo-bar' Running test/cmd/admin.sh:413: executing 'oc adm policy reconcile-sccs --confirm --additive-only=true' expecting success... SUCCESS after 0.231s: test/cmd/admin.sh:413: executing 'oc adm policy reconcile-sccs --confirm --additive-only=true' expecting success Running test/cmd/admin.sh:414: executing 'oc get scc/restricted -o yaml' expecting success and text 'topic: my-foo-bar'... SUCCESS after 0.298s: test/cmd/admin.sh:414: executing 'oc get scc/restricted -o yaml' expecting success and text 'topic: my-foo-bar' Running test/cmd/admin.sh:415: executing 'oc adm policy reconcile-sccs --confirm --additive-only=false' expecting success... SUCCESS after 0.239s: test/cmd/admin.sh:415: executing 'oc adm policy reconcile-sccs --confirm --additive-only=false' expecting success Running test/cmd/admin.sh:416: executing 'oc get scc/restricted -o yaml' expecting success and not text 'topic: my-foo-bar'... SUCCESS after 0.273s: test/cmd/admin.sh:416: executing 'oc get scc/restricted -o yaml' expecting success and not text 'topic: my-foo-bar' reconcile-scc: ok Running test/cmd/admin.sh:421: executing 'oc delete node/fake-node' expecting success... SUCCESS after 0.248s: test/cmd/admin.sh:421: executing 'oc delete node/fake-node' expecting success Running test/cmd/admin.sh:425: executing 'oc create -f test/extended/testdata/roles/empty-role.yaml -n 'cmd-admin'' expecting success... SUCCESS after 0.276s: test/cmd/admin.sh:425: executing 'oc create -f test/extended/testdata/roles/empty-role.yaml -n 'cmd-admin'' expecting success Running test/cmd/admin.sh:426: executing 'oc adm policy add-role-to-user admin local-admin -n cmd-admin' expecting success... SUCCESS after 0.225s: test/cmd/admin.sh:426: executing 'oc adm policy add-role-to-user admin local-admin -n cmd-admin' expecting success Running test/cmd/admin.sh:427: executing 'oc login -u local-admin -p pw' expecting success... SUCCESS after 0.278s: test/cmd/admin.sh:427: executing 'oc login -u local-admin -p pw' expecting success Running test/cmd/admin.sh:428: executing 'oc policy add-role-to-user empty-role other --role-namespace=cmd-admin -n cmd-admin' expecting success... SUCCESS after 0.224s: test/cmd/admin.sh:428: executing 'oc policy add-role-to-user empty-role other --role-namespace=cmd-admin -n cmd-admin' expecting success Running test/cmd/admin.sh:429: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.281s: test/cmd/admin.sh:429: executing 'oc login -u system:admin' expecting success Running test/cmd/admin.sh:430: executing 'oc delete role/empty-role -n 'cmd-admin'' expecting success... SUCCESS after 0.251s: test/cmd/admin.sh:430: executing 'oc delete role/empty-role -n 'cmd-admin'' expecting success cmd/admin/rolebinding-allowed: ok Running test/cmd/admin.sh:437: executing 'oc new-project 'someotherproject'' expecting success... SUCCESS after 0.326s: test/cmd/admin.sh:437: executing 'oc new-project 'someotherproject'' expecting success Running test/cmd/admin.sh:438: executing 'oc create -f test/extended/testdata/roles/empty-role.yaml -n 'cmd-admin'' expecting success... SUCCESS after 0.242s: test/cmd/admin.sh:438: executing 'oc create -f test/extended/testdata/roles/empty-role.yaml -n 'cmd-admin'' expecting success Running test/cmd/admin.sh:439: executing 'oc adm policy add-role-to-user admin local-admin -n someotherproject' expecting success... SUCCESS after 0.249s: test/cmd/admin.sh:439: executing 'oc adm policy add-role-to-user admin local-admin -n someotherproject' expecting success Running test/cmd/admin.sh:440: executing 'oc login -u local-admin -p pw' expecting success... SUCCESS after 0.315s: test/cmd/admin.sh:440: executing 'oc login -u local-admin -p pw' expecting success Running test/cmd/admin.sh:441: executing 'oc policy add-role-to-user empty-role other --role-namespace=cmd-admin -n someotherproject' expecting failure and text 'invalid origin role binding empty-role: attempts to reference role in namespace "cmd-admin" instead of current namespace "someotherproject"'... SUCCESS after 0.224s: test/cmd/admin.sh:441: executing 'oc policy add-role-to-user empty-role other --role-namespace=cmd-admin -n someotherproject' expecting failure and text 'invalid origin role binding empty-role: attempts to reference role in namespace "cmd-admin" instead of current namespace "someotherproject"' Running test/cmd/admin.sh:442: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.303s: test/cmd/admin.sh:442: executing 'oc login -u system:admin' expecting success Running test/cmd/admin.sh:443: executing 'oc delete role/empty-role -n 'cmd-admin'' expecting success... SUCCESS after 0.256s: test/cmd/admin.sh:443: executing 'oc delete role/empty-role -n 'cmd-admin'' expecting success rolebinding-local-only: ok Running test/cmd/admin.sh:449: executing 'oc login -u cascaded-user -p pw' expecting success... SUCCESS after 0.306s: test/cmd/admin.sh:449: executing 'oc login -u cascaded-user -p pw' expecting success Running test/cmd/admin.sh:450: executing 'oc login -u orphaned-user -p pw' expecting success... SUCCESS after 0.295s: test/cmd/admin.sh:450: executing 'oc login -u orphaned-user -p pw' expecting success Running test/cmd/admin.sh:451: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.311s: test/cmd/admin.sh:451: executing 'oc login -u system:admin' expecting success Running test/cmd/admin.sh:452: executing 'oc adm groups new cascaded-group cascaded-user orphaned-user' expecting success and text 'cascaded-group.*cascaded-user, orphaned-user'... SUCCESS after 0.224s: test/cmd/admin.sh:452: executing 'oc adm groups new cascaded-group cascaded-user orphaned-user' expecting success and text 'cascaded-group.*cascaded-user, orphaned-user' Running test/cmd/admin.sh:453: executing 'oc adm groups new orphaned-group cascaded-user orphaned-user' expecting success and text 'orphaned-group.*cascaded-user, orphaned-user'... SUCCESS after 0.300s: test/cmd/admin.sh:453: executing 'oc adm groups new orphaned-group cascaded-user orphaned-user' expecting success and text 'orphaned-group.*cascaded-user, orphaned-user' Running test/cmd/admin.sh:455: executing 'oc adm policy add-scc-to-user restricted cascaded-user orphaned-user' expecting success... SUCCESS after 0.235s: test/cmd/admin.sh:455: executing 'oc adm policy add-scc-to-user restricted cascaded-user orphaned-user' expecting success Running test/cmd/admin.sh:456: executing 'oc adm policy add-scc-to-group restricted cascaded-group orphaned-group' expecting success... SUCCESS after 0.269s: test/cmd/admin.sh:456: executing 'oc adm policy add-scc-to-group restricted cascaded-group orphaned-group' expecting success Running test/cmd/admin.sh:457: executing 'oc adm policy add-role-to-user --rolebinding-name=cluster-admin cluster-admin cascaded-user orphaned-user -n default' expecting success... SUCCESS after 0.219s: test/cmd/admin.sh:457: executing 'oc adm policy add-role-to-user --rolebinding-name=cluster-admin cluster-admin cascaded-user orphaned-user -n default' expecting success Running test/cmd/admin.sh:458: executing 'oc adm policy add-role-to-group --rolebinding-name=cluster-admin cluster-admin cascaded-group orphaned-group -n default' expecting success... SUCCESS after 0.317s: test/cmd/admin.sh:458: executing 'oc adm policy add-role-to-group --rolebinding-name=cluster-admin cluster-admin cascaded-group orphaned-group -n default' expecting success Running test/cmd/admin.sh:459: executing 'oc adm policy add-cluster-role-to-user --rolebinding-name=cluster-admin cluster-admin cascaded-user orphaned-user' expecting success... SUCCESS after 0.231s: test/cmd/admin.sh:459: executing 'oc adm policy add-cluster-role-to-user --rolebinding-name=cluster-admin cluster-admin cascaded-user orphaned-user' expecting success Running test/cmd/admin.sh:460: executing 'oc adm policy add-cluster-role-to-group --rolebinding-name=cluster-admin cluster-admin cascaded-group orphaned-group' expecting success... SUCCESS after 0.280s: test/cmd/admin.sh:460: executing 'oc adm policy add-cluster-role-to-group --rolebinding-name=cluster-admin cluster-admin cascaded-group orphaned-group' expecting success Running test/cmd/admin.sh:463: executing 'oc delete user cascaded-user' expecting success... SUCCESS after 0.302s: test/cmd/admin.sh:463: executing 'oc delete user cascaded-user' expecting success Running test/cmd/admin.sh:464: executing 'oc delete user orphaned-user --cascade=false' expecting success... SUCCESS after 0.251s: test/cmd/admin.sh:464: executing 'oc delete user orphaned-user --cascade=false' expecting success Running test/cmd/admin.sh:466: executing 'oc get identities/anypassword:cascaded-user' expecting success... SUCCESS after 0.370s: test/cmd/admin.sh:466: executing 'oc get identities/anypassword:cascaded-user' expecting success Running test/cmd/admin.sh:467: executing 'oc get identities/anypassword:orphaned-user' expecting success... SUCCESS after 0.408s: test/cmd/admin.sh:467: executing 'oc get identities/anypassword:orphaned-user' expecting success Running test/cmd/admin.sh:469: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and text 'orphaned-user'... SUCCESS after 0.247s: test/cmd/admin.sh:469: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and text 'orphaned-user' Running test/cmd/admin.sh:470: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and text 'orphaned-user'... SUCCESS after 0.257s: test/cmd/admin.sh:470: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and text 'orphaned-user' Running test/cmd/admin.sh:471: executing 'oc get scc/restricted --output-version=v1 --template='{{.users}}'' expecting success and text 'orphaned-user'... SUCCESS after 0.287s: test/cmd/admin.sh:471: executing 'oc get scc/restricted --output-version=v1 --template='{{.users}}'' expecting success and text 'orphaned-user' Running test/cmd/admin.sh:472: executing 'oc get group/cascaded-group --output-version=v1 --template='{{.users}}'' expecting success and text 'orphaned-user'... SUCCESS after 0.249s: test/cmd/admin.sh:472: executing 'oc get group/cascaded-group --output-version=v1 --template='{{.users}}'' expecting success and text 'orphaned-user' Running test/cmd/admin.sh:474: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and not text 'cascaded-user'... SUCCESS after 0.243s: test/cmd/admin.sh:474: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and not text 'cascaded-user' Running test/cmd/admin.sh:475: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and not text 'cascaded-user'... SUCCESS after 0.258s: test/cmd/admin.sh:475: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and not text 'cascaded-user' Running test/cmd/admin.sh:476: executing 'oc get scc/restricted --output-version=v1 --template='{{.users}}'' expecting success and not text 'cascaded-user'... SUCCESS after 0.279s: test/cmd/admin.sh:476: executing 'oc get scc/restricted --output-version=v1 --template='{{.users}}'' expecting success and not text 'cascaded-user' Running test/cmd/admin.sh:477: executing 'oc get group/cascaded-group --output-version=v1 --template='{{.users}}'' expecting success and not text 'cascaded-user'... SUCCESS after 0.255s: test/cmd/admin.sh:477: executing 'oc get group/cascaded-group --output-version=v1 --template='{{.users}}'' expecting success and not text 'cascaded-user' Running test/cmd/admin.sh:480: executing 'oc delete group cascaded-group' expecting success... SUCCESS after 0.277s: test/cmd/admin.sh:480: executing 'oc delete group cascaded-group' expecting success Running test/cmd/admin.sh:481: executing 'oc delete group orphaned-group --cascade=false' expecting success... SUCCESS after 0.292s: test/cmd/admin.sh:481: executing 'oc delete group orphaned-group --cascade=false' expecting success Running test/cmd/admin.sh:483: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and text 'orphaned-group'... SUCCESS after 0.247s: test/cmd/admin.sh:483: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and text 'orphaned-group' Running test/cmd/admin.sh:484: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and text 'orphaned-group'... SUCCESS after 0.263s: test/cmd/admin.sh:484: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and text 'orphaned-group' Running test/cmd/admin.sh:485: executing 'oc get scc/restricted --output-version=v1 --template='{{.groups}}'' expecting success and text 'orphaned-group'... SUCCESS after 0.233s: test/cmd/admin.sh:485: executing 'oc get scc/restricted --output-version=v1 --template='{{.groups}}'' expecting success and text 'orphaned-group' Running test/cmd/admin.sh:487: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and not text 'cascaded-group'... SUCCESS after 0.259s: test/cmd/admin.sh:487: executing 'oc get clusterrolebindings/cluster-admins clusterrolebindings/cluster-admin --output-version=v1 -o jsonpath='{ .items[*].subjects }'' expecting success and not text 'cascaded-group' Running test/cmd/admin.sh:488: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and not text 'cascaded-group'... SUCCESS after 0.249s: test/cmd/admin.sh:488: executing 'oc get rolebindings/cluster-admin --output-version=v1 --template='{{.subjects}}' -n default' expecting success and not text 'cascaded-group' Running test/cmd/admin.sh:489: executing 'oc get scc/restricted --output-version=v1 --template='{{.groups}}'' expecting success and not text 'cascaded-group'... SUCCESS after 0.289s: test/cmd/admin.sh:489: executing 'oc get scc/restricted --output-version=v1 --template='{{.groups}}'' expecting success and not text 'cascaded-group' user-group-cascade: ok Running test/cmd/admin.sh:495: executing 'oc create serviceaccount my-sa-name' expecting success and text 'serviceaccount "my-sa-name" created'... SUCCESS after 0.248s: test/cmd/admin.sh:495: executing 'oc create serviceaccount my-sa-name' expecting success and text 'serviceaccount "my-sa-name" created' Running test/cmd/admin.sh:496: executing 'oc get sa my-sa-name' expecting success... SUCCESS after 0.404s: test/cmd/admin.sh:496: executing 'oc get sa my-sa-name' expecting success Running test/cmd/admin.sh:499: executing 'oc sa get-token my-sa-name' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.230s: test/cmd/admin.sh:499: executing 'oc sa get-token my-sa-name' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/admin.sh:500: executing 'oc get user/~ --token="$( oc sa get-token my-sa-name )"' expecting success and text 'system:serviceaccount:.+:my-sa-name'... SUCCESS after 0.683s: test/cmd/admin.sh:500: executing 'oc get user/~ --token="$( oc sa get-token my-sa-name )"' expecting success and text 'system:serviceaccount:.+:my-sa-name' Running test/cmd/admin.sh:503: executing 'oc get user/~ --token="$( oc sa new-token my-sa-name )"' expecting success and text 'system:serviceaccount:.+:my-sa-name'... SUCCESS after 0.906s: test/cmd/admin.sh:503: executing 'oc get user/~ --token="$( oc sa new-token my-sa-name )"' expecting success and text 'system:serviceaccount:.+:my-sa-name' Running test/cmd/admin.sh:506: executing 'oc sa new-token my-sa-name --labels="mykey=myvalue,myotherkey=myothervalue"' expecting success... SUCCESS after 0.328s: test/cmd/admin.sh:506: executing 'oc sa new-token my-sa-name --labels="mykey=myvalue,myotherkey=myothervalue"' expecting success Running test/cmd/admin.sh:507: executing 'oc get secrets --selector="mykey=myvalue"' expecting success and text 'my-sa-name'... SUCCESS after 0.407s: test/cmd/admin.sh:507: executing 'oc get secrets --selector="mykey=myvalue"' expecting success and text 'my-sa-name' Running test/cmd/admin.sh:508: executing 'oc get secrets --selector="myotherkey=myothervalue"' expecting success and text 'my-sa-name'... SUCCESS after 0.369s: test/cmd/admin.sh:508: executing 'oc get secrets --selector="myotherkey=myothervalue"' expecting success and text 'my-sa-name' Running test/cmd/admin.sh:509: executing 'oc get secrets --selector="mykey=myvalue,myotherkey=myothervalue"' expecting success and text 'my-sa-name'... SUCCESS after 0.501s: test/cmd/admin.sh:509: executing 'oc get secrets --selector="mykey=myvalue,myotherkey=myothervalue"' expecting success and text 'my-sa-name' serviceacounts: ok Running test/cmd/admin.sh:515: executing 'oc create user test-cmd-user' expecting success... SUCCESS after 0.241s: test/cmd/admin.sh:515: executing 'oc create user test-cmd-user' expecting success Running test/cmd/admin.sh:516: executing 'oc create identity test-idp:test-uid' expecting success... SUCCESS after 0.231s: test/cmd/admin.sh:516: executing 'oc create identity test-idp:test-uid' expecting success Running test/cmd/admin.sh:517: executing 'oc create useridentitymapping test-idp:test-uid test-cmd-user' expecting success... SUCCESS after 0.260s: test/cmd/admin.sh:517: executing 'oc create useridentitymapping test-idp:test-uid test-cmd-user' expecting success Running test/cmd/admin.sh:518: executing 'oc describe identity test-idp:test-uid' expecting success and text 'test-cmd-user'... SUCCESS after 0.282s: test/cmd/admin.sh:518: executing 'oc describe identity test-idp:test-uid' expecting success and text 'test-cmd-user' Running test/cmd/admin.sh:519: executing 'oc describe user test-cmd-user' expecting success and text 'test-idp:test-uid'... SUCCESS after 0.291s: test/cmd/admin.sh:519: executing 'oc describe user test-cmd-user' expecting success and text 'test-idp:test-uid' Running test/cmd/admin.sh:526: executing 'oc create -f /go/src/github.com/openshift/origin/test/testdata/stable-busybox.yaml' expecting success... SUCCESS after 0.270s: test/cmd/admin.sh:526: executing 'oc create -f /go/src/github.com/openshift/origin/test/testdata/stable-busybox.yaml' expecting success Running test/cmd/admin.sh:527: executing 'oc adm top images' expecting success and text 'sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6\W+default/busybox \(latest\)\W+<none>\W+<none>\W+yes\W+653\.4KiB'... SUCCESS after 0.242s: test/cmd/admin.sh:527: executing 'oc adm top images' expecting success and text 'sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6\W+default/busybox \(latest\)\W+<none>\W+<none>\W+yes\W+653\.4KiB' Running test/cmd/admin.sh:528: executing 'oc adm top imagestreams' expecting success and text 'default/busybox\W+653\.4KiB\W+1\W+1'... SUCCESS after 0.230s: test/cmd/admin.sh:528: executing 'oc adm top imagestreams' expecting success and text 'default/busybox\W+653\.4KiB\W+1\W+1' Running test/cmd/admin.sh:529: executing 'oc delete is/busybox -n default' expecting success... SUCCESS after 0.257s: test/cmd/admin.sh:529: executing 'oc delete is/busybox -n default' expecting success Running test/cmd/admin.sh:532: executing 'oc adm policy add-cluster-role-to-user system:image-pruner pruner --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success... SUCCESS after 0.282s: test/cmd/admin.sh:532: executing 'oc adm policy add-cluster-role-to-user system:image-pruner pruner --config='/tmp/openshift/test-cmd/openshift.local.config/master/admin.kubeconfig'' expecting success Running test/cmd/admin.sh:533: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u pruner -p anything' expecting success... SUCCESS after 0.330s: test/cmd/admin.sh:533: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u pruner -p anything' expecting success Running test/cmd/admin.sh:534: executing 'oc adm prune images' expecting success and text 'Dry run enabled - no modifications will be made. Add --confirm to remove images'... SUCCESS after 0.276s: test/cmd/admin.sh:534: executing 'oc adm prune images' expecting success and text 'Dry run enabled - no modifications will be made. Add --confirm to remove images' images: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.221s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-admin'' expecting success... SUCCESS after 0.275s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-admin'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/annotations.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.280s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.211s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-annotations'' expecting success... SUCCESS after 0.312s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-annotations'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-annotations'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.198s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-annotations'; re-trying every 0.2s until completion or 60.000s Running test/cmd/annotations.sh:15: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success and text 'pod "hello-openshift" created'... SUCCESS after 0.255s: test/cmd/annotations.sh:15: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success and text 'pod "hello-openshift" created' Running test/cmd/annotations.sh:16: executing 'oc annotate pod hello-openshift node-selector=""' expecting success and text 'pod "hello-openshift" annotated'... SUCCESS after 0.261s: test/cmd/annotations.sh:16: executing 'oc annotate pod hello-openshift node-selector=""' expecting success and text 'pod "hello-openshift" annotated' Running test/cmd/annotations.sh:17: executing 'oc get pod hello-openshift --template="{{index .metadata.annotations \"node-selector\"}}"' expecting success and not text '.'... SUCCESS after 0.258s: test/cmd/annotations.sh:17: executing 'oc get pod hello-openshift --template="{{index .metadata.annotations \"node-selector\"}}"' expecting success and not text '.' annotate: ok Running test/cmd/annotations.sh:24: executing 'oc label pod hello-openshift label2=""' expecting success and text 'pod "hello-openshift" labeled'... SUCCESS after 0.324s: test/cmd/annotations.sh:24: executing 'oc label pod hello-openshift label2=""' expecting success and text 'pod "hello-openshift" labeled' Running test/cmd/annotations.sh:25: executing 'oc get pod hello-openshift --template="{{.metadata.labels.label2}}"' expecting success and not text '.'... SUCCESS after 0.242s: test/cmd/annotations.sh:25: executing 'oc get pod hello-openshift --template="{{.metadata.labels.label2}}"' expecting success and not text '.' label: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.208s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-annotations'' expecting success... SUCCESS after 0.251s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-annotations'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/authentication.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.502s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.218s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-authentication'' expecting success... SUCCESS after 0.303s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-authentication'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-authentication'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.728s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-authentication'; re-trying every 0.2s until completion or 60.000s Running test/cmd/authentication.sh:23: executing 'oc login -u user1 -p pw' expecting success and text 'Login successful'... SUCCESS after 0.332s: test/cmd/authentication.sh:23: executing 'oc login -u user1 -p pw' expecting success and text 'Login successful' Running test/cmd/authentication.sh:24: executing 'oc login -u user2 -p pw' expecting success and text 'Login successful'... SUCCESS after 0.311s: test/cmd/authentication.sh:24: executing 'oc login -u user2 -p pw' expecting success and text 'Login successful' Running test/cmd/authentication.sh:26: executing 'oc login -u user1' expecting success and text 'Logged into ".*" as "user1" using existing credentials'... SUCCESS after 0.272s: test/cmd/authentication.sh:26: executing 'oc login -u user1' expecting success and text 'Logged into ".*" as "user1" using existing credentials' Running test/cmd/authentication.sh:28: executing 'oc login -u user1' expecting success and text 'Logged into ".*" as "user1" using existing credentials'... SUCCESS after 0.260s: test/cmd/authentication.sh:28: executing 'oc login -u user1' expecting success and text 'Logged into ".*" as "user1" using existing credentials' Running test/cmd/authentication.sh:30: executing 'oc login -u system:admin -n 'cmd-authentication'' expecting success... SUCCESS after 0.261s: test/cmd/authentication.sh:30: executing 'oc login -u system:admin -n 'cmd-authentication'' expecting success Running test/cmd/authentication.sh:34: executing 'oc adm policy add-role-to-user admin scoped-user' expecting success... SUCCESS after 0.302s: test/cmd/authentication.sh:34: executing 'oc adm policy add-role-to-user admin scoped-user' expecting success Running test/cmd/authentication.sh:37: executing 'oc login -u scoped-user -p asdf' expecting success... SUCCESS after 0.372s: test/cmd/authentication.sh:37: executing 'oc login -u scoped-user -p asdf' expecting success Running test/cmd/authentication.sh:38: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.270s: test/cmd/authentication.sh:38: executing 'oc login -u system:admin' expecting success Running test/cmd/authentication.sh:41: executing 'oc policy can-i --list -n 'cmd-authentication' --as=scoped-user' expecting success and text 'get.*pods'... SUCCESS after 0.251s: test/cmd/authentication.sh:41: executing 'oc policy can-i --list -n 'cmd-authentication' --as=scoped-user' expecting success and text 'get.*pods' Running test/cmd/authentication.sh:42: executing 'oc policy can-i --list --output=yaml' expecting success... SUCCESS after 0.260s: test/cmd/authentication.sh:42: executing 'oc policy can-i --list --output=yaml' expecting success Running test/cmd/authentication.sh:43: executing 'oc policy can-i --list --output=json' expecting success... SUCCESS after 0.246s: test/cmd/authentication.sh:43: executing 'oc policy can-i --list --output=json' expecting success Running test/cmd/authentication.sh:44: executing 'oc policy can-i --list --output=wide' expecting success... SUCCESS after 0.295s: test/cmd/authentication.sh:44: executing 'oc policy can-i --list --output=wide' expecting success Running test/cmd/authentication.sh:45: executing 'oc policy can-i --list' expecting success... SUCCESS after 0.238s: test/cmd/authentication.sh:45: executing 'oc policy can-i --list' expecting success Running test/cmd/authentication.sh:48: executing 'oc get user/~ --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user'... SUCCESS after 0.391s: test/cmd/authentication.sh:48: executing 'oc get user/~ --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user' Running test/cmd/authentication.sh:49: executing 'oc whoami --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user'... SUCCESS after 0.308s: test/cmd/authentication.sh:49: executing 'oc whoami --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user' Running test/cmd/authentication.sh:50: executing 'oc get pods --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list pods in project "cmd-authentication"'... SUCCESS after 0.244s: test/cmd/authentication.sh:50: executing 'oc get pods --token='whoamixxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list pods in project "cmd-authentication"' Running test/cmd/authentication.sh:55: executing 'oc get projects --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and not text 'cmd-authentication'... SUCCESS after 0.264s: test/cmd/authentication.sh:55: executing 'oc get projects --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and not text 'cmd-authentication' Running test/cmd/authentication.sh:56: executing 'oc get user/~ --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough'' expecting failure and text 'prevent this action; User "scoped-user" cannot get users.user.openshift.io at the cluster scope'... SUCCESS after 0.249s: test/cmd/authentication.sh:56: executing 'oc get user/~ --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough'' expecting failure and text 'prevent this action; User "scoped-user" cannot get users.user.openshift.io at the cluster scope' Running test/cmd/authentication.sh:57: executing 'oc get pods --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list pods in project "cmd-authentication"'... SUCCESS after 0.249s: test/cmd/authentication.sh:57: executing 'oc get pods --token='listprojectxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list pods in project "cmd-authentication"' Running test/cmd/authentication.sh:60: executing 'oc get projects --token='listallprojectsxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'cmd-authentication'... SUCCESS after 0.402s: test/cmd/authentication.sh:60: executing 'oc get projects --token='listallprojectsxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'cmd-authentication' Running test/cmd/authentication.sh:63: executing 'oc get user/~ --token='adminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting failure and text 'prevent this action; User "scoped-user" cannot get users.user.openshift.io at the cluster scope'... SUCCESS after 0.256s: test/cmd/authentication.sh:63: executing 'oc get user/~ --token='adminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting failure and text 'prevent this action; User "scoped-user" cannot get users.user.openshift.io at the cluster scope' Running test/cmd/authentication.sh:64: executing 'oc get secrets --token='adminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list secrets in project "cmd-authentication"'... SUCCESS after 0.316s: test/cmd/authentication.sh:64: executing 'oc get secrets --token='adminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting failure and text 'prevent this action; User "scoped-user" cannot list secrets in project "cmd-authentication"' Running test/cmd/authentication.sh:65: executing 'oc get 'projects/cmd-authentication' --token='adminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'cmd-authentication'... SUCCESS after 0.359s: test/cmd/authentication.sh:65: executing 'oc get 'projects/cmd-authentication' --token='adminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'cmd-authentication' Running test/cmd/authentication.sh:68: executing 'oc get user/~ --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user'... SUCCESS after 0.369s: test/cmd/authentication.sh:68: executing 'oc get user/~ --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'scoped-user' Running test/cmd/authentication.sh:69: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success... SUCCESS after 0.374s: test/cmd/authentication.sh:69: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success Running test/cmd/authentication.sh:71: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n default' expecting failure; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.245s: test/cmd/authentication.sh:71: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n default' expecting failure; re-trying every 0.2s until completion or 60.000s Running test/cmd/authentication.sh:72: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n default' expecting failure and text 'cannot list secrets in the namespace'... SUCCESS after 0.271s: test/cmd/authentication.sh:72: executing 'oc get secrets --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n default' expecting failure and text 'cannot list secrets in the namespace' Running test/cmd/authentication.sh:73: executing 'oc get projects --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'cmd-authentication'... SUCCESS after 0.370s: test/cmd/authentication.sh:73: executing 'oc get projects --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough'' expecting success and text 'cmd-authentication' Running test/cmd/authentication.sh:74: executing 'oc policy can-i --list --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'get.*pods'... SUCCESS after 0.248s: test/cmd/authentication.sh:74: executing 'oc policy can-i --list --token='clusteradminxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'get.*pods' Running test/cmd/authentication.sh:77: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/oapi/v1/namespaces/cmd-authentication/localsubjectaccessreviews' -d @/go/src/github.com/openshift/origin/test/testdata/authentication/localsubjectaccessreview.json' expecting success and text '"kind": "SubjectAccessReviewResponse"'... SUCCESS after 0.189s: test/cmd/authentication.sh:77: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/oapi/v1/namespaces/cmd-authentication/localsubjectaccessreviews' -d @/go/src/github.com/openshift/origin/test/testdata/authentication/localsubjectaccessreview.json' expecting success and text '"kind": "SubjectAccessReviewResponse"' Running test/cmd/authentication.sh:78: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/apis/authorization.openshift.io/v1/namespaces/cmd-authentication/localsubjectaccessreviews' -d '{"kind":"LocalSubjectAccessReview","apiVersion":"authorization.openshift.io/v1","namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"'... SUCCESS after 0.160s: test/cmd/authentication.sh:78: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/apis/authorization.openshift.io/v1/namespaces/cmd-authentication/localsubjectaccessreviews' -d '{"kind":"LocalSubjectAccessReview","apiVersion":"authorization.openshift.io/v1","namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"' Running test/cmd/authentication.sh:80: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/oapi/v1/subjectaccessreviews' -d '{"namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"'... SUCCESS after 0.146s: test/cmd/authentication.sh:80: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/oapi/v1/subjectaccessreviews' -d '{"namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"' Running test/cmd/authentication.sh:81: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/apis/authorization.openshift.io/v1/subjectaccessreviews' -d '{"namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"'... SUCCESS after 0.144s: test/cmd/authentication.sh:81: executing 'curl -k -XPOST -H 'Content-Type: application/json' -H 'Authorization: Bearer accessxxxxxtokensuffixtoensurethatthenameislongenough' 'https://172.17.0.2:28443/apis/authorization.openshift.io/v1/subjectaccessreviews' -d '{"namespace":"cmd-authentication","verb":"create","resource":"pods"}'' expecting success and text '"kind": "SubjectAccessReviewResponse"' Running test/cmd/authentication.sh:82: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --ignore-scopes' expecting success and text 'yes'... SUCCESS after 0.237s: test/cmd/authentication.sh:82: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --ignore-scopes' expecting success and text 'yes' Running test/cmd/authentication.sh:83: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'no'... SUCCESS after 0.255s: test/cmd/authentication.sh:83: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'no' Running test/cmd/authentication.sh:84: executing 'oc policy can-i create subjectaccessreviews --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'no'... SUCCESS after 0.292s: test/cmd/authentication.sh:84: executing 'oc policy can-i create subjectaccessreviews --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and text 'no' Running test/cmd/authentication.sh:85: executing 'oc policy can-i create subjectaccessreviews --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --ignore-scopes' expecting success and text 'yes'... SUCCESS after 0.237s: test/cmd/authentication.sh:85: executing 'oc policy can-i create subjectaccessreviews --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --ignore-scopes' expecting success and text 'yes' Running test/cmd/authentication.sh:86: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --scopes='role:admin:*'' expecting success and text 'yes'... SUCCESS after 0.235s: test/cmd/authentication.sh:86: executing 'oc policy can-i create pods --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --scopes='role:admin:*'' expecting success and text 'yes' Running test/cmd/authentication.sh:87: executing 'oc policy can-i --list --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --scopes='role:admin:*'' expecting success and text 'get.*pods'... SUCCESS after 0.261s: test/cmd/authentication.sh:87: executing 'oc policy can-i --list --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication' --scopes='role:admin:*'' expecting success and text 'get.*pods' Running test/cmd/authentication.sh:88: executing 'oc policy can-i --list --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and not text 'get.*pods'... SUCCESS after 0.266s: test/cmd/authentication.sh:88: executing 'oc policy can-i --list --token='accessxxxxxtokensuffixtoensurethatthenameislongenough' -n 'cmd-authentication'' expecting success and not text 'get.*pods' Running test/cmd/authentication.sh:93: executing 'oc login -u user3 -p pw' expecting success and text 'Login successful'... SUCCESS after 0.377s: test/cmd/authentication.sh:93: executing 'oc login -u user3 -p pw' expecting success and text 'Login successful' Running test/cmd/authentication.sh:94: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.283s: test/cmd/authentication.sh:94: executing 'oc login -u system:admin' expecting success Running test/cmd/authentication.sh:95: executing 'oc get --raw /debug/pprof/ --as=user3' expecting failure and text 'Forbidden'... SUCCESS after 0.273s: test/cmd/authentication.sh:95: executing 'oc get --raw /debug/pprof/ --as=user3' expecting failure and text 'Forbidden' Running test/cmd/authentication.sh:96: executing 'oc get --raw /metrics --as=user3' expecting failure and text 'Forbidden'... SUCCESS after 0.222s: test/cmd/authentication.sh:96: executing 'oc get --raw /metrics --as=user3' expecting failure and text 'Forbidden' Running test/cmd/authentication.sh:97: executing 'oc get --raw /healthz --as=user3' expecting success and text 'ok'... SUCCESS after 0.243s: test/cmd/authentication.sh:97: executing 'oc get --raw /healthz --as=user3' expecting success and text 'ok' Running test/cmd/authentication.sh:98: executing 'oc adm policy add-cluster-role-to-user cluster-debugger user3' expecting success... SUCCESS after 0.222s: test/cmd/authentication.sh:98: executing 'oc adm policy add-cluster-role-to-user cluster-debugger user3' expecting success Running test/cmd/authentication.sh:99: executing 'oc get --raw /debug/pprof/ --as=user3' expecting any result and text 'full goroutine stack dump'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.228s: test/cmd/authentication.sh:99: executing 'oc get --raw /debug/pprof/ --as=user3' expecting any result and text 'full goroutine stack dump'; re-trying every 0.2s until completion or 60.000s Running test/cmd/authentication.sh:100: executing 'oc get --raw /debug/pprof/ --as=user3' expecting success and text 'full goroutine stack dump'... SUCCESS after 0.290s: test/cmd/authentication.sh:100: executing 'oc get --raw /debug/pprof/ --as=user3' expecting success and text 'full goroutine stack dump' Running test/cmd/authentication.sh:101: executing 'oc get --raw /metrics --as=user3' expecting success and text 'apiserver_request_latencies'... SUCCESS after 0.527s: test/cmd/authentication.sh:101: executing 'oc get --raw /metrics --as=user3' expecting success and text 'apiserver_request_latencies' Running test/cmd/authentication.sh:102: executing 'oc get --raw /healthz --as=user3' expecting success and text 'ok'... SUCCESS after 0.299s: test/cmd/authentication.sh:102: executing 'oc get --raw /healthz --as=user3' expecting success and text 'ok' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.207s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-authentication'' expecting success... SUCCESS after 0.268s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-authentication'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/basicresources.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.284s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.236s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-basicresources'' expecting success... SUCCESS after 0.301s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-basicresources'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-basicresources'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.771s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-basicresources'; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:32: executing 'oc version' expecting success and text 'oc v3\.9\.0\+2e78773'... SUCCESS after 0.292s: test/cmd/basicresources.sh:32: executing 'oc version' expecting success and text 'oc v3\.9\.0\+2e78773' Running test/cmd/basicresources.sh:33: executing 'oc version' expecting success and text 'kubernetes v1\.9\.1\+a0ce1bc657'... SUCCESS after 0.215s: test/cmd/basicresources.sh:33: executing 'oc version' expecting success and text 'kubernetes v1\.9\.1\+a0ce1bc657' Running test/cmd/basicresources.sh:34: executing 'oc version' expecting success and text 'features: Basic-Auth'... SUCCESS after 0.217s: test/cmd/basicresources.sh:34: executing 'oc version' expecting success and text 'features: Basic-Auth' Running test/cmd/basicresources.sh:35: executing 'openshift version' expecting success and text 'openshift v3\.9\.0\+2e78773'... SUCCESS after 0.223s: test/cmd/basicresources.sh:35: executing 'openshift version' expecting success and text 'openshift v3\.9\.0\+2e78773' Running test/cmd/basicresources.sh:36: executing 'openshift version' expecting success and text 'kubernetes v1\.9\.1\+a0ce1bc657'... SUCCESS after 0.236s: test/cmd/basicresources.sh:36: executing 'openshift version' expecting success and text 'kubernetes v1\.9\.1\+a0ce1bc657' Running test/cmd/basicresources.sh:37: executing 'openshift version' expecting success and text 'etcd 3\.2\.16'... SUCCESS after 0.255s: test/cmd/basicresources.sh:37: executing 'openshift version' expecting success and text 'etcd 3\.2\.16' Running test/cmd/basicresources.sh:38: executing 'curl -k 'https://172.17.0.2:28443/version'' expecting success and text 'v1\.9\.1\+a0ce1bc657'... SUCCESS after 0.156s: test/cmd/basicresources.sh:38: executing 'curl -k 'https://172.17.0.2:28443/version'' expecting success and text 'v1\.9\.1\+a0ce1bc657' Running test/cmd/basicresources.sh:39: executing 'curl -k 'https://172.17.0.2:28443/version/openshift'' expecting success and text 'v3\.9\.0\+2e78773'... SUCCESS after 0.148s: test/cmd/basicresources.sh:39: executing 'curl -k 'https://172.17.0.2:28443/version/openshift'' expecting success and text 'v3\.9\.0\+2e78773' Running test/cmd/basicresources.sh:40: executing 'curl -k 'https://172.17.0.2:28443/version'' expecting success and not text '2e78773'... SUCCESS after 0.153s: test/cmd/basicresources.sh:40: executing 'curl -k 'https://172.17.0.2:28443/version'' expecting success and not text '2e78773' Running test/cmd/basicresources.sh:41: executing 'curl -k 'https://172.17.0.2:28443/version/openshift'' expecting success and not text 'a0ce1bc'... SUCCESS after 0.164s: test/cmd/basicresources.sh:41: executing 'curl -k 'https://172.17.0.2:28443/version/openshift'' expecting success and not text 'a0ce1bc' Running test/cmd/basicresources.sh:48: executing 'oc get pods --loglevel=7 2>&1 | grep -A4 "pods" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/'... SUCCESS after 0.252s: test/cmd/basicresources.sh:48: executing 'oc get pods --loglevel=7 2>&1 | grep -A4 "pods" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/' Running test/cmd/basicresources.sh:50: executing 'oc get dc --loglevel=7 2>&1 | grep -A4 "deploymentconfig" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/'... SUCCESS after 0.330s: test/cmd/basicresources.sh:50: executing 'oc get dc --loglevel=7 2>&1 | grep -A4 "deploymentconfig" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/' Running test/cmd/basicresources.sh:52: executing 'oc adm policy who-can get pods --loglevel=7 2>&1 | grep -A4 "localresourceaccessreviews" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/'... SUCCESS after 0.251s: test/cmd/basicresources.sh:52: executing 'oc adm policy who-can get pods --loglevel=7 2>&1 | grep -A4 "localresourceaccessreviews" | grep User-Agent' expecting success and text 'oc/v1\.9\.1\+a0ce1bc657 .* kubernetes/' version reporting: ok Running test/cmd/basicresources.sh:57: executing 'oc status -h' expecting success and text 'oc describe buildConfig'... SUCCESS after 0.214s: test/cmd/basicresources.sh:57: executing 'oc status -h' expecting success and text 'oc describe buildConfig' Running test/cmd/basicresources.sh:58: executing 'oc status' expecting success and text 'oc new-app'... SUCCESS after 0.242s: test/cmd/basicresources.sh:58: executing 'oc status' expecting success and text 'oc new-app' status help output: ok Running test/cmd/basicresources.sh:63: executing 'oc types' expecting failure and text 'Deployment Configuration'... SUCCESS after 0.213s: test/cmd/basicresources.sh:63: executing 'oc types' expecting failure and text 'Deployment Configuration' Running test/cmd/basicresources.sh:64: executing 'oc get' expecting failure and text 'deploymentconfig'... SUCCESS after 0.302s: test/cmd/basicresources.sh:64: executing 'oc get' expecting failure and text 'deploymentconfig' Running test/cmd/basicresources.sh:65: executing 'oc get all --loglevel=6' expecting success and text 'buildconfigs'... SUCCESS after 0.409s: test/cmd/basicresources.sh:65: executing 'oc get all --loglevel=6' expecting success and text 'buildconfigs' Running test/cmd/basicresources.sh:66: executing 'oc explain pods' expecting success and text 'Pod is a collection of containers that can run on a host'... SUCCESS after 0.362s: test/cmd/basicresources.sh:66: executing 'oc explain pods' expecting success and text 'Pod is a collection of containers that can run on a host' Running test/cmd/basicresources.sh:67: executing 'oc explain pods.spec' expecting success and text 'SecurityContext holds pod-level security attributes'... SUCCESS after 0.383s: test/cmd/basicresources.sh:67: executing 'oc explain pods.spec' expecting success and text 'SecurityContext holds pod-level security attributes' explain: ok Running test/cmd/basicresources.sh:76: executing 'oc create -f test/testdata/resource-builder/directory -f test/testdata/resource-builder/json-no-extension -f test/testdata/resource-builder/yml-no-extension' expecting success... SUCCESS after 0.322s: test/cmd/basicresources.sh:76: executing 'oc create -f test/testdata/resource-builder/directory -f test/testdata/resource-builder/json-no-extension -f test/testdata/resource-builder/yml-no-extension' expecting success Running test/cmd/basicresources.sh:78: executing 'oc get secret json-no-extension yml-no-extension' expecting success... SUCCESS after 0.371s: test/cmd/basicresources.sh:78: executing 'oc get secret json-no-extension yml-no-extension' expecting success Running test/cmd/basicresources.sh:80: executing 'oc get secret json-with-extension yml-with-extension' expecting success... SUCCESS after 0.368s: test/cmd/basicresources.sh:80: executing 'oc get secret json-with-extension yml-with-extension' expecting success Running test/cmd/basicresources.sh:82: executing 'oc get secret json-no-extension-in-directory' expecting failure and text 'not found'... SUCCESS after 0.338s: test/cmd/basicresources.sh:82: executing 'oc get secret json-no-extension-in-directory' expecting failure and text 'not found' resource-builder: ok Running test/cmd/basicresources.sh:87: executing 'oc get pods --match-server-version' expecting success... SUCCESS after 0.250s: test/cmd/basicresources.sh:87: executing 'oc get pods --match-server-version' expecting success Running test/cmd/basicresources.sh:88: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success and text 'pod "hello-openshift" created'... SUCCESS after 0.239s: test/cmd/basicresources.sh:88: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success and text 'pod "hello-openshift" created' Running test/cmd/basicresources.sh:89: executing 'oc describe pod hello-openshift' expecting success... SUCCESS after 0.263s: test/cmd/basicresources.sh:89: executing 'oc describe pod hello-openshift' expecting success Running test/cmd/basicresources.sh:90: executing 'oc delete pods hello-openshift --grace-period=0 --force' expecting success... SUCCESS after 0.400s: test/cmd/basicresources.sh:90: executing 'oc delete pods hello-openshift --grace-period=0 --force' expecting success pods: ok Running test/cmd/basicresources.sh:95: executing 'oc create -f examples/hello-openshift/hello-pod.json -o name' expecting success and text 'pod/hello-openshift'... SUCCESS after 0.330s: test/cmd/basicresources.sh:95: executing 'oc create -f examples/hello-openshift/hello-pod.json -o name' expecting success and text 'pod/hello-openshift' Running test/cmd/basicresources.sh:96: executing 'oc label pod/hello-openshift acustom=label' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.255s: test/cmd/basicresources.sh:96: executing 'oc label pod/hello-openshift acustom=label' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:97: executing 'oc describe pod/hello-openshift' expecting success and text 'acustom=label'... SUCCESS after 0.256s: test/cmd/basicresources.sh:97: executing 'oc describe pod/hello-openshift' expecting success and text 'acustom=label' Running test/cmd/basicresources.sh:98: executing 'oc annotate pod/hello-openshift foo=bar' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.275s: test/cmd/basicresources.sh:98: executing 'oc annotate pod/hello-openshift foo=bar' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:99: executing 'oc get -o yaml pod/hello-openshift' expecting success and text 'foo: bar'... SUCCESS after 0.325s: test/cmd/basicresources.sh:99: executing 'oc get -o yaml pod/hello-openshift' expecting success and text 'foo: bar' Running test/cmd/basicresources.sh:100: executing 'oc annotate pod hello-openshift description="test" --resource-version=123' expecting failure and not text 'may only be used with a single resource'... SUCCESS after 0.334s: test/cmd/basicresources.sh:100: executing 'oc annotate pod hello-openshift description="test" --resource-version=123' expecting failure and not text 'may only be used with a single resource' Running test/cmd/basicresources.sh:101: executing 'oc annotate pod hello-openshift hello-openshift description="test" --resource-version=123' expecting failure and text 'may only be used with a single resource'... SUCCESS after 0.243s: test/cmd/basicresources.sh:101: executing 'oc annotate pod hello-openshift hello-openshift description="test" --resource-version=123' expecting failure and text 'may only be used with a single resource' Running test/cmd/basicresources.sh:102: executing 'oc delete pods -l acustom=label --grace-period=0 --force' expecting success... SUCCESS after 0.259s: test/cmd/basicresources.sh:102: executing 'oc delete pods -l acustom=label --grace-period=0 --force' expecting success Running test/cmd/basicresources.sh:103: executing 'oc get pod/hello-openshift' expecting failure... SUCCESS after 0.248s: test/cmd/basicresources.sh:103: executing 'oc get pod/hello-openshift' expecting failure Running test/cmd/basicresources.sh:106: executing 'oc label namespace 'cmd-basicresources' foo=bar' expecting success... SUCCESS after 0.341s: test/cmd/basicresources.sh:106: executing 'oc label namespace 'cmd-basicresources' foo=bar' expecting success Running test/cmd/basicresources.sh:107: executing 'oc get project 'cmd-basicresources' --show-labels' expecting success and text 'foo=bar'... SUCCESS after 0.378s: test/cmd/basicresources.sh:107: executing 'oc get project 'cmd-basicresources' --show-labels' expecting success and text 'foo=bar' label: ok Running test/cmd/basicresources.sh:113: executing 'oc get services' expecting success... SUCCESS after 0.246s: test/cmd/basicresources.sh:113: executing 'oc get services' expecting success Running test/cmd/basicresources.sh:114: executing 'oc create -f test/integration/testdata/test-service.json' expecting success... SUCCESS after 0.266s: test/cmd/basicresources.sh:114: executing 'oc create -f test/integration/testdata/test-service.json' expecting success Running test/cmd/basicresources.sh:115: executing 'oc delete services frontend' expecting success... SUCCESS after 0.366s: test/cmd/basicresources.sh:115: executing 'oc delete services frontend' expecting success services: ok Running test/cmd/basicresources.sh:123: executing 'oc create -f test/testdata/mixed-api-versions.yaml' expecting success... SUCCESS after 0.261s: test/cmd/basicresources.sh:123: executing 'oc create -f test/testdata/mixed-api-versions.yaml' expecting success Running test/cmd/basicresources.sh:124: executing 'oc get -f test/testdata/mixed-api-versions.yaml -o yaml' expecting success... SUCCESS after 0.240s: test/cmd/basicresources.sh:124: executing 'oc get -f test/testdata/mixed-api-versions.yaml -o yaml' expecting success Running test/cmd/basicresources.sh:125: executing 'oc label -f test/testdata/mixed-api-versions.yaml mylabel=a' expecting success... SUCCESS after 0.293s: test/cmd/basicresources.sh:125: executing 'oc label -f test/testdata/mixed-api-versions.yaml mylabel=a' expecting success Running test/cmd/basicresources.sh:126: executing 'oc annotate -f test/testdata/mixed-api-versions.yaml myannotation=b' expecting success... SUCCESS after 0.340s: test/cmd/basicresources.sh:126: executing 'oc annotate -f test/testdata/mixed-api-versions.yaml myannotation=b' expecting success Running test/cmd/basicresources.sh:128: executing 'oc get -f test/testdata/mixed-api-versions.yaml --output=jsonpath="{..metadata.labels.mylabel}"' expecting success and text '^a a a a$'... SUCCESS after 0.268s: test/cmd/basicresources.sh:128: executing 'oc get -f test/testdata/mixed-api-versions.yaml --output=jsonpath="{..metadata.labels.mylabel}"' expecting success and text '^a a a a$' Running test/cmd/basicresources.sh:129: executing 'oc get -f test/testdata/mixed-api-versions.yaml --output=jsonpath="{..metadata.annotations.myannotation}"' expecting success and text '^b b b b$'... SUCCESS after 0.246s: test/cmd/basicresources.sh:129: executing 'oc get -f test/testdata/mixed-api-versions.yaml --output=jsonpath="{..metadata.annotations.myannotation}"' expecting success and text '^b b b b$' Running test/cmd/basicresources.sh:130: executing 'oc delete -f test/testdata/mixed-api-versions.yaml' expecting success... SUCCESS after 2.302s: test/cmd/basicresources.sh:130: executing 'oc delete -f test/testdata/mixed-api-versions.yaml' expecting success list version conversion: ok Running test/cmd/basicresources.sh:135: executing 'oc get nodes' expecting success... SUCCESS after 0.258s: test/cmd/basicresources.sh:135: executing 'oc get nodes' expecting success Running test/cmd/basicresources.sh:140: executing 'kubectl get nodes --kubeconfig='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/non-default-config'' expecting success... SUCCESS after 0.349s: test/cmd/basicresources.sh:140: executing 'kubectl get nodes --kubeconfig='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/non-default-config'' expecting success nodes: ok Running test/cmd/basicresources.sh:147: executing 'oc create dc my-nginx --image=nginx' expecting success... SUCCESS after 0.278s: test/cmd/basicresources.sh:147: executing 'oc create dc my-nginx --image=nginx' expecting success Running test/cmd/basicresources.sh:148: executing 'oc delete dc my-nginx' expecting success... SUCCESS after 1.284s: test/cmd/basicresources.sh:148: executing 'oc delete dc my-nginx' expecting success Running test/cmd/basicresources.sh:149: executing 'oc create clusterquota limit-bob --project-label-selector=openshift.io/requester=user-bob --hard=pods=10' expecting success... SUCCESS after 0.315s: test/cmd/basicresources.sh:149: executing 'oc create clusterquota limit-bob --project-label-selector=openshift.io/requester=user-bob --hard=pods=10' expecting success Running test/cmd/basicresources.sh:150: executing 'oc delete clusterquota/limit-bob' expecting success... SUCCESS after 0.255s: test/cmd/basicresources.sh:150: executing 'oc delete clusterquota/limit-bob' expecting success create subcommands: ok Running test/cmd/basicresources.sh:155: executing 'oc create -f examples/statefulsets/zookeeper/zookeeper.yaml' expecting success... SUCCESS after 0.258s: test/cmd/basicresources.sh:155: executing 'oc create -f examples/statefulsets/zookeeper/zookeeper.yaml' expecting success Running test/cmd/basicresources.sh:156: executing 'oc get pods zoo-0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.396s: test/cmd/basicresources.sh:156: executing 'oc get pods zoo-0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:157: executing 'oc get pvc datadir-zoo-0' expecting success... SUCCESS after 0.381s: test/cmd/basicresources.sh:157: executing 'oc get pvc datadir-zoo-0' expecting success Running test/cmd/basicresources.sh:158: executing 'oc describe statefulset zoo' expecting success and text 'app=zk'... SUCCESS after 0.254s: test/cmd/basicresources.sh:158: executing 'oc describe statefulset zoo' expecting success and text 'app=zk' Running test/cmd/basicresources.sh:159: executing 'oc delete -f examples/statefulsets/zookeeper/zookeeper.yaml' expecting success... SUCCESS after 2.285s: test/cmd/basicresources.sh:159: executing 'oc delete -f examples/statefulsets/zookeeper/zookeeper.yaml' expecting success statefulsets: ok Running test/cmd/basicresources.sh:167: executing 'oc set probe' expecting failure and text 'error: one or more resources'... SUCCESS after 0.278s: test/cmd/basicresources.sh:167: executing 'oc set probe' expecting failure and text 'error: one or more resources' Running test/cmd/basicresources.sh:168: executing 'oc set probe -f examples/hello-openshift/hello-pod.json' expecting failure and text 'error: you must specify one of --readiness or --liveness'... SUCCESS after 0.288s: test/cmd/basicresources.sh:168: executing 'oc set probe -f examples/hello-openshift/hello-pod.json' expecting failure and text 'error: you must specify one of --readiness or --liveness' Running test/cmd/basicresources.sh:169: executing 'oc set probe -f examples/hello-openshift/hello-pod.json --liveness -o yaml' expecting success and text 'livenessProbe: \{\}'... SUCCESS after 0.264s: test/cmd/basicresources.sh:169: executing 'oc set probe -f examples/hello-openshift/hello-pod.json --liveness -o yaml' expecting success and text 'livenessProbe: \{\}' Running test/cmd/basicresources.sh:170: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --initial-delay-seconds=10 -o yaml' expecting success and text 'livenessProbe:'... SUCCESS after 0.226s: test/cmd/basicresources.sh:170: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --initial-delay-seconds=10 -o yaml' expecting success and text 'livenessProbe:' Running test/cmd/basicresources.sh:171: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --initial-delay-seconds=10 -o yaml' expecting success and text 'initialDelaySeconds: 10'... SUCCESS after 0.228s: test/cmd/basicresources.sh:171: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --initial-delay-seconds=10 -o yaml' expecting success and text 'initialDelaySeconds: 10' Running test/cmd/basicresources.sh:172: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text 'livenessProbe:'... SUCCESS after 0.239s: test/cmd/basicresources.sh:172: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text 'livenessProbe:' Running test/cmd/basicresources.sh:173: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --readiness -- echo test' expecting success and text 'readinessProbe:'... SUCCESS after 0.253s: test/cmd/basicresources.sh:173: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --readiness -- echo test' expecting success and text 'readinessProbe:' Running test/cmd/basicresources.sh:174: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text 'exec:'... SUCCESS after 0.247s: test/cmd/basicresources.sh:174: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text 'exec:' Running test/cmd/basicresources.sh:175: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text '\- echo'... SUCCESS after 0.240s: test/cmd/basicresources.sh:175: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text '\- echo' Running test/cmd/basicresources.sh:176: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text '\- test'... SUCCESS after 0.267s: test/cmd/basicresources.sh:176: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness -- echo test' expecting success and text '\- test' Running test/cmd/basicresources.sh:177: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=3306' expecting success and text 'tcpSocket:'... SUCCESS after 0.239s: test/cmd/basicresources.sh:177: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=3306' expecting success and text 'tcpSocket:' Running test/cmd/basicresources.sh:178: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=3306' expecting success and text 'port: 3306'... SUCCESS after 0.256s: test/cmd/basicresources.sh:178: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=3306' expecting success and text 'port: 3306' Running test/cmd/basicresources.sh:179: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=port' expecting success and text 'port: port'... SUCCESS after 0.270s: test/cmd/basicresources.sh:179: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --open-tcp=port' expecting success and text 'port: port' Running test/cmd/basicresources.sh:180: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'port: port'... SUCCESS after 0.237s: test/cmd/basicresources.sh:180: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'port: port' Running test/cmd/basicresources.sh:181: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:8080/path' expecting success and text 'port: 8080'... SUCCESS after 0.229s: test/cmd/basicresources.sh:181: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:8080/path' expecting success and text 'port: 8080' Running test/cmd/basicresources.sh:182: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1/path' expecting success and text 'port: ""'... SUCCESS after 0.246s: test/cmd/basicresources.sh:182: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1/path' expecting success and text 'port: ""' Running test/cmd/basicresources.sh:183: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'path: /path'... SUCCESS after 0.244s: test/cmd/basicresources.sh:183: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'path: /path' Running test/cmd/basicresources.sh:184: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'scheme: HTTPS'... SUCCESS after 0.242s: test/cmd/basicresources.sh:184: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'scheme: HTTPS' Running test/cmd/basicresources.sh:185: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=http://127.0.0.1:port/path' expecting success and text 'scheme: HTTP'... SUCCESS after 0.228s: test/cmd/basicresources.sh:185: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=http://127.0.0.1:port/path' expecting success and text 'scheme: HTTP' Running test/cmd/basicresources.sh:186: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'host: 127.0.0.1'... SUCCESS after 0.243s: test/cmd/basicresources.sh:186: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'host: 127.0.0.1' Running test/cmd/basicresources.sh:187: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'port: port'... SUCCESS after 0.236s: test/cmd/basicresources.sh:187: executing 'oc set probe -f examples/hello-openshift/hello-pod.json -o yaml --liveness --get-url=https://127.0.0.1:port/path' expecting success and text 'port: port' Running test/cmd/basicresources.sh:188: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.359s: test/cmd/basicresources.sh:188: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/basicresources.sh:189: executing 'oc set probe dc/test-deployment-config --liveness' expecting failure and text 'Required value: must specify a handler type'... SUCCESS after 0.252s: test/cmd/basicresources.sh:189: executing 'oc set probe dc/test-deployment-config --liveness' expecting failure and text 'Required value: must specify a handler type' Running test/cmd/basicresources.sh:190: executing 'oc set probe dc test-deployment-config --liveness --open-tcp=8080' expecting success and text 'updated'... SUCCESS after 0.286s: test/cmd/basicresources.sh:190: executing 'oc set probe dc test-deployment-config --liveness --open-tcp=8080' expecting success and text 'updated' Running test/cmd/basicresources.sh:191: executing 'oc set probe dc/test-deployment-config --liveness --open-tcp=8080' expecting success and text 'was not changed'... SUCCESS after 0.253s: test/cmd/basicresources.sh:191: executing 'oc set probe dc/test-deployment-config --liveness --open-tcp=8080' expecting success and text 'was not changed' Running test/cmd/basicresources.sh:192: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'livenessProbe:'... SUCCESS after 0.271s: test/cmd/basicresources.sh:192: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'livenessProbe:' Running test/cmd/basicresources.sh:193: executing 'oc set probe dc/test-deployment-config --liveness --initial-delay-seconds=10' expecting success and text 'updated'... SUCCESS after 0.340s: test/cmd/basicresources.sh:193: executing 'oc set probe dc/test-deployment-config --liveness --initial-delay-seconds=10' expecting success and text 'updated' Running test/cmd/basicresources.sh:194: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 10'... SUCCESS after 0.264s: test/cmd/basicresources.sh:194: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 10' Running test/cmd/basicresources.sh:195: executing 'oc set probe dc/test-deployment-config --liveness --initial-delay-seconds=20' expecting success and text 'updated'... SUCCESS after 0.283s: test/cmd/basicresources.sh:195: executing 'oc set probe dc/test-deployment-config --liveness --initial-delay-seconds=20' expecting success and text 'updated' Running test/cmd/basicresources.sh:196: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20'... SUCCESS after 0.320s: test/cmd/basicresources.sh:196: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20' Running test/cmd/basicresources.sh:197: executing 'oc set probe dc/test-deployment-config --liveness --failure-threshold=2' expecting success and text 'updated'... SUCCESS after 0.345s: test/cmd/basicresources.sh:197: executing 'oc set probe dc/test-deployment-config --liveness --failure-threshold=2' expecting success and text 'updated' Running test/cmd/basicresources.sh:198: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20'... SUCCESS after 0.244s: test/cmd/basicresources.sh:198: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20' Running test/cmd/basicresources.sh:199: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'failureThreshold: 2'... SUCCESS after 0.241s: test/cmd/basicresources.sh:199: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'failureThreshold: 2' Running test/cmd/basicresources.sh:200: executing 'oc set probe dc/test-deployment-config --readiness --success-threshold=4 -- echo test' expecting success and text 'updated'... SUCCESS after 0.335s: test/cmd/basicresources.sh:200: executing 'oc set probe dc/test-deployment-config --readiness --success-threshold=4 -- echo test' expecting success and text 'updated' Running test/cmd/basicresources.sh:201: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20'... SUCCESS after 0.300s: test/cmd/basicresources.sh:201: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'initialDelaySeconds: 20' Running test/cmd/basicresources.sh:202: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'successThreshold: 4'... SUCCESS after 0.241s: test/cmd/basicresources.sh:202: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'successThreshold: 4' Running test/cmd/basicresources.sh:203: executing 'oc set probe dc test-deployment-config --liveness --period-seconds=5' expecting success and text 'updated'... SUCCESS after 0.313s: test/cmd/basicresources.sh:203: executing 'oc set probe dc test-deployment-config --liveness --period-seconds=5' expecting success and text 'updated' Running test/cmd/basicresources.sh:204: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'periodSeconds: 5'... SUCCESS after 0.322s: test/cmd/basicresources.sh:204: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'periodSeconds: 5' Running test/cmd/basicresources.sh:205: executing 'oc set probe dc/test-deployment-config --liveness --timeout-seconds=6' expecting success and text 'updated'... SUCCESS after 0.274s: test/cmd/basicresources.sh:205: executing 'oc set probe dc/test-deployment-config --liveness --timeout-seconds=6' expecting success and text 'updated' Running test/cmd/basicresources.sh:206: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'timeoutSeconds: 6'... SUCCESS after 0.249s: test/cmd/basicresources.sh:206: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'timeoutSeconds: 6' Running test/cmd/basicresources.sh:207: executing 'oc set probe dc --all --liveness --timeout-seconds=7' expecting success and text 'updated'... SUCCESS after 0.294s: test/cmd/basicresources.sh:207: executing 'oc set probe dc --all --liveness --timeout-seconds=7' expecting success and text 'updated' Running test/cmd/basicresources.sh:208: executing 'oc get dc -o yaml' expecting success and text 'timeoutSeconds: 7'... SUCCESS after 0.286s: test/cmd/basicresources.sh:208: executing 'oc get dc -o yaml' expecting success and text 'timeoutSeconds: 7' Running test/cmd/basicresources.sh:209: executing 'oc set probe dc/test-deployment-config --liveness --remove' expecting success and text 'updated'... SUCCESS after 0.287s: test/cmd/basicresources.sh:209: executing 'oc set probe dc/test-deployment-config --liveness --remove' expecting success and text 'updated' Running test/cmd/basicresources.sh:210: executing 'oc get dc/test-deployment-config -o yaml' expecting success and not text 'livenessProbe'... SUCCESS after 0.265s: test/cmd/basicresources.sh:210: executing 'oc get dc/test-deployment-config -o yaml' expecting success and not text 'livenessProbe' Running test/cmd/basicresources.sh:211: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.273s: test/cmd/basicresources.sh:211: executing 'oc delete dc/test-deployment-config' expecting success set probe: ok Running test/cmd/basicresources.sh:216: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.270s: test/cmd/basicresources.sh:216: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/basicresources.sh:217: executing 'oc create -f test/integration/testdata/test-buildcli.json' expecting success... SUCCESS after 0.349s: test/cmd/basicresources.sh:217: executing 'oc create -f test/integration/testdata/test-buildcli.json' expecting success Running test/cmd/basicresources.sh:218: executing 'oc set env dc/test-deployment-config FOO=1st' expecting success and text 'updated'... SUCCESS after 0.326s: test/cmd/basicresources.sh:218: executing 'oc set env dc/test-deployment-config FOO=1st' expecting success and text 'updated' Running test/cmd/basicresources.sh:219: executing 'oc set env dc/test-deployment-config FOO=2nd' expecting success and text 'updated'... SUCCESS after 0.289s: test/cmd/basicresources.sh:219: executing 'oc set env dc/test-deployment-config FOO=2nd' expecting success and text 'updated' Running test/cmd/basicresources.sh:220: executing 'oc set env dc/test-deployment-config FOO=bar --overwrite' expecting success and text 'updated'... SUCCESS after 0.296s: test/cmd/basicresources.sh:220: executing 'oc set env dc/test-deployment-config FOO=bar --overwrite' expecting success and text 'updated' Running test/cmd/basicresources.sh:221: executing 'oc set env dc/test-deployment-config FOO=zee --overwrite=false' expecting failure and text 'already has a value'... SUCCESS after 0.285s: test/cmd/basicresources.sh:221: executing 'oc set env dc/test-deployment-config FOO=zee --overwrite=false' expecting failure and text 'already has a value' Running test/cmd/basicresources.sh:222: executing 'oc set env dc/test-deployment-config --list' expecting success and text 'FOO=bar'... SUCCESS after 0.272s: test/cmd/basicresources.sh:222: executing 'oc set env dc/test-deployment-config --list' expecting success and text 'FOO=bar' Running test/cmd/basicresources.sh:223: executing 'oc set env dc/test-deployment-config FOO-' expecting success and text 'updated'... SUCCESS after 0.311s: test/cmd/basicresources.sh:223: executing 'oc set env dc/test-deployment-config FOO-' expecting success and text 'updated' Running test/cmd/basicresources.sh:224: executing 'oc set env bc --all FOO=bar' expecting success and text 'updated'... SUCCESS after 0.290s: test/cmd/basicresources.sh:224: executing 'oc set env bc --all FOO=bar' expecting success and text 'updated' Running test/cmd/basicresources.sh:225: executing 'oc set env bc --all --list' expecting success and text 'FOO=bar'... SUCCESS after 0.328s: test/cmd/basicresources.sh:225: executing 'oc set env bc --all --list' expecting success and text 'FOO=bar' Running test/cmd/basicresources.sh:226: executing 'oc set env bc --all FOO-' expecting success and text 'updated'... SUCCESS after 0.314s: test/cmd/basicresources.sh:226: executing 'oc set env bc --all FOO-' expecting success and text 'updated' Running test/cmd/basicresources.sh:227: executing 'oc create secret generic mysecret --from-literal='foo.bar=secret'' expecting success... SUCCESS after 0.290s: test/cmd/basicresources.sh:227: executing 'oc create secret generic mysecret --from-literal='foo.bar=secret'' expecting success Running test/cmd/basicresources.sh:228: executing 'oc set env --from=secret/mysecret --prefix=PREFIX_ dc/test-deployment-config' expecting success and text 'updated'... SUCCESS after 0.366s: test/cmd/basicresources.sh:228: executing 'oc set env --from=secret/mysecret --prefix=PREFIX_ dc/test-deployment-config' expecting success and text 'updated' Running test/cmd/basicresources.sh:229: executing 'oc set env dc/test-deployment-config --list' expecting success and text 'PREFIX_FOO_BAR from secret mysecret, key foo.bar'... SUCCESS after 0.321s: test/cmd/basicresources.sh:229: executing 'oc set env dc/test-deployment-config --list' expecting success and text 'PREFIX_FOO_BAR from secret mysecret, key foo.bar' Running test/cmd/basicresources.sh:230: executing 'oc set env dc/test-deployment-config --list --resolve' expecting success and text 'PREFIX_FOO_BAR=secret'... SUCCESS after 0.285s: test/cmd/basicresources.sh:230: executing 'oc set env dc/test-deployment-config --list --resolve' expecting success and text 'PREFIX_FOO_BAR=secret' Running test/cmd/basicresources.sh:231: executing 'oc delete secret mysecret' expecting success... SUCCESS after 0.248s: test/cmd/basicresources.sh:231: executing 'oc delete secret mysecret' expecting success Running test/cmd/basicresources.sh:232: executing 'oc set env dc/test-deployment-config --list --resolve' expecting failure and text 'error retrieving reference for PREFIX_FOO_BAR'... SUCCESS after 0.264s: test/cmd/basicresources.sh:232: executing 'oc set env dc/test-deployment-config --list --resolve' expecting failure and text 'error retrieving reference for PREFIX_FOO_BAR' Running test/cmd/basicresources.sh:235: executing 'oc config view --raw > /tmp/tmp.CX5jFzXExA/tempconfig' expecting success... SUCCESS after 0.223s: test/cmd/basicresources.sh:235: executing 'oc config view --raw > /tmp/tmp.CX5jFzXExA/tempconfig' expecting success Running test/cmd/basicresources.sh:238: executing 'oc policy add-role-to-user view view-user' expecting success... SUCCESS after 0.270s: test/cmd/basicresources.sh:238: executing 'oc policy add-role-to-user view view-user' expecting success Running test/cmd/basicresources.sh:239: executing 'oc login -u view-user -p anything' expecting success... SUCCESS after 0.297s: test/cmd/basicresources.sh:239: executing 'oc login -u view-user -p anything' expecting success Running test/cmd/basicresources.sh:240: executing 'oc project ${project}' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.269s: test/cmd/basicresources.sh:240: executing 'oc project ${project}' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:241: executing 'oc set env dc/test-deployment-config --list --resolve' expecting failure and text 'cannot get secrets in project'... SUCCESS after 0.334s: test/cmd/basicresources.sh:241: executing 'oc set env dc/test-deployment-config --list --resolve' expecting failure and text 'cannot get secrets in project' Logged into "https://172.17.0.2:28443" as "system:admin" using existing credentials. You have access to the following projects and can switch between them with 'oc project <projectname>': * cmd-basicresources default example kube-public kube-system openshift openshift-infra openshift-node recreated-project someotherproject ui-test-project Using project "cmd-basicresources". Running test/cmd/basicresources.sh:244: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.306s: test/cmd/basicresources.sh:244: executing 'oc delete dc/test-deployment-config' expecting success Running test/cmd/basicresources.sh:245: executing 'oc delete bc/ruby-sample-build-validtag' expecting success... SUCCESS after 0.256s: test/cmd/basicresources.sh:245: executing 'oc delete bc/ruby-sample-build-validtag' expecting success set env: ok Running test/cmd/basicresources.sh:251: executing 'oc create -f test/integration/testdata/test-service.json' expecting success... SUCCESS after 0.247s: test/cmd/basicresources.sh:251: executing 'oc create -f test/integration/testdata/test-service.json' expecting success Running test/cmd/basicresources.sh:252: executing 'oc expose service frontend --create-external-load-balancer' expecting failure... SUCCESS after 0.223s: test/cmd/basicresources.sh:252: executing 'oc expose service frontend --create-external-load-balancer' expecting failure Running test/cmd/basicresources.sh:253: executing 'oc expose service frontend --port=40 --type=NodePort' expecting failure... SUCCESS after 0.334s: test/cmd/basicresources.sh:253: executing 'oc expose service frontend --port=40 --type=NodePort' expecting failure Running test/cmd/basicresources.sh:254: executing 'oc expose service frontend --path=/test' expecting success... SUCCESS after 0.402s: test/cmd/basicresources.sh:254: executing 'oc expose service frontend --path=/test' expecting success Running test/cmd/basicresources.sh:255: executing 'oc get route frontend --output-version=v1 --template='{{.spec.path}}'' expecting success and text '/test'... SUCCESS after 0.256s: test/cmd/basicresources.sh:255: executing 'oc get route frontend --output-version=v1 --template='{{.spec.path}}'' expecting success and text '/test' Running test/cmd/basicresources.sh:256: executing 'oc get route frontend --output-version=v1 --template='{{.spec.to.name}}'' expecting success and text 'frontend'... SUCCESS after 0.261s: test/cmd/basicresources.sh:256: executing 'oc get route frontend --output-version=v1 --template='{{.spec.to.name}}'' expecting success and text 'frontend' Running test/cmd/basicresources.sh:257: executing 'oc get route frontend --output-version=v1 --template='{{.spec.port.targetPort}}'' expecting success... SUCCESS after 0.342s: test/cmd/basicresources.sh:257: executing 'oc get route frontend --output-version=v1 --template='{{.spec.port.targetPort}}'' expecting success Running test/cmd/basicresources.sh:258: executing 'oc delete svc,route -l name=frontend' expecting success... SUCCESS after 0.272s: test/cmd/basicresources.sh:258: executing 'oc delete svc,route -l name=frontend' expecting success Running test/cmd/basicresources.sh:260: executing 'oc create -f test/testdata/external-service.yaml' expecting success... SUCCESS after 0.302s: test/cmd/basicresources.sh:260: executing 'oc create -f test/testdata/external-service.yaml' expecting success Running test/cmd/basicresources.sh:261: executing 'oc expose svc/external' expecting success... SUCCESS after 0.285s: test/cmd/basicresources.sh:261: executing 'oc expose svc/external' expecting success Running test/cmd/basicresources.sh:262: executing 'oc get route external' expecting success and text 'external'... SUCCESS after 0.472s: test/cmd/basicresources.sh:262: executing 'oc get route external' expecting success and text 'external' Running test/cmd/basicresources.sh:263: executing 'oc delete route external' expecting success... SUCCESS after 0.270s: test/cmd/basicresources.sh:263: executing 'oc delete route external' expecting success Running test/cmd/basicresources.sh:264: executing 'oc delete svc external' expecting success... SUCCESS after 0.260s: test/cmd/basicresources.sh:264: executing 'oc delete svc external' expecting success Running test/cmd/basicresources.sh:266: executing 'oc create -f test/testdata/multiport-service.yaml' expecting success... SUCCESS after 0.262s: test/cmd/basicresources.sh:266: executing 'oc create -f test/testdata/multiport-service.yaml' expecting success Running test/cmd/basicresources.sh:267: executing 'oc expose svc/frontend --name route-with-set-port' expecting success... SUCCESS after 0.301s: test/cmd/basicresources.sh:267: executing 'oc expose svc/frontend --name route-with-set-port' expecting success Running test/cmd/basicresources.sh:268: executing 'oc get route route-with-set-port --template='{{.spec.port.targetPort}}'' expecting success and text 'web'... SUCCESS after 0.268s: test/cmd/basicresources.sh:268: executing 'oc get route route-with-set-port --template='{{.spec.port.targetPort}}'' expecting success and text 'web' expose: ok Running test/cmd/basicresources.sh:273: executing 'oc create -f test/testdata/oauthaccesstoken.yaml' expecting success... SUCCESS after 0.241s: test/cmd/basicresources.sh:273: executing 'oc create -f test/testdata/oauthaccesstoken.yaml' expecting success Running test/cmd/basicresources.sh:274: executing 'oc describe oauthaccesstoken DYGZDLucARCPIfUeKPhsgPfn0WBLR_9KdeREH0c9iod' expecting success and text 'DYGZDLucARCPIfUeKPhsgPfn0WBLR_9KdeREH0c9iod'... SUCCESS after 0.263s: test/cmd/basicresources.sh:274: executing 'oc describe oauthaccesstoken DYGZDLucARCPIfUeKPhsgPfn0WBLR_9KdeREH0c9iod' expecting success and text 'DYGZDLucARCPIfUeKPhsgPfn0WBLR_9KdeREH0c9iod' OAuth descriptor: ok Running test/cmd/basicresources.sh:277: executing 'oc delete all --all' expecting success... SUCCESS after 0.488s: test/cmd/basicresources.sh:277: executing 'oc delete all --all' expecting success Running test/cmd/basicresources.sh:282: executing 'oc config view --raw > '/tmp/tmp.xWTSjWUgK2/tempconfig'' expecting success... SUCCESS after 0.206s: test/cmd/basicresources.sh:282: executing 'oc config view --raw > '/tmp/tmp.xWTSjWUgK2/tempconfig'' expecting success Running test/cmd/basicresources.sh:284: executing 'oc policy add-role-to-user admin project-admin' expecting success... SUCCESS after 0.231s: test/cmd/basicresources.sh:284: executing 'oc policy add-role-to-user admin project-admin' expecting success Running test/cmd/basicresources.sh:285: executing 'oc login -u project-admin -p anything' expecting success... SUCCESS after 0.309s: test/cmd/basicresources.sh:285: executing 'oc login -u project-admin -p anything' expecting success Running test/cmd/basicresources.sh:286: executing 'oc new-project test-project-admin' expecting success... SUCCESS after 0.528s: test/cmd/basicresources.sh:286: executing 'oc new-project test-project-admin' expecting success Running test/cmd/basicresources.sh:287: executing 'oc project test-project-admin' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.251s: test/cmd/basicresources.sh:287: executing 'oc project test-project-admin' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/basicresources.sh:289: executing 'oc run --image=openshift/hello-openshift test' expecting success... SUCCESS after 0.259s: test/cmd/basicresources.sh:289: executing 'oc run --image=openshift/hello-openshift test' expecting success Running test/cmd/basicresources.sh:290: executing 'oc run --image=openshift/hello-openshift --generator=run-controller/v1 test2' expecting success... SUCCESS after 0.243s: test/cmd/basicresources.sh:290: executing 'oc run --image=openshift/hello-openshift --generator=run-controller/v1 test2' expecting success Running test/cmd/basicresources.sh:291: executing 'oc run --image=openshift/hello-openshift --restart=Never test3' expecting success... SUCCESS after 0.339s: test/cmd/basicresources.sh:291: executing 'oc run --image=openshift/hello-openshift --restart=Never test3' expecting success Running test/cmd/basicresources.sh:292: executing 'oc run --image=openshift/hello-openshift --generator=job/v1 --restart=Never test4' expecting success... SUCCESS after 0.272s: test/cmd/basicresources.sh:292: executing 'oc run --image=openshift/hello-openshift --generator=job/v1 --restart=Never test4' expecting success Running test/cmd/basicresources.sh:293: executing 'oc delete dc/test rc/test2 pod/test3 job/test4' expecting success... SUCCESS after 4.124s: test/cmd/basicresources.sh:293: executing 'oc delete dc/test rc/test2 pod/test3 job/test4' expecting success Running test/cmd/basicresources.sh:295: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}"' expecting success and text 'DeploymentConfig v1'... SUCCESS after 0.254s: test/cmd/basicresources.sh:295: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}"' expecting success and text 'DeploymentConfig v1' Running test/cmd/basicresources.sh:296: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --restart=Always' expecting success and text 'DeploymentConfig v1'... SUCCESS after 0.272s: test/cmd/basicresources.sh:296: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --restart=Always' expecting success and text 'DeploymentConfig v1' Running test/cmd/basicresources.sh:297: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --restart=Never' expecting success and text 'Pod v1'... SUCCESS after 0.279s: test/cmd/basicresources.sh:297: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --restart=Never' expecting success and text 'Pod v1' Running test/cmd/basicresources.sh:299: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=job/v1' expecting success and text 'Job batch/v1'... SUCCESS after 0.281s: test/cmd/basicresources.sh:299: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=job/v1' expecting success and text 'Job batch/v1' Running test/cmd/basicresources.sh:300: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=deploymentconfig/v1' expecting success and text 'DeploymentConfig v1'... SUCCESS after 0.242s: test/cmd/basicresources.sh:300: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=deploymentconfig/v1' expecting success and text 'DeploymentConfig v1' Running test/cmd/basicresources.sh:301: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run-controller/v1' expecting success and text 'ReplicationController v1'... SUCCESS after 0.243s: test/cmd/basicresources.sh:301: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run-controller/v1' expecting success and text 'ReplicationController v1' Running test/cmd/basicresources.sh:302: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run/v1' expecting success and text 'ReplicationController v1'... SUCCESS after 0.315s: test/cmd/basicresources.sh:302: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run/v1' expecting success and text 'ReplicationController v1' Running test/cmd/basicresources.sh:303: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run-pod/v1' expecting success and text 'Pod v1'... SUCCESS after 0.238s: test/cmd/basicresources.sh:303: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=run-pod/v1' expecting success and text 'Pod v1' Running test/cmd/basicresources.sh:304: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=deployment/v1beta1' expecting success and text 'Deployment extensions/v1beta1'... SUCCESS after 0.249s: test/cmd/basicresources.sh:304: executing 'oc run --dry-run foo --image=bar -o "go-template={{.kind}} {{.apiVersion}}" --generator=deployment/v1beta1' expecting success and text 'Deployment extensions/v1beta1' Running test/cmd/basicresources.sh:306: executing 'oc process -f examples/sample-app/application-template-stibuild.json -l name=mytemplate | oc create -f -' expecting success... SUCCESS after 0.477s: test/cmd/basicresources.sh:306: executing 'oc process -f examples/sample-app/application-template-stibuild.json -l name=mytemplate | oc create -f -' expecting success Running test/cmd/basicresources.sh:307: executing 'oc delete all -l name=mytemplate' expecting success... SUCCESS after 2.792s: test/cmd/basicresources.sh:307: executing 'oc delete all -l name=mytemplate' expecting success Running test/cmd/basicresources.sh:308: executing 'oc new-app https://github.com/openshift/ruby-hello-world' expecting success... SUCCESS after 1.313s: test/cmd/basicresources.sh:308: executing 'oc new-app https://github.com/openshift/ruby-hello-world' expecting success Running test/cmd/basicresources.sh:309: executing 'oc get dc/ruby-hello-world' expecting success... SUCCESS after 0.450s: test/cmd/basicresources.sh:309: executing 'oc get dc/ruby-hello-world' expecting success Running test/cmd/basicresources.sh:311: executing 'oc get dc/ruby-hello-world --template='{{ .spec.replicas }}'' expecting success and text '1'... SUCCESS after 0.243s: test/cmd/basicresources.sh:311: executing 'oc get dc/ruby-hello-world --template='{{ .spec.replicas }}'' expecting success and text '1' Running test/cmd/basicresources.sh:313: executing 'oc patch dc/ruby-hello-world -p '{"spec": {"replicas": 2}}'' expecting success... SUCCESS after 0.243s: test/cmd/basicresources.sh:313: executing 'oc patch dc/ruby-hello-world -p '{"spec": {"replicas": 2}}'' expecting success Running test/cmd/basicresources.sh:314: executing 'oc get dc/ruby-hello-world --template='{{ .spec.replicas }}'' expecting success and text '2'... SUCCESS after 0.272s: test/cmd/basicresources.sh:314: executing 'oc get dc/ruby-hello-world --template='{{ .spec.replicas }}'' expecting success and text '2' Running test/cmd/basicresources.sh:316: executing 'oc delete all -l app=ruby-hello-world' expecting success... SUCCESS after 1.758s: test/cmd/basicresources.sh:316: executing 'oc delete all -l app=ruby-hello-world' expecting success Running test/cmd/basicresources.sh:317: executing 'oc get dc/ruby-hello-world' expecting failure... SUCCESS after 0.299s: test/cmd/basicresources.sh:317: executing 'oc get dc/ruby-hello-world' expecting failure delete all: ok Running test/cmd/basicresources.sh:322: executing 'oc new-project --token='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ0ZXN0LXByb2plY3QtYWRtaW4iLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoiYnVpbGRlci10b2tlbi14ZzdkNCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJidWlsZGVyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiMjgwZmQ2MjMtZmE1NC0xMWU5LTk1MGQtMDI0MmFjMTEwMDAyIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OnRlc3QtcHJvamVjdC1hZG1pbjpidWlsZGVyIn0.hx89FMlDhIIoe52vhIgM182Np-IokTS6rcyRC2vDMlT4J5UktShpnhFZftshbjIrH5CeG7LqAmq59g4iAW64VCd-_6teiyHUWVSmYKbN6FcmRrdI6jhMbs6O2hG-wGq2ndjyPv4M1VgOJezMjJ2ekS2DdEet5yOkYYllAQ-N6eClvHQmfj70SlK7lm86lrYRSMPC_Yq5s4oevrYDx-aVI6nSMqwgjKE1YmAD3XsPW7Lpfy3Ldo0bm8U5Cx8-Mh0xxxWDIGBuPRjuwU8dI-LV5fyBUFocqNVWymeWNFTBTf1kZ_xXurF-Y872CJuJoeODedZLNQoz4SbOBfMEyxYQHQ' will-fail' expecting failure and text 'Error from server \(Forbidden\): You may not request a new project via this API.'... SUCCESS after 0.230s: test/cmd/basicresources.sh:322: executing 'oc new-project --token='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ0ZXN0LXByb2plY3QtYWRtaW4iLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoiYnVpbGRlci10b2tlbi14ZzdkNCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJidWlsZGVyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiMjgwZmQ2MjMtZmE1NC0xMWU5LTk1MGQtMDI0MmFjMTEwMDAyIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OnRlc3QtcHJvamVjdC1hZG1pbjpidWlsZGVyIn0.hx89FMlDhIIoe52vhIgM182Np-IokTS6rcyRC2vDMlT4J5UktShpnhFZftshbjIrH5CeG7LqAmq59g4iAW64VCd-_6teiyHUWVSmYKbN6FcmRrdI6jhMbs6O2hG-wGq2ndjyPv4M1VgOJezMjJ2ekS2DdEet5yOkYYllAQ-N6eClvHQmfj70SlK7lm86lrYRSMPC_Yq5s4oevrYDx-aVI6nSMqwgjKE1YmAD3XsPW7Lpfy3Ldo0bm8U5Cx8-Mh0xxxWDIGBuPRjuwU8dI-LV5fyBUFocqNVWymeWNFTBTf1kZ_xXurF-Y872CJuJoeODedZLNQoz4SbOBfMEyxYQHQ' will-fail' expecting failure and text 'Error from server \(Forbidden\): You may not request a new project via this API.' Running test/cmd/basicresources.sh:326: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.298s: test/cmd/basicresources.sh:326: executing 'oc login -u system:admin' expecting success Running test/cmd/basicresources.sh:328: executing 'echo '{"kind":"Group","apiVersion":"v1","metadata":{"name":"patch-group"}}' | oc create -f -' expecting success... SUCCESS after 0.315s: test/cmd/basicresources.sh:328: executing 'echo '{"kind":"Group","apiVersion":"v1","metadata":{"name":"patch-group"}}' | oc create -f -' expecting success Running test/cmd/basicresources.sh:329: executing 'oc patch group patch-group -p 'users: ["myuser"]' --loglevel=8' expecting success... SUCCESS after 0.255s: test/cmd/basicresources.sh:329: executing 'oc patch group patch-group -p 'users: ["myuser"]' --loglevel=8' expecting success Running test/cmd/basicresources.sh:330: executing 'oc get group patch-group -o yaml' expecting success and text 'myuser'... SUCCESS after 0.264s: test/cmd/basicresources.sh:330: executing 'oc get group patch-group -o yaml' expecting success and text 'myuser' Running test/cmd/basicresources.sh:331: executing 'oc patch group patch-group -p 'users: []' --loglevel=8' expecting success... SUCCESS after 0.255s: test/cmd/basicresources.sh:331: executing 'oc patch group patch-group -p 'users: []' --loglevel=8' expecting success Running test/cmd/basicresources.sh:332: executing 'oc get group patch-group -o yaml' expecting success and text 'users: \[\]'... SUCCESS after 0.276s: test/cmd/basicresources.sh:332: executing 'oc get group patch-group -o yaml' expecting success and text 'users: \[\]' patch: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.261s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-basicresources'' expecting success... SUCCESS after 0.269s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-basicresources'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/builds.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.277s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.217s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-builds'' expecting success... SUCCESS after 0.380s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-builds'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-builds'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.773s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-builds'; re-trying every 0.2s until completion or 60.000s Running test/cmd/builds.sh:19: executing 'oc new-build centos/ruby-22-centos7 https://github.com/openshift/ruby-hello-world.git' expecting success... SUCCESS after 1.110s: test/cmd/builds.sh:19: executing 'oc new-build centos/ruby-22-centos7 https://github.com/openshift/ruby-hello-world.git' expecting success Running test/cmd/builds.sh:20: executing 'oc get bc/ruby-hello-world' expecting success... SUCCESS after 0.395s: test/cmd/builds.sh:20: executing 'oc get bc/ruby-hello-world' expecting success Running test/cmd/builds.sh:22: executing 'cat '/go/src/github.com/openshift/origin/images/origin/Dockerfile' | oc new-build -D - --name=test' expecting success... SUCCESS after 0.457s: test/cmd/builds.sh:22: executing 'cat '/go/src/github.com/openshift/origin/images/origin/Dockerfile' | oc new-build -D - --name=test' expecting success Running test/cmd/builds.sh:23: executing 'oc get bc/test' expecting success... SUCCESS after 0.580s: test/cmd/builds.sh:23: executing 'oc get bc/test' expecting success Running test/cmd/builds.sh:28: executing 'oc new-build --dockerfile=$'FROM centos:7\nRUN yum install -y httpd'' expecting success... SUCCESS after 0.698s: test/cmd/builds.sh:28: executing 'oc new-build --dockerfile=$'FROM centos:7\nRUN yum install -y httpd'' expecting success Running test/cmd/builds.sh:29: executing 'oc get bc/centos --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag centos:latest$'... SUCCESS after 0.300s: test/cmd/builds.sh:29: executing 'oc get bc/centos --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag centos:latest$' Running test/cmd/builds.sh:32: executing 'oc new-build --binary' expecting failure and text 'you must provide a --name'... SUCCESS after 0.317s: test/cmd/builds.sh:32: executing 'oc new-build --binary' expecting failure and text 'you must provide a --name' Running test/cmd/builds.sh:35: executing 'oc new-build --binary --name=binary-test' expecting success... SUCCESS after 0.275s: test/cmd/builds.sh:35: executing 'oc new-build --binary --name=binary-test' expecting success Running test/cmd/builds.sh:36: executing 'oc get bc/binary-test' expecting success and text 'Binary'... SUCCESS after 0.479s: test/cmd/builds.sh:36: executing 'oc get bc/binary-test' expecting success and text 'Binary' Running test/cmd/builds.sh:38: executing 'oc delete is/binary-test bc/binary-test' expecting success... SUCCESS after 0.346s: test/cmd/builds.sh:38: executing 'oc delete is/binary-test bc/binary-test' expecting success Running test/cmd/builds.sh:41: executing 'oc new-build -D $'FROM openshift/origin:v1.1' --to-docker' expecting success... SUCCESS after 0.449s: test/cmd/builds.sh:41: executing 'oc new-build -D $'FROM openshift/origin:v1.1' --to-docker' expecting success Running test/cmd/builds.sh:42: executing 'oc get bc/origin --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^DockerImage origin:latest$'... SUCCESS after 0.272s: test/cmd/builds.sh:42: executing 'oc get bc/origin --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^DockerImage origin:latest$' Running test/cmd/builds.sh:44: executing 'oc delete is/origin' expecting success... SUCCESS after 0.264s: test/cmd/builds.sh:44: executing 'oc delete is/origin' expecting success Running test/cmd/builds.sh:47: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to origin-test:v1.1' expecting success... SUCCESS after 0.539s: test/cmd/builds.sh:47: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to origin-test:v1.1' expecting success Running test/cmd/builds.sh:48: executing 'oc get bc/origin-test --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag origin-test:v1.1$'... SUCCESS after 0.243s: test/cmd/builds.sh:48: executing 'oc get bc/origin-test --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag origin-test:v1.1$' Running test/cmd/builds.sh:50: executing 'oc delete is/origin bc/origin' expecting success... SUCCESS after 0.296s: test/cmd/builds.sh:50: executing 'oc delete is/origin bc/origin' expecting success Running test/cmd/builds.sh:53: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to-docker --to openshift/origin:v1.1-test' expecting success... SUCCESS after 0.547s: test/cmd/builds.sh:53: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to-docker --to openshift/origin:v1.1-test' expecting success Running test/cmd/builds.sh:54: executing 'oc get bc/origin --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^DockerImage openshift/origin:v1.1-test$'... SUCCESS after 0.341s: test/cmd/builds.sh:54: executing 'oc get bc/origin --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^DockerImage openshift/origin:v1.1-test$' Running test/cmd/builds.sh:56: executing 'oc delete is/origin' expecting success... SUCCESS after 0.267s: test/cmd/builds.sh:56: executing 'oc delete is/origin' expecting success Running test/cmd/builds.sh:59: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to origin-name-test --name origin-test2' expecting success... SUCCESS after 0.392s: test/cmd/builds.sh:59: executing 'oc new-build -D $'FROM openshift/origin:v1.1\nENV ok=1' --to origin-name-test --name origin-test2' expecting success Running test/cmd/builds.sh:60: executing 'oc get bc/origin-test2 --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag origin-name-test:latest$'... SUCCESS after 0.265s: test/cmd/builds.sh:60: executing 'oc get bc/origin-test2 --template '{{with .spec.output.to}}{{.kind}} {{.name}}{{end}}'' expecting success and text '^ImageStreamTag origin-name-test:latest$' Running test/cmd/builds.sh:62: executing 'oc get is ruby-22-centos7' expecting any result and text 'latest'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.522s: test/cmd/builds.sh:62: executing 'oc get is ruby-22-centos7' expecting any result and text 'latest'; re-trying every 0.2s until completion or 60.000s Running test/cmd/builds.sh:63: executing 'oc new-build ruby-22-centos7~https://github.com/openshift/ruby-ex ruby-22-centos7~https://github.com/openshift/ruby-ex --to invalid/argument' expecting failure and text 'error: only one component with source can be used when specifying an output image reference'... SUCCESS after 0.292s: test/cmd/builds.sh:63: executing 'oc new-build ruby-22-centos7~https://github.com/openshift/ruby-ex ruby-22-centos7~https://github.com/openshift/ruby-ex --to invalid/argument' expecting failure and text 'error: only one component with source can be used when specifying an output image reference' Running test/cmd/builds.sh:65: executing 'oc delete all --all' expecting success... SUCCESS after 0.637s: test/cmd/builds.sh:65: executing 'oc delete all --all' expecting success Running test/cmd/builds.sh:67: executing 'oc new-build -D $'FROM centos:7' --no-output' expecting success... SUCCESS after 0.594s: test/cmd/builds.sh:67: executing 'oc new-build -D $'FROM centos:7' --no-output' expecting success Running test/cmd/builds.sh:68: executing 'oc get bc/centos -o=jsonpath="{.spec.output.to}"' expecting success and not text '.'... SUCCESS after 0.360s: test/cmd/builds.sh:68: executing 'oc get bc/centos -o=jsonpath="{.spec.output.to}"' expecting success and not text '.' Running test/cmd/builds.sh:71: executing 'oc new-build -D "FROM centos:7" -o json | python -m json.tool' expecting success... SUCCESS after 0.315s: test/cmd/builds.sh:71: executing 'oc new-build -D "FROM centos:7" -o json | python -m json.tool' expecting success Running test/cmd/builds.sh:73: executing 'oc delete all --all' expecting success... SUCCESS after 0.494s: test/cmd/builds.sh:73: executing 'oc delete all --all' expecting success Running test/cmd/builds.sh:74: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l build=docker | oc create -f -' expecting success... SUCCESS after 0.516s: test/cmd/builds.sh:74: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l build=docker | oc create -f -' expecting success Running test/cmd/builds.sh:75: executing 'oc get buildConfigs' expecting success... SUCCESS after 0.539s: test/cmd/builds.sh:75: executing 'oc get buildConfigs' expecting success Running test/cmd/builds.sh:76: executing 'oc get bc' expecting success... SUCCESS after 0.449s: test/cmd/builds.sh:76: executing 'oc get bc' expecting success Running test/cmd/builds.sh:77: executing 'oc get builds' expecting success... SUCCESS after 0.435s: test/cmd/builds.sh:77: executing 'oc get builds' expecting success Running test/cmd/builds.sh:80: executing 'oc get is ruby-22-centos7' expecting any result and text 'latest'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.395s: test/cmd/builds.sh:80: executing 'oc get is ruby-22-centos7' expecting any result and text 'latest'; re-trying every 0.2s until completion or 60.000s Running test/cmd/builds.sh:84: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"different:tag1"}}}}'' expecting success... SUCCESS after 0.303s: test/cmd/builds.sh:84: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"different:tag1"}}}}'' expecting success Running test/cmd/builds.sh:85: executing 'oc get bc/ruby-sample-build --template='{{ .spec.output.to.name }}'' expecting success and text 'different'... SUCCESS after 0.378s: test/cmd/builds.sh:85: executing 'oc get bc/ruby-sample-build --template='{{ .spec.output.to.name }}'' expecting success and text 'different' Running test/cmd/builds.sh:86: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"origin-ruby-sample:latest"}}}}'' expecting success... SUCCESS after 0.352s: test/cmd/builds.sh:86: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"origin-ruby-sample:latest"}}}}'' expecting success patchAnonFields: ok Running test/cmd/builds.sh:91: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text ':28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/<secret>/github'... SUCCESS after 0.260s: test/cmd/builds.sh:91: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text ':28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/<secret>/github' Running test/cmd/builds.sh:92: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook GitHub'... SUCCESS after 0.269s: test/cmd/builds.sh:92: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook GitHub' Running test/cmd/builds.sh:93: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text ':28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/<secret>/generic'... SUCCESS after 0.292s: test/cmd/builds.sh:93: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text ':28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/<secret>/generic' Running test/cmd/builds.sh:94: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook Generic'... SUCCESS after 0.315s: test/cmd/builds.sh:94: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook Generic' Running test/cmd/builds.sh:95: executing 'oc start-build --list-webhooks=all ruby-sample-build' expecting success... SUCCESS after 0.267s: test/cmd/builds.sh:95: executing 'oc start-build --list-webhooks=all ruby-sample-build' expecting success Running test/cmd/builds.sh:96: executing 'oc start-build --list-webhooks=all bc/ruby-sample-build' expecting success and text 'generic'... SUCCESS after 0.286s: test/cmd/builds.sh:96: executing 'oc start-build --list-webhooks=all bc/ruby-sample-build' expecting success and text 'generic' Running test/cmd/builds.sh:97: executing 'oc start-build --list-webhooks=all ruby-sample-build' expecting success and text 'github'... SUCCESS after 0.234s: test/cmd/builds.sh:97: executing 'oc start-build --list-webhooks=all ruby-sample-build' expecting success and text 'github' Running test/cmd/builds.sh:98: executing 'oc start-build --list-webhooks=github ruby-sample-build' expecting success and text '<secret>'... SUCCESS after 0.249s: test/cmd/builds.sh:98: executing 'oc start-build --list-webhooks=github ruby-sample-build' expecting success and text '<secret>' Running test/cmd/builds.sh:99: executing 'oc start-build --list-webhooks=blah' expecting failure... SUCCESS after 0.303s: test/cmd/builds.sh:99: executing 'oc start-build --list-webhooks=blah' expecting failure Running test/cmd/builds.sh:102: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic' expecting success and text 'build "ruby-sample-build-[0-9]" started'... SUCCESS after 0.270s: test/cmd/builds.sh:102: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic' expecting success and text 'build "ruby-sample-build-[0-9]" started' Running test/cmd/builds.sh:103: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic/foo' expecting failure and text 'error: server rejected our request'... SUCCESS after 0.232s: test/cmd/builds.sh:103: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic/foo' expecting failure and text 'error: server rejected our request' Running test/cmd/builds.sh:104: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"strategy":{"dockerStrategy":{"from":{"name":"asdf:7"}}}}}'' expecting success... SUCCESS after 0.294s: test/cmd/builds.sh:104: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"strategy":{"dockerStrategy":{"from":{"name":"asdf:7"}}}}}'' expecting success Running test/cmd/builds.sh:105: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic' expecting failure and text 'Error resolving ImageStreamTag asdf:7'... SUCCESS after 0.334s: test/cmd/builds.sh:105: executing 'oc start-build --from-webhook=https://172.17.0.2:28443/apis/build.openshift.io/v1/namespaces/cmd-builds/buildconfigs/ruby-sample-build/webhooks/secret101/generic' expecting failure and text 'Error resolving ImageStreamTag asdf:7' Running test/cmd/builds.sh:106: executing 'oc get builds' expecting success... SUCCESS after 0.403s: test/cmd/builds.sh:106: executing 'oc get builds' expecting success Running test/cmd/builds.sh:107: executing 'oc set triggers bc/ruby-sample-build --from-github --remove' expecting success... SUCCESS after 0.276s: test/cmd/builds.sh:107: executing 'oc set triggers bc/ruby-sample-build --from-github --remove' expecting success Running test/cmd/builds.sh:108: executing 'oc describe buildConfigs ruby-sample-build' expecting success and not text 'Webhook GitHub'... SUCCESS after 0.508s: test/cmd/builds.sh:108: executing 'oc describe buildConfigs ruby-sample-build' expecting success and not text 'Webhook GitHub' Running test/cmd/builds.sh:110: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"triggers":[{"github":{"secretReference":{"name":"mysecret"}},"type":"GitHub"}]}}'' expecting success... SUCCESS after 0.335s: test/cmd/builds.sh:110: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"triggers":[{"github":{"secretReference":{"name":"mysecret"}},"type":"GitHub"}]}}'' expecting success Running test/cmd/builds.sh:111: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook GitHub'... SUCCESS after 0.262s: test/cmd/builds.sh:111: executing 'oc describe buildConfigs ruby-sample-build' expecting success and text 'Webhook GitHub' Running test/cmd/builds.sh:112: executing 'oc delete all -l build=docker' expecting success... SUCCESS after 2.640s: test/cmd/builds.sh:112: executing 'oc delete all -l build=docker' expecting success buildConfig: ok Running test/cmd/builds.sh:118: executing 'oc create -f test/integration/testdata/test-buildcli.json' expecting success... SUCCESS after 0.331s: test/cmd/builds.sh:118: executing 'oc create -f test/integration/testdata/test-buildcli.json' expecting success Running test/cmd/builds.sh:123: executing 'oc describe build ruby-sample-build-invalidtag-1' expecting success and text 'centos/ruby-22-centos7$'... SUCCESS after 0.261s: test/cmd/builds.sh:123: executing 'oc describe build ruby-sample-build-invalidtag-1' expecting success and text 'centos/ruby-22-centos7$' Running test/cmd/builds.sh:125: executing 'oc describe build ruby-sample-build-invalidtag-2' expecting success and text 'centos/ruby-22-centos7$'... SUCCESS after 0.389s: test/cmd/builds.sh:125: executing 'oc describe build ruby-sample-build-invalidtag-2' expecting success and text 'centos/ruby-22-centos7$' Running test/cmd/builds.sh:126: executing 'oc start-build ruby-sample-build-invalid-tag --from-dir=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds'... SUCCESS after 0.214s: test/cmd/builds.sh:126: executing 'oc start-build ruby-sample-build-invalid-tag --from-dir=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds' Running test/cmd/builds.sh:127: executing 'oc start-build ruby-sample-build-invalid-tag --from-file=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds'... SUCCESS after 0.210s: test/cmd/builds.sh:127: executing 'oc start-build ruby-sample-build-invalid-tag --from-file=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds' Running test/cmd/builds.sh:128: executing 'oc start-build ruby-sample-build-invalid-tag --from-repo=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds'... SUCCESS after 0.203s: test/cmd/builds.sh:128: executing 'oc start-build ruby-sample-build-invalid-tag --from-repo=. --from-build=ruby-sample-build-invalidtag-1' expecting failure and text 'Cannot use '--from-build' flag with binary builds' Running test/cmd/builds.sh:130: executing 'oc create -f test/extended/testdata/builds/test-s2i-build.json' expecting success... SUCCESS after 0.415s: test/cmd/builds.sh:130: executing 'oc create -f test/extended/testdata/builds/test-s2i-build.json' expecting success Running test/cmd/builds.sh:132: executing 'oc describe build/test-1' expecting success and not text 'Incremental Build'... SUCCESS after 0.280s: test/cmd/builds.sh:132: executing 'oc describe build/test-1' expecting success and not text 'Incremental Build' Running test/cmd/builds.sh:134: executing 'oc describe build/test-2' expecting success and text 'Incremental Build'... SUCCESS after 0.281s: test/cmd/builds.sh:134: executing 'oc describe build/test-2' expecting success and text 'Incremental Build' Running test/cmd/builds.sh:135: executing 'oc patch bc/test -p '{"spec":{"strategy":{"sourceStrategy":{"incremental": true}}}}'' expecting success... SUCCESS after 0.306s: test/cmd/builds.sh:135: executing 'oc patch bc/test -p '{"spec":{"strategy":{"sourceStrategy":{"incremental": true}}}}'' expecting success Running test/cmd/builds.sh:137: executing 'oc describe build/test-3' expecting success and text 'Incremental Build'... SUCCESS after 0.262s: test/cmd/builds.sh:137: executing 'oc describe build/test-3' expecting success and text 'Incremental Build' Running test/cmd/builds.sh:139: executing 'oc describe build/test-4' expecting success and not text 'Incremental Build'... SUCCESS after 0.269s: test/cmd/builds.sh:139: executing 'oc describe build/test-4' expecting success and not text 'Incremental Build' Running test/cmd/builds.sh:140: executing 'oc patch bc/test -p '{"spec":{"strategy":{"sourceStrategy":{"incremental": false}}}}'' expecting success... SUCCESS after 0.276s: test/cmd/builds.sh:140: executing 'oc patch bc/test -p '{"spec":{"strategy":{"sourceStrategy":{"incremental": false}}}}'' expecting success Running test/cmd/builds.sh:142: executing 'oc describe build/test-5' expecting success and not text 'Incremental Build'... SUCCESS after 0.356s: test/cmd/builds.sh:142: executing 'oc describe build/test-5' expecting success and not text 'Incremental Build' Running test/cmd/builds.sh:144: executing 'oc describe build/test-6' expecting success and text 'Incremental Build'... SUCCESS after 0.250s: test/cmd/builds.sh:144: executing 'oc describe build/test-6' expecting success and text 'Incremental Build' Running test/cmd/builds.sh:145: executing 'oc start-build test --no-cache' expecting failure and text 'Cannot specify Docker build specific options'... SUCCESS after 0.266s: test/cmd/builds.sh:145: executing 'oc start-build test --no-cache' expecting failure and text 'Cannot specify Docker build specific options' Running test/cmd/builds.sh:146: executing 'oc start-build test --build-arg=a=b' expecting failure and text 'Cannot specify Docker build specific options'... SUCCESS after 0.410s: test/cmd/builds.sh:146: executing 'oc start-build test --build-arg=a=b' expecting failure and text 'Cannot specify Docker build specific options' Running test/cmd/builds.sh:147: executing 'oc delete all --selector="name=test"' expecting success... SUCCESS after 0.791s: test/cmd/builds.sh:147: executing 'oc delete all --selector="name=test"' expecting success Running test/cmd/builds.sh:149: executing 'oc create -f test/extended/testdata/builds/test-docker-build.json' expecting success... SUCCESS after 0.340s: test/cmd/builds.sh:149: executing 'oc create -f test/extended/testdata/builds/test-docker-build.json' expecting success Running test/cmd/builds.sh:151: executing 'oc describe build/test-1' expecting success and not text 'No Cache'... SUCCESS after 0.261s: test/cmd/builds.sh:151: executing 'oc describe build/test-1' expecting success and not text 'No Cache' Running test/cmd/builds.sh:153: executing 'oc describe build/test-2' expecting success and text 'No Cache'... SUCCESS after 0.311s: test/cmd/builds.sh:153: executing 'oc describe build/test-2' expecting success and text 'No Cache' Running test/cmd/builds.sh:154: executing 'oc patch bc/test -p '{"spec":{"strategy":{"dockerStrategy":{"noCache": true}}}}'' expecting success... SUCCESS after 0.261s: test/cmd/builds.sh:154: executing 'oc patch bc/test -p '{"spec":{"strategy":{"dockerStrategy":{"noCache": true}}}}'' expecting success Running test/cmd/builds.sh:156: executing 'oc describe build/test-3' expecting success and text 'No Cache'... SUCCESS after 0.266s: test/cmd/builds.sh:156: executing 'oc describe build/test-3' expecting success and text 'No Cache' Running test/cmd/builds.sh:158: executing 'oc describe build/test-4' expecting success and not text 'No Cache'... SUCCESS after 0.258s: test/cmd/builds.sh:158: executing 'oc describe build/test-4' expecting success and not text 'No Cache' Running test/cmd/builds.sh:159: executing 'oc patch bc/test -p '{"spec":{"strategy":{"dockerStrategy":{"noCache": false}}}}'' expecting success... SUCCESS after 0.251s: test/cmd/builds.sh:159: executing 'oc patch bc/test -p '{"spec":{"strategy":{"dockerStrategy":{"noCache": false}}}}'' expecting success Running test/cmd/builds.sh:161: executing 'oc describe build/test-5' expecting success and not text 'No Cache'... SUCCESS after 0.313s: test/cmd/builds.sh:161: executing 'oc describe build/test-5' expecting success and not text 'No Cache' Running test/cmd/builds.sh:163: executing 'oc describe build/test-6' expecting success and text 'No Cache'... SUCCESS after 0.253s: test/cmd/builds.sh:163: executing 'oc describe build/test-6' expecting success and text 'No Cache' Running test/cmd/builds.sh:164: executing 'oc start-build test --incremental' expecting failure and text 'Cannot specify Source build specific options'... SUCCESS after 0.268s: test/cmd/builds.sh:164: executing 'oc start-build test --incremental' expecting failure and text 'Cannot specify Source build specific options' Running test/cmd/builds.sh:165: executing 'oc delete all --selector="name=test"' expecting success... SUCCESS after 0.901s: test/cmd/builds.sh:165: executing 'oc delete all --selector="name=test"' expecting success start-build: ok Running test/cmd/builds.sh:170: executing 'oc cancel-build ruby-sample-build-invalidtag-1 --dump-logs --restart' expecting success and text 'restarted build "ruby-sample-build-invalidtag-1"'... SUCCESS after 1.331s: test/cmd/builds.sh:170: executing 'oc cancel-build ruby-sample-build-invalidtag-1 --dump-logs --restart' expecting success and text 'restarted build "ruby-sample-build-invalidtag-1"' Running test/cmd/builds.sh:171: executing 'oc delete all --all' expecting success... SUCCESS after 0.480s: test/cmd/builds.sh:171: executing 'oc delete all --all' expecting success Running test/cmd/builds.sh:172: executing 'oc delete secret dbsecret' expecting success... SUCCESS after 0.268s: test/cmd/builds.sh:172: executing 'oc delete secret dbsecret' expecting success Running test/cmd/builds.sh:173: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l build=docker | oc create -f -' expecting success... SUCCESS after 0.598s: test/cmd/builds.sh:173: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l build=docker | oc create -f -' expecting success Running test/cmd/builds.sh:174: executing 'oc get build/ruby-sample-build-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.406s: test/cmd/builds.sh:174: executing 'oc get build/ruby-sample-build-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/builds.sh:176: executing 'oc cancel-build build/ruby-sample-build-1' expecting success and text 'build "ruby-sample-build-1" cancelled'... SUCCESS after 1.252s: test/cmd/builds.sh:176: executing 'oc cancel-build build/ruby-sample-build-1' expecting success and text 'build "ruby-sample-build-1" cancelled' Running test/cmd/builds.sh:178: executing 'oc cancel-build build/ruby-sample-build-1' expecting success... SUCCESS after 0.243s: test/cmd/builds.sh:178: executing 'oc cancel-build build/ruby-sample-build-1' expecting success Running test/cmd/builds.sh:180: executing 'oc start-build bc/ruby-sample-build' expecting success... SUCCESS after 0.448s: test/cmd/builds.sh:180: executing 'oc start-build bc/ruby-sample-build' expecting success Running test/cmd/builds.sh:181: executing 'oc start-build bc/ruby-sample-build' expecting success... SUCCESS after 0.355s: test/cmd/builds.sh:181: executing 'oc start-build bc/ruby-sample-build' expecting success Running test/cmd/builds.sh:183: executing 'oc cancel-build bc/ruby-sample-build,' expecting success and text '"ruby-sample-build-4" cancelled'... SUCCESS after 1.285s: test/cmd/builds.sh:183: executing 'oc cancel-build bc/ruby-sample-build,' expecting success and text '"ruby-sample-build-4" cancelled' Running test/cmd/builds.sh:184: executing 'oc get build ruby-sample-build-4 -o template --template '{{.status.phase}}',' expecting success and text 'Cancelled'... SUCCESS after 0.300s: test/cmd/builds.sh:184: executing 'oc get build ruby-sample-build-4 -o template --template '{{.status.phase}}',' expecting success and text 'Cancelled' Running test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success... SUCCESS after 0.017s: test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success Running test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success... SUCCESS after 0.014s: test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success Running test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success... SUCCESS after 0.017s: test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success Running test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success... SUCCESS after 0.018s: test/cmd/builds.sh:187: executing '[ "Cancelled" == "Cancelled" ]' expecting success Running test/cmd/builds.sh:190: executing 'oc cancel-build bc/ruby-sample-build' expecting success... SUCCESS after 0.283s: test/cmd/builds.sh:190: executing 'oc cancel-build bc/ruby-sample-build' expecting success Running test/cmd/builds.sh:191: executing 'oc delete all --all' expecting success... SUCCESS after 2.896s: test/cmd/builds.sh:191: executing 'oc delete all --all' expecting success Running test/cmd/builds.sh:192: executing 'oc delete secret dbsecret' expecting success... SUCCESS after 0.284s: test/cmd/builds.sh:192: executing 'oc delete secret dbsecret' expecting success cancel-build: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.215s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-builds'' expecting success... SUCCESS after 0.270s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-builds'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/certs.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.383s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.278s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-certs'' expecting success... SUCCESS after 0.310s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-certs'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-certs'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.751s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-certs'; re-trying every 0.2s until completion or 60.000s Running test/cmd/certs.sh:18: executing 'oc adm ca create-signer-cert --cert='/tmp/openshift/test-cmd/certs/ca.crt' --key='/tmp/openshift/test-cmd/certs/ca.key' --serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true' expecting success and not text 'WARNING: .* is greater than 5 years'... SUCCESS after 0.947s: test/cmd/certs.sh:18: executing 'oc adm ca create-signer-cert --cert='/tmp/openshift/test-cmd/certs/ca.crt' --key='/tmp/openshift/test-cmd/certs/ca.key' --serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true' expecting success and not text 'WARNING: .* is greater than 5 years' Running test/cmd/certs.sh:21: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '01'... SUCCESS after 0.019s: test/cmd/certs.sh:21: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '01' Running test/cmd/certs.sh:22: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.020s: test/cmd/certs.sh:22: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:27: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024'... SUCCESS after 0.029s: test/cmd/certs.sh:27: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024' Running test/cmd/certs.sh:39: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=some-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success... SUCCESS after 0.610s: test/cmd/certs.sh:39: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=some-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success Running test/cmd/certs.sh:41: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '02'... SUCCESS after 0.025s: test/cmd/certs.sh:41: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '02' Running test/cmd/certs.sh:42: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.028s: test/cmd/certs.sh:42: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:50: executing 'oc adm ca create-signer-cert --cert='/tmp/openshift/test-cmd/certs/ca.crt' --key='/tmp/openshift/test-cmd/certs/ca.key' --serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --expire-days=2190' expecting success and text 'WARNING: .* is greater than 5 years'... SUCCESS after 0.512s: test/cmd/certs.sh:50: executing 'oc adm ca create-signer-cert --cert='/tmp/openshift/test-cmd/certs/ca.crt' --key='/tmp/openshift/test-cmd/certs/ca.key' --serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --expire-days=2190' expecting success and text 'WARNING: .* is greater than 5 years' Running test/cmd/certs.sh:53: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '01'... SUCCESS after 0.018s: test/cmd/certs.sh:53: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '01' Running test/cmd/certs.sh:54: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.019s: test/cmd/certs.sh:54: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:59: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025'... SUCCESS after 0.030s: test/cmd/certs.sh:59: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025' Running test/cmd/certs.sh:78: executing 'oc adm create-node-config --node-dir='/tmp/openshift/test-cmd/certs' --node=example --hostnames=example.org --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --node-client-certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and not text 'WARNING: .* is greater than 2 years'... SUCCESS after 1.331s: test/cmd/certs.sh:78: executing 'oc adm create-node-config --node-dir='/tmp/openshift/test-cmd/certs' --node=example --hostnames=example.org --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --node-client-certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and not text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:81: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '03'... SUCCESS after 0.019s: test/cmd/certs.sh:81: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '03' Running test/cmd/certs.sh:82: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.019s: test/cmd/certs.sh:82: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:87: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.031s: test/cmd/certs.sh:87: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:87: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.034s: test/cmd/certs.sh:87: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:107: executing 'oc adm create-node-config --node-dir='/tmp/openshift/test-cmd/certs' --node=example --hostnames=example.org --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --node-client-certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years'... SUCCESS after 0.876s: test/cmd/certs.sh:107: executing 'oc adm create-node-config --node-dir='/tmp/openshift/test-cmd/certs' --node=example --hostnames=example.org --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --node-client-certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:110: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '05'... SUCCESS after 0.019s: test/cmd/certs.sh:110: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '05' Running test/cmd/certs.sh:111: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.019s: test/cmd/certs.sh:111: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:117: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.032s: test/cmd/certs.sh:117: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:117: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.033s: test/cmd/certs.sh:117: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:132: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=test-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and not text 'WARNING: .* is greater than 2 years'... SUCCESS after 0.309s: test/cmd/certs.sh:132: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=test-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and not text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:136: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '06'... SUCCESS after 0.022s: test/cmd/certs.sh:136: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '06' Running test/cmd/certs.sh:137: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.028s: test/cmd/certs.sh:137: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:141: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/test-user.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.047s: test/cmd/certs.sh:141: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/test-user.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:155: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=test-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years'... SUCCESS after 0.407s: test/cmd/certs.sh:155: executing 'oc adm create-api-client-config --client-dir='/tmp/openshift/test-cmd/certs' --user=test-user --certificate-authority='/tmp/openshift/test-cmd/certs/ca.crt' --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:158: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '07'... SUCCESS after 0.022s: test/cmd/certs.sh:158: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '07' Running test/cmd/certs.sh:159: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.024s: test/cmd/certs.sh:159: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:163: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/test-user.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.038s: test/cmd/certs.sh:163: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/test-user.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:176: executing 'oc adm ca create-server-cert --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --hostnames=example.org --cert='/tmp/openshift/test-cmd/certs/example.org.crt' --key='/tmp/openshift/test-cmd/certs/example.org.key'' expecting success and not text 'WARNING: .* is greater than 2 years'... SUCCESS after 0.810s: test/cmd/certs.sh:176: executing 'oc adm ca create-server-cert --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --hostnames=example.org --cert='/tmp/openshift/test-cmd/certs/example.org.crt' --key='/tmp/openshift/test-cmd/certs/example.org.key'' expecting success and not text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:179: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '08'... SUCCESS after 0.018s: test/cmd/certs.sh:179: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '08' Running test/cmd/certs.sh:180: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.018s: test/cmd/certs.sh:180: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:185: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/example.org.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.030s: test/cmd/certs.sh:185: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/example.org.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:197: executing 'oc adm ca create-server-cert --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --hostnames=example.org --cert='/tmp/openshift/test-cmd/certs/example.org.crt' --key='/tmp/openshift/test-cmd/certs/example.org.key' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years'... SUCCESS after 0.764s: test/cmd/certs.sh:197: executing 'oc adm ca create-server-cert --signer-cert='/tmp/openshift/test-cmd/certs/ca.crt' --signer-key='/tmp/openshift/test-cmd/certs/ca.key' --signer-serial='/tmp/openshift/test-cmd/certs/ca.serial.txt' --overwrite=true --hostnames=example.org --cert='/tmp/openshift/test-cmd/certs/example.org.crt' --key='/tmp/openshift/test-cmd/certs/example.org.key' --expire-days=1095' expecting success and text 'WARNING: .* is greater than 2 years' Running test/cmd/certs.sh:200: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '09'... SUCCESS after 0.019s: test/cmd/certs.sh:200: executing 'cat '/tmp/openshift/test-cmd/certs/ca.serial.txt'' expecting success and text '09' Running test/cmd/certs.sh:201: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1'... SUCCESS after 0.020s: test/cmd/certs.sh:201: executing 'tail -c 1 '/tmp/openshift/test-cmd/certs/ca.serial.txt' | wc -l' expecting success and text '1' Running test/cmd/certs.sh:206: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/example.org.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.031s: test/cmd/certs.sh:206: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/example.org.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:213: executing 'oc adm ca create-master-certs --cert-dir='/tmp/openshift/test-cmd/certs' --hostnames=example.org --overwrite=true' expecting success and not text 'WARNING: .* is greater than'... SUCCESS after 2.819s: test/cmd/certs.sh:213: executing 'oc adm ca create-master-certs --cert-dir='/tmp/openshift/test-cmd/certs' --hostnames=example.org --overwrite=true' expecting success and not text 'WARNING: .* is greater than' Running test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024'... SUCCESS after 0.031s: test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024' Running test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca-bundle.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024'... SUCCESS after 0.031s: test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca-bundle.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024' Running test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/service-signer.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024'... SUCCESS after 0.030s: test/cmd/certs.sh:219: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/service-signer.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2024' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/admin.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.030s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/admin.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.031s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/etcd.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.043s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/etcd.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.etcd-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.055s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.etcd-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.kubelet-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.043s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.kubelet-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.proxy-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.039s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.proxy-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/openshift-master.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021'... SUCCESS after 0.041s: test/cmd/certs.sh:226: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/openshift-master.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2021' Running test/cmd/certs.sh:236: executing 'oc adm ca create-master-certs --cert-dir='/tmp/openshift/test-cmd/certs' --hostnames=example.org --overwrite=true --expire-days=1095 --signer-expire-days=2190' expecting success and text 'WARNING: .* is greater than'... SUCCESS after 3.460s: test/cmd/certs.sh:236: executing 'oc adm ca create-master-certs --cert-dir='/tmp/openshift/test-cmd/certs' --hostnames=example.org --overwrite=true --expire-days=1095 --signer-expire-days=2190' expecting success and text 'WARNING: .* is greater than' Running test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025'... SUCCESS after 0.031s: test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025' Running test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca-bundle.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025'... SUCCESS after 0.042s: test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/ca-bundle.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025' Running test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/service-signer.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025'... SUCCESS after 0.043s: test/cmd/certs.sh:242: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/service-signer.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2025' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/admin.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.047s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/admin.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.038s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/etcd.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.038s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/etcd.server.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.etcd-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.034s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.etcd-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.kubelet-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.030s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.kubelet-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.proxy-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.030s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/master.proxy-client.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/openshift-master.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022'... SUCCESS after 0.039s: test/cmd/certs.sh:249: executing 'openssl x509 -in '/tmp/openshift/test-cmd/certs/openshift-master.crt' -enddate -noout | awk '{print $4}'' expecting success and text '2022' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.269s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-certs'' expecting success... SUCCESS after 0.259s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-certs'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/completions.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.374s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.313s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-completions'' expecting success... SUCCESS after 0.316s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-completions'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-completions'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.272s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-completions'; re-trying every 0.2s until completion or 60.000s Running test/cmd/completions.sh:9: executing 'oc completion -h' expecting success and text 'prints shell code'... SUCCESS after 0.209s: test/cmd/completions.sh:9: executing 'oc completion -h' expecting success and text 'prints shell code' Running test/cmd/completions.sh:10: executing 'openshift completion -h' expecting success and text 'prints shell code'... SUCCESS after 0.300s: test/cmd/completions.sh:10: executing 'openshift completion -h' expecting success and text 'prints shell code' Running test/cmd/completions.sh:12: executing 'oc completion' expecting failure and text 'Shell not specified.'... SUCCESS after 0.549s: test/cmd/completions.sh:12: executing 'oc completion' expecting failure and text 'Shell not specified.' Running test/cmd/completions.sh:13: executing 'oc completion bash' expecting success... SUCCESS after 0.556s: test/cmd/completions.sh:13: executing 'oc completion bash' expecting success Running test/cmd/completions.sh:14: executing 'oc completion zsh' expecting success... SUCCESS after 0.592s: test/cmd/completions.sh:14: executing 'oc completion zsh' expecting success Running test/cmd/completions.sh:15: executing 'oc completion test_shell' expecting failure and text 'Unsupported shell type "test_shell"'... SUCCESS after 0.402s: test/cmd/completions.sh:15: executing 'oc completion test_shell' expecting failure and text 'Unsupported shell type "test_shell"' Running test/cmd/completions.sh:17: executing 'openshift completion' expecting failure and text 'Shell not specified.'... SUCCESS after 0.244s: test/cmd/completions.sh:17: executing 'openshift completion' expecting failure and text 'Shell not specified.' Running test/cmd/completions.sh:18: executing 'openshift completion bash' expecting success... SUCCESS after 0.246s: test/cmd/completions.sh:18: executing 'openshift completion bash' expecting success Running test/cmd/completions.sh:19: executing 'openshift completion zsh' expecting success... SUCCESS after 0.274s: test/cmd/completions.sh:19: executing 'openshift completion zsh' expecting success Running test/cmd/completions.sh:20: executing 'openshift completion test_shell' expecting failure and text 'Unsupported shell type "test_shell"'... SUCCESS after 0.308s: test/cmd/completions.sh:20: executing 'openshift completion test_shell' expecting failure and text 'Unsupported shell type "test_shell"' oc completion: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.211s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-completions'' expecting success... SUCCESS after 0.270s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-completions'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/config.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.279s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.274s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-config'' expecting success... SUCCESS after 0.324s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-config'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-config'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.913s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-config'; re-trying every 0.2s until completion or 60.000s Running test/cmd/config.sh:22: executing 'oc get bc' expecting success and not text 'does not exist'... SUCCESS after 0.275s: test/cmd/config.sh:22: executing 'oc get bc' expecting success and not text 'does not exist' Running test/cmd/config.sh:28: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --user=""' expecting failure and text 'Missing or incomplete configuration info'... SUCCESS after 0.265s: test/cmd/config.sh:28: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --user=""' expecting failure and text 'Missing or incomplete configuration info' Running test/cmd/config.sh:29: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --context=""' expecting failure and text 'Missing or incomplete configuration info'... SUCCESS after 0.261s: test/cmd/config.sh:29: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --context=""' expecting failure and text 'Missing or incomplete configuration info' Running test/cmd/config.sh:30: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --cluster=""' expecting failure and text 'Missing or incomplete configuration info'... SUCCESS after 0.274s: test/cmd/config.sh:30: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --cluster=""' expecting failure and text 'Missing or incomplete configuration info' Running test/cmd/config.sh:32: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --context="test"' expecting failure and text 'context was not found for specified context: test'... SUCCESS after 0.263s: test/cmd/config.sh:32: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --context="test"' expecting failure and text 'context was not found for specified context: test' Running test/cmd/config.sh:33: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --cluster="test"' expecting failure and text 'no server found for cluster "test"'... SUCCESS after 0.272s: test/cmd/config.sh:33: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --cluster="test"' expecting failure and text 'no server found for cluster "test"' Running test/cmd/config.sh:34: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --user="test"' expecting failure and text 'auth info "test" does not exist'... SUCCESS after 0.233s: test/cmd/config.sh:34: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --user="test"' expecting failure and text 'auth info "test" does not exist' Running test/cmd/config.sh:36: executing 'oc get bc --config=missing' expecting failure and text 'missing: no such file or directory'... SUCCESS after 0.344s: test/cmd/config.sh:36: executing 'oc get bc --config=missing' expecting failure and text 'missing: no such file or directory' Running test/cmd/config.sh:42: executing 'oc config set-context new-context-name --cluster=missing-cluster --user=missing-user --namespace=default --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting success and text 'Context "new-context-name" '... SUCCESS after 0.434s: test/cmd/config.sh:42: executing 'oc config set-context new-context-name --cluster=missing-cluster --user=missing-user --namespace=default --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting success and text 'Context "new-context-name" ' Running test/cmd/config.sh:43: executing 'env -u KUBERNETES_SERVICE_HOST -u KUBECONFIG -u KUBERNETES_MASTER oc get buildconfigs --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting failure and text 'Missing or incomplete configuration info'... SUCCESS after 0.273s: test/cmd/config.sh:43: executing 'env -u KUBERNETES_SERVICE_HOST -u KUBECONFIG -u KUBERNETES_MASTER oc get buildconfigs --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting failure and text 'Missing or incomplete configuration info' Running test/cmd/config.sh:44: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting failure and text 'Missing or incomplete configuration info'... SUCCESS after 0.260s: test/cmd/config.sh:44: executing 'env -u KUBERNETES_SERVICE_HOST oc get buildconfigs --config='/tmp/openshift/test-cmd/new-config.yaml'' expecting failure and text 'Missing or incomplete configuration info' config error handling: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.238s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-config'' expecting success... SUCCESS after 0.299s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-config'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/convert.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.350s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.330s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-convert'' expecting success... SUCCESS after 0.308s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-convert'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-convert'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.883s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-convert'; re-trying every 0.2s until completion or 60.000s Running test/cmd/convert.sh:22: executing 'oc convert -f test/testdata/convert/job-v1.yaml | grep 'apiVersion: batch/v1'' expecting success... SUCCESS after 0.257s: test/cmd/convert.sh:22: executing 'oc convert -f test/testdata/convert/job-v1.yaml | grep 'apiVersion: batch/v1'' expecting success Running test/cmd/convert.sh:23: executing 'oc convert -f test/testdata/convert/job-v2.json | grep 'apiVersion: batch/v1beta1'' expecting success... SUCCESS after 0.260s: test/cmd/convert.sh:23: executing 'oc convert -f test/testdata/convert/job-v2.json | grep 'apiVersion: batch/v1beta1'' expecting success Running test/cmd/convert.sh:25: executing 'oc convert -f test/testdata/convert | oc create --dry-run -f -' expecting success and text 'job "pi" created'... SUCCESS after 0.435s: test/cmd/convert.sh:25: executing 'oc convert -f test/testdata/convert | oc create --dry-run -f -' expecting success and text 'job "pi" created' Running test/cmd/convert.sh:26: executing 'oc convert -f test/testdata/convert | oc create --dry-run -f -' expecting success and text 'cronjob "hello" created'... SUCCESS after 0.359s: test/cmd/convert.sh:26: executing 'oc convert -f test/testdata/convert | oc create --dry-run -f -' expecting success and text 'cronjob "hello" created' convert: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.280s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-convert'' expecting success... SUCCESS after 0.285s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-convert'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/create.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.412s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.266s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-create'' expecting success... SUCCESS after 0.330s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-create'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-create'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.811s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-create'; re-trying every 0.2s until completion or 60.000s Running test/cmd/create.sh:15: executing 'oc create quota quota --dry-run' expecting success and text 'resourcequota "quota" created \(dry run\)'... SUCCESS after 0.298s: test/cmd/create.sh:15: executing 'oc create quota quota --dry-run' expecting success and text 'resourcequota "quota" created \(dry run\)' oc create: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.221s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-create'' expecting success... SUCCESS after 0.297s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-create'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/debug.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.459s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.210s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-debug'' expecting success... SUCCESS after 0.329s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-debug'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-debug'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.281s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-debug'; re-trying every 0.2s until completion or 60.000s Running test/cmd/debug.sh:14: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.378s: test/cmd/debug.sh:14: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/debug.sh:15: executing 'oc debug dc/test-deployment-config -o yaml' expecting success and text '\- /bin/sh'... SUCCESS after 0.414s: test/cmd/debug.sh:15: executing 'oc debug dc/test-deployment-config -o yaml' expecting success and text '\- /bin/sh' Running test/cmd/debug.sh:16: executing 'oc debug dc/test-deployment-config --keep-annotations -o yaml' expecting success and text 'annotations:'... SUCCESS after 0.442s: test/cmd/debug.sh:16: executing 'oc debug dc/test-deployment-config --keep-annotations -o yaml' expecting success and text 'annotations:' Running test/cmd/debug.sh:17: executing 'oc debug dc/test-deployment-config --as-root -o yaml' expecting success and text 'runAsUser: 0'... SUCCESS after 0.503s: test/cmd/debug.sh:17: executing 'oc debug dc/test-deployment-config --as-root -o yaml' expecting success and text 'runAsUser: 0' Running test/cmd/debug.sh:18: executing 'oc debug dc/test-deployment-config --as-root=false -o yaml' expecting success and text 'runAsNonRoot: true'... SUCCESS after 0.485s: test/cmd/debug.sh:18: executing 'oc debug dc/test-deployment-config --as-root=false -o yaml' expecting success and text 'runAsNonRoot: true' Running test/cmd/debug.sh:19: executing 'oc debug dc/test-deployment-config --as-user=1 -o yaml' expecting success and text 'runAsUser: 1'... SUCCESS after 0.596s: test/cmd/debug.sh:19: executing 'oc debug dc/test-deployment-config --as-user=1 -o yaml' expecting success and text 'runAsUser: 1' Running test/cmd/debug.sh:20: executing 'oc debug dc/test-deployment-config --keep-liveness --keep-readiness -o yaml' expecting success... SUCCESS after 0.468s: test/cmd/debug.sh:20: executing 'oc debug dc/test-deployment-config --keep-liveness --keep-readiness -o yaml' expecting success Running test/cmd/debug.sh:21: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and text '\- /bin/env'... SUCCESS after 0.435s: test/cmd/debug.sh:21: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and text '\- /bin/env' Running test/cmd/debug.sh:22: executing 'oc debug -t dc/test-deployment-config -o yaml' expecting success and text 'stdinOnce'... SUCCESS after 0.614s: test/cmd/debug.sh:22: executing 'oc debug -t dc/test-deployment-config -o yaml' expecting success and text 'stdinOnce' Running test/cmd/debug.sh:23: executing 'oc debug -t dc/test-deployment-config -o yaml' expecting success and text 'tty'... SUCCESS after 0.465s: test/cmd/debug.sh:23: executing 'oc debug -t dc/test-deployment-config -o yaml' expecting success and text 'tty' Running test/cmd/debug.sh:24: executing 'oc debug --tty=false dc/test-deployment-config -o yaml' expecting success and not text 'tty'... SUCCESS after 0.417s: test/cmd/debug.sh:24: executing 'oc debug --tty=false dc/test-deployment-config -o yaml' expecting success and not text 'tty' Running test/cmd/debug.sh:25: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and not text 'stdin'... SUCCESS after 0.429s: test/cmd/debug.sh:25: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and not text 'stdin' Running test/cmd/debug.sh:26: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and not text 'tty'... SUCCESS after 0.593s: test/cmd/debug.sh:26: executing 'oc debug dc/test-deployment-config -o yaml -- /bin/env' expecting success and not text 'tty' Running test/cmd/debug.sh:27: executing 'oc debug dc/test-deployment-config --node-name=invalid -- /bin/env' expecting failure and text 'on node "invalid"'... SUCCESS after 1.133s: test/cmd/debug.sh:27: executing 'oc debug dc/test-deployment-config --node-name=invalid -- /bin/env' expecting failure and text 'on node "invalid"' Running test/cmd/debug.sh:29: executing 'oc debug -T -f examples/hello-openshift/hello-pod.json -o yaml' expecting success and not text 'tty'... SUCCESS after 0.536s: test/cmd/debug.sh:29: executing 'oc debug -T -f examples/hello-openshift/hello-pod.json -o yaml' expecting success and not text 'tty' Running test/cmd/debug.sh:30: executing 'oc debug -f examples/hello-openshift/hello-pod.json --keep-liveness --keep-readiness -o yaml' expecting success... SUCCESS after 0.455s: test/cmd/debug.sh:30: executing 'oc debug -f examples/hello-openshift/hello-pod.json --keep-liveness --keep-readiness -o yaml' expecting success Running test/cmd/debug.sh:31: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and text '\- /bin/env'... SUCCESS after 0.692s: test/cmd/debug.sh:31: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and text '\- /bin/env' Running test/cmd/debug.sh:32: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and not text 'stdin'... SUCCESS after 0.358s: test/cmd/debug.sh:32: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and not text 'stdin' Running test/cmd/debug.sh:33: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and not text 'tty'... SUCCESS after 0.499s: test/cmd/debug.sh:33: executing 'oc debug -f examples/hello-openshift/hello-pod.json -o yaml -- /bin/env' expecting success and not text 'tty' Running test/cmd/debug.sh:38: executing 'oc create -f test/integration/testdata/test-replication-controller.yaml' expecting success... SUCCESS after 0.351s: test/cmd/debug.sh:38: executing 'oc create -f test/integration/testdata/test-replication-controller.yaml' expecting success Running test/cmd/debug.sh:39: executing 'oc scale --replicas=0 rc/test-replication-controller' expecting success... SUCCESS after 0.359s: test/cmd/debug.sh:39: executing 'oc scale --replicas=0 rc/test-replication-controller' expecting success Running test/cmd/debug.sh:40: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container rc/test-replication-controller -o jsonpath='{.metadata.name}'' expecting success and text 'test-replication-controller-debug'... SUCCESS after 0.370s: test/cmd/debug.sh:40: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container rc/test-replication-controller -o jsonpath='{.metadata.name}'' expecting success and text 'test-replication-controller-debug' Running test/cmd/debug.sh:42: executing 'oc scale --replicas=0 dc/test-deployment-config' expecting success... SUCCESS after 1.395s: test/cmd/debug.sh:42: executing 'oc scale --replicas=0 dc/test-deployment-config' expecting success Running test/cmd/debug.sh:43: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container dc/test-deployment-config -o jsonpath='{.metadata.name}'' expecting success and text 'test-deployment-config'... SUCCESS after 0.379s: test/cmd/debug.sh:43: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container dc/test-deployment-config -o jsonpath='{.metadata.name}'' expecting success and text 'test-deployment-config' Running test/cmd/debug.sh:70: executing 'oc create -f - >> $tmp_deploy << __EOF__ apiVersion: extensions/v1beta1 kind: Deployment metadata: name: test-deployment labels: deployment: test-deployment spec: replicas: 0 selector: matchLabels: deployment: test-deployment template: metadata: labels: deployment: test-deployment name: test-deployment spec: containers: - name: ruby-helloworld image: openshift/origin-pod imagePullPolicy: IfNotPresent resources: {} status: {} __EOF__' expecting success... SUCCESS after 0.340s: test/cmd/debug.sh:70: executing 'oc create -f - >> $tmp_deploy << __EOF__ apiVersion: extensions/v1beta1 kind: Deployment metadata: name: test-deployment labels: deployment: test-deployment spec: replicas: 0 selector: matchLabels: deployment: test-deployment template: metadata: labels: deployment: test-deployment name: test-deployment spec: containers: - name: ruby-helloworld image: openshift/origin-pod imagePullPolicy: IfNotPresent resources: {} status: {} __EOF__' expecting success Running test/cmd/debug.sh:71: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container deploy/test-deployment -o jsonpath='{.metadata.name}'' expecting success and text 'test-deployment-debug'... SUCCESS after 0.427s: test/cmd/debug.sh:71: executing 'oc debug --request-timeout=10s -c ruby-helloworld --one-container deploy/test-deployment -o jsonpath='{.metadata.name}'' expecting success and text 'test-deployment-debug' Running test/cmd/debug.sh:74: executing 'oc scale --replicas=1 dc/test-deployment-config' expecting success... SUCCESS after 1.282s: test/cmd/debug.sh:74: executing 'oc scale --replicas=1 dc/test-deployment-config' expecting success Running test/cmd/debug.sh:76: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.478s: test/cmd/debug.sh:76: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/debug.sh:77: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.680s: test/cmd/debug.sh:77: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/debug.sh:78: executing 'oc debug istag/wildfly:latest -o yaml' expecting success and text 'image: docker.io/openshift/wildfly-101-centos7'... SUCCESS after 0.417s: test/cmd/debug.sh:78: executing 'oc debug istag/wildfly:latest -o yaml' expecting success and text 'image: docker.io/openshift/wildfly-101-centos7' Running test/cmd/debug.sh:80: executing 'oc debug isimage/wildfly@sha256:7775d40f77e22897dc760b76f1656f67ef6bd5561b4d74fbb030b977f61d48e8 -o yaml' expecting success and text 'image: docker.io/openshift/wildfly-101-centos7'... SUCCESS after 0.462s: test/cmd/debug.sh:80: executing 'oc debug isimage/wildfly@sha256:7775d40f77e22897dc760b76f1656f67ef6bd5561b4d74fbb030b977f61d48e8 -o yaml' expecting success and text 'image: docker.io/openshift/wildfly-101-centos7' debug: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.262s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-debug'' expecting success... SUCCESS after 0.258s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-debug'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/deployments.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.314s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.352s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-deployments'' expecting success... SUCCESS after 0.451s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-deployments'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-deployments'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.326s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-deployments'; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:16: executing 'oc get deploymentConfigs' expecting success... SUCCESS after 0.288s: test/cmd/deployments.sh:16: executing 'oc get deploymentConfigs' expecting success Running test/cmd/deployments.sh:17: executing 'oc get dc' expecting success... SUCCESS after 0.334s: test/cmd/deployments.sh:17: executing 'oc get dc' expecting success Running test/cmd/deployments.sh:18: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.285s: test/cmd/deployments.sh:18: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/deployments.sh:19: executing 'oc describe deploymentConfigs test-deployment-config' expecting success... SUCCESS after 0.256s: test/cmd/deployments.sh:19: executing 'oc describe deploymentConfigs test-deployment-config' expecting success Running test/cmd/deployments.sh:20: executing 'oc get dc -o name' expecting success and text 'deploymentconfigs/test-deployment-config'... SUCCESS after 0.300s: test/cmd/deployments.sh:20: executing 'oc get dc -o name' expecting success and text 'deploymentconfigs/test-deployment-config' Running test/cmd/deployments.sh:21: executing 'oc get rc/test-deployment-config-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.470s: test/cmd/deployments.sh:21: executing 'oc get rc/test-deployment-config-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:22: executing 'oc describe dc test-deployment-config' expecting success and text 'deploymentconfig=test-deployment-config'... SUCCESS after 0.280s: test/cmd/deployments.sh:22: executing 'oc describe dc test-deployment-config' expecting success and text 'deploymentconfig=test-deployment-config' Running test/cmd/deployments.sh:23: executing 'oc status' expecting success and text 'dc/test-deployment-config deploys docker.io/openshift/origin-pod:latest'... SUCCESS after 0.418s: test/cmd/deployments.sh:23: executing 'oc status' expecting success and text 'dc/test-deployment-config deploys docker.io/openshift/origin-pod:latest' Running test/cmd/deployments.sh:24: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success... SUCCESS after 0.332s: test/cmd/deployments.sh:24: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success Running test/cmd/deployments.sh:25: executing 'oc status' expecting any result and text 'pod/hello-openshift runs openshift/hello-openshift'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.437s: test/cmd/deployments.sh:25: executing 'oc status' expecting any result and text 'pod/hello-openshift runs openshift/hello-openshift'; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:29: executing 'oc env dc/test-deployment-config TEST=value' expecting success... SUCCESS after 0.328s: test/cmd/deployments.sh:29: executing 'oc env dc/test-deployment-config TEST=value' expecting success Running test/cmd/deployments.sh:30: executing 'oc env dc/test-deployment-config --list' expecting success and text 'TEST=value'... SUCCESS after 0.278s: test/cmd/deployments.sh:30: executing 'oc env dc/test-deployment-config --list' expecting success and text 'TEST=value' Running test/cmd/deployments.sh:32: executing 'oc env dc/test-deployment-config TEST-' expecting success... SUCCESS after 0.277s: test/cmd/deployments.sh:32: executing 'oc env dc/test-deployment-config TEST-' expecting success Running test/cmd/deployments.sh:33: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'TEST=value'... SUCCESS after 0.295s: test/cmd/deployments.sh:33: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'TEST=value' Running test/cmd/deployments.sh:35: executing 'oc env dc/test-deployment-config TEST=value' expecting success... SUCCESS after 0.414s: test/cmd/deployments.sh:35: executing 'oc env dc/test-deployment-config TEST=value' expecting success Running test/cmd/deployments.sh:36: executing 'oc env dc/test-deployment-config TEST=foo --list' expecting success and not text 'TEST=value'... SUCCESS after 0.357s: test/cmd/deployments.sh:36: executing 'oc env dc/test-deployment-config TEST=foo --list' expecting success and not text 'TEST=value' Running test/cmd/deployments.sh:37: executing 'oc env dc/test-deployment-config TEST=foo --list' expecting success and text 'TEST=foo'... SUCCESS after 0.253s: test/cmd/deployments.sh:37: executing 'oc env dc/test-deployment-config TEST=foo --list' expecting success and text 'TEST=foo' Running test/cmd/deployments.sh:38: executing 'oc env dc/test-deployment-config OTHER=foo --list' expecting success and text 'TEST=value'... SUCCESS after 0.346s: test/cmd/deployments.sh:38: executing 'oc env dc/test-deployment-config OTHER=foo --list' expecting success and text 'TEST=value' Running test/cmd/deployments.sh:39: executing 'oc env dc/test-deployment-config OTHER=foo -c ruby --list' expecting success and not text 'OTHER=foo'... SUCCESS after 0.331s: test/cmd/deployments.sh:39: executing 'oc env dc/test-deployment-config OTHER=foo -c ruby --list' expecting success and not text 'OTHER=foo' Running test/cmd/deployments.sh:40: executing 'oc env dc/test-deployment-config OTHER=foo -c ruby* --list' expecting success and text 'OTHER=foo'... SUCCESS after 0.336s: test/cmd/deployments.sh:40: executing 'oc env dc/test-deployment-config OTHER=foo -c ruby* --list' expecting success and text 'OTHER=foo' Running test/cmd/deployments.sh:41: executing 'oc env dc/test-deployment-config OTHER=foo -c *hello* --list' expecting success and text 'OTHER=foo'... SUCCESS after 0.375s: test/cmd/deployments.sh:41: executing 'oc env dc/test-deployment-config OTHER=foo -c *hello* --list' expecting success and text 'OTHER=foo' Running test/cmd/deployments.sh:42: executing 'oc env dc/test-deployment-config OTHER=foo -c *world --list' expecting success and text 'OTHER=foo'... SUCCESS after 0.244s: test/cmd/deployments.sh:42: executing 'oc env dc/test-deployment-config OTHER=foo -c *world --list' expecting success and text 'OTHER=foo' Running test/cmd/deployments.sh:43: executing 'oc env dc/test-deployment-config OTHER=foo --list' expecting success and text 'OTHER=foo'... SUCCESS after 0.300s: test/cmd/deployments.sh:43: executing 'oc env dc/test-deployment-config OTHER=foo --list' expecting success and text 'OTHER=foo' Running test/cmd/deployments.sh:44: executing 'oc env dc/test-deployment-config OTHER=foo -o yaml' expecting success and text 'name: OTHER'... SUCCESS after 0.261s: test/cmd/deployments.sh:44: executing 'oc env dc/test-deployment-config OTHER=foo -o yaml' expecting success and text 'name: OTHER' Running test/cmd/deployments.sh:45: executing 'echo OTHER=foo | oc env dc/test-deployment-config -e - --list' expecting success and text 'OTHER=foo'... SUCCESS after 0.300s: test/cmd/deployments.sh:45: executing 'echo OTHER=foo | oc env dc/test-deployment-config -e - --list' expecting success and text 'OTHER=foo' Running test/cmd/deployments.sh:46: executing 'echo #OTHER=foo | oc env dc/test-deployment-config -e - --list' expecting success and not text 'OTHER=foo'... SUCCESS after 0.034s: test/cmd/deployments.sh:46: executing 'echo #OTHER=foo | oc env dc/test-deployment-config -e - --list' expecting success and not text 'OTHER=foo' Running test/cmd/deployments.sh:47: executing 'oc env dc/test-deployment-config TEST=bar OTHER=baz BAR-' expecting success... SUCCESS after 0.354s: test/cmd/deployments.sh:47: executing 'oc env dc/test-deployment-config TEST=bar OTHER=baz BAR-' expecting success Running test/cmd/deployments.sh:48: executing 'oc env -f test/integration/testdata/test-deployment-config.yaml TEST=VERSION -o yaml' expecting success and text 'v1'... SUCCESS after 0.300s: test/cmd/deployments.sh:48: executing 'oc env -f test/integration/testdata/test-deployment-config.yaml TEST=VERSION -o yaml' expecting success and text 'v1' Running test/cmd/deployments.sh:49: executing 'oc env dc/test-deployment-config A=a B=b C=c D=d E=e F=f G=g' expecting success... SUCCESS after 0.324s: test/cmd/deployments.sh:49: executing 'oc env dc/test-deployment-config A=a B=b C=c D=d E=e F=f G=g' expecting success Running test/cmd/deployments.sh:50: executing 'oc env dc/test-deployment-config --list' expecting success and text 'A=a'... SUCCESS after 0.256s: test/cmd/deployments.sh:50: executing 'oc env dc/test-deployment-config --list' expecting success and text 'A=a' Running test/cmd/deployments.sh:51: executing 'oc env dc/test-deployment-config --list' expecting success and text 'B=b'... SUCCESS after 0.376s: test/cmd/deployments.sh:51: executing 'oc env dc/test-deployment-config --list' expecting success and text 'B=b' Running test/cmd/deployments.sh:52: executing 'oc env dc/test-deployment-config --list' expecting success and text 'C=c'... SUCCESS after 0.312s: test/cmd/deployments.sh:52: executing 'oc env dc/test-deployment-config --list' expecting success and text 'C=c' Running test/cmd/deployments.sh:53: executing 'oc env dc/test-deployment-config --list' expecting success and text 'D=d'... SUCCESS after 0.324s: test/cmd/deployments.sh:53: executing 'oc env dc/test-deployment-config --list' expecting success and text 'D=d' Running test/cmd/deployments.sh:54: executing 'oc env dc/test-deployment-config --list' expecting success and text 'E=e'... SUCCESS after 0.249s: test/cmd/deployments.sh:54: executing 'oc env dc/test-deployment-config --list' expecting success and text 'E=e' Running test/cmd/deployments.sh:55: executing 'oc env dc/test-deployment-config --list' expecting success and text 'F=f'... SUCCESS after 0.350s: test/cmd/deployments.sh:55: executing 'oc env dc/test-deployment-config --list' expecting success and text 'F=f' Running test/cmd/deployments.sh:56: executing 'oc env dc/test-deployment-config --list' expecting success and text 'G=g'... SUCCESS after 0.339s: test/cmd/deployments.sh:56: executing 'oc env dc/test-deployment-config --list' expecting success and text 'G=g' Running test/cmd/deployments.sh:57: executing 'oc env dc/test-deployment-config H=h G- E=updated C- A-' expecting success... SUCCESS after 0.349s: test/cmd/deployments.sh:57: executing 'oc env dc/test-deployment-config H=h G- E=updated C- A-' expecting success Running test/cmd/deployments.sh:58: executing 'oc env dc/test-deployment-config --list' expecting success and text 'B=b'... SUCCESS after 0.260s: test/cmd/deployments.sh:58: executing 'oc env dc/test-deployment-config --list' expecting success and text 'B=b' Running test/cmd/deployments.sh:59: executing 'oc env dc/test-deployment-config --list' expecting success and text 'D=d'... SUCCESS after 0.393s: test/cmd/deployments.sh:59: executing 'oc env dc/test-deployment-config --list' expecting success and text 'D=d' Running test/cmd/deployments.sh:60: executing 'oc env dc/test-deployment-config --list' expecting success and text 'E=updated'... SUCCESS after 0.364s: test/cmd/deployments.sh:60: executing 'oc env dc/test-deployment-config --list' expecting success and text 'E=updated' Running test/cmd/deployments.sh:61: executing 'oc env dc/test-deployment-config --list' expecting success and text 'F=f'... SUCCESS after 0.284s: test/cmd/deployments.sh:61: executing 'oc env dc/test-deployment-config --list' expecting success and text 'F=f' Running test/cmd/deployments.sh:62: executing 'oc env dc/test-deployment-config --list' expecting success and text 'H=h'... SUCCESS after 0.336s: test/cmd/deployments.sh:62: executing 'oc env dc/test-deployment-config --list' expecting success and text 'H=h' Running test/cmd/deployments.sh:63: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'A=a'... SUCCESS after 0.266s: test/cmd/deployments.sh:63: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'A=a' Running test/cmd/deployments.sh:64: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'C=c'... SUCCESS after 0.315s: test/cmd/deployments.sh:64: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'C=c' Running test/cmd/deployments.sh:65: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'G=g'... SUCCESS after 0.338s: test/cmd/deployments.sh:65: executing 'oc env dc/test-deployment-config --list' expecting success and not text 'G=g' env: ok Running test/cmd/deployments.sh:70: executing 'oc deploy test-deployment-config' expecting success... SUCCESS after 0.301s: test/cmd/deployments.sh:70: executing 'oc deploy test-deployment-config' expecting success Running test/cmd/deployments.sh:71: executing 'oc deploy dc/test-deployment-config' expecting success... SUCCESS after 0.274s: test/cmd/deployments.sh:71: executing 'oc deploy dc/test-deployment-config' expecting success Running test/cmd/deployments.sh:72: executing 'oc delete deploymentConfigs test-deployment-config' expecting success... SUCCESS after 1.529s: test/cmd/deployments.sh:72: executing 'oc delete deploymentConfigs test-deployment-config' expecting success deploymentConfigs: ok Running test/cmd/deployments.sh:76: executing 'oc delete all --all' expecting success... SUCCESS after 0.465s: test/cmd/deployments.sh:76: executing 'oc delete all --all' expecting success Running test/cmd/deployments.sh:79: executing 'oc delete all --all' expecting success... SUCCESS after 0.493s: test/cmd/deployments.sh:79: executing 'oc delete all --all' expecting success Running test/cmd/deployments.sh:81: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l app=dockerbuild | oc create -f -' expecting success... SUCCESS after 0.495s: test/cmd/deployments.sh:81: executing 'oc process -f examples/sample-app/application-template-dockerbuild.json -l app=dockerbuild | oc create -f -' expecting success Running test/cmd/deployments.sh:82: executing 'oc get rc/database-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.508s: test/cmd/deployments.sh:82: executing 'oc get rc/database-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:85: executing 'oc get dc --show-labels' expecting success and text 'app=dockerbuild,template=application-template-dockerbuild'... SUCCESS after 0.569s: test/cmd/deployments.sh:85: executing 'oc get dc --show-labels' expecting success and text 'app=dockerbuild,template=application-template-dockerbuild' Running test/cmd/deployments.sh:86: executing 'oc get dc frontend --show-labels' expecting success and text 'app=dockerbuild,template=application-template-dockerbuild'... SUCCESS after 0.494s: test/cmd/deployments.sh:86: executing 'oc get dc frontend --show-labels' expecting success and text 'app=dockerbuild,template=application-template-dockerbuild' Running test/cmd/deployments.sh:87: executing 'oc get dc' expecting success and not text 'app=dockerbuild,template=application-template-dockerbuild'... SUCCESS after 0.398s: test/cmd/deployments.sh:87: executing 'oc get dc' expecting success and not text 'app=dockerbuild,template=application-template-dockerbuild' Running test/cmd/deployments.sh:88: executing 'oc get dc frontend' expecting success and not text 'app=dockerbuild,template=application-template-dockerbuild'... SUCCESS after 0.702s: test/cmd/deployments.sh:88: executing 'oc get dc frontend' expecting success and not text 'app=dockerbuild,template=application-template-dockerbuild' Running test/cmd/deployments.sh:89: executing 'oc process -f test/testdata/old-template.json | oc create -f -' expecting success... SUCCESS after 0.434s: test/cmd/deployments.sh:89: executing 'oc process -f test/testdata/old-template.json | oc create -f -' expecting success Running test/cmd/deployments.sh:90: executing 'oc get dc/eap-app -o yaml' expecting success and text ':latest'... SUCCESS after 0.273s: test/cmd/deployments.sh:90: executing 'oc get dc/eap-app -o yaml' expecting success and text ':latest' get: ok Running test/cmd/deployments.sh:95: executing 'oc rollout pause dc/database' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.270s: test/cmd/deployments.sh:95: executing 'oc rollout pause dc/database' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:96: executing 'oc get dc/database --template='{{.spec.paused}}'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.310s: test/cmd/deployments.sh:96: executing 'oc get dc/database --template='{{.spec.paused}}'' expecting any result and text 'true'; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:97: executing 'oc rollout resume dc/database' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.289s: test/cmd/deployments.sh:97: executing 'oc rollout resume dc/database' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:98: executing 'oc get dc/database --template='{{.spec.paused}}'' expecting any result and text '<no value>'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.425s: test/cmd/deployments.sh:98: executing 'oc get dc/database --template='{{.spec.paused}}'' expecting any result and text '<no value>'; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:101: executing 'oc create -f test/integration/testdata/test-replication-controller.yaml' expecting success... SUCCESS after 0.272s: test/cmd/deployments.sh:101: executing 'oc create -f test/integration/testdata/test-replication-controller.yaml' expecting success Running test/cmd/deployments.sh:102: executing 'oc rollout cancel rc/test-replication-controller' expecting failure and text 'expected deployment configuration, got replicationcontrollers'... SUCCESS after 0.247s: test/cmd/deployments.sh:102: executing 'oc rollout cancel rc/test-replication-controller' expecting failure and text 'expected deployment configuration, got replicationcontrollers' rollout: ok Running test/cmd/deployments.sh:109: executing 'oc rollback database --to-version=1 -o=yaml' expecting failure... SUCCESS after 0.330s: test/cmd/deployments.sh:109: executing 'oc rollback database --to-version=1 -o=yaml' expecting failure Running test/cmd/deployments.sh:110: executing 'oc rollback dc/database --to-version=1 -o=yaml' expecting failure... SUCCESS after 0.439s: test/cmd/deployments.sh:110: executing 'oc rollback dc/database --to-version=1 -o=yaml' expecting failure Running test/cmd/deployments.sh:111: executing 'oc rollback dc/database --to-version=1 --dry-run' expecting failure... SUCCESS after 0.298s: test/cmd/deployments.sh:111: executing 'oc rollback dc/database --to-version=1 --dry-run' expecting failure Running test/cmd/deployments.sh:112: executing 'oc rollback database-1 -o=yaml' expecting failure... SUCCESS after 0.251s: test/cmd/deployments.sh:112: executing 'oc rollback database-1 -o=yaml' expecting failure Running test/cmd/deployments.sh:113: executing 'oc rollback rc/database-1 -o=yaml' expecting failure... SUCCESS after 0.336s: test/cmd/deployments.sh:113: executing 'oc rollback rc/database-1 -o=yaml' expecting failure Running test/cmd/deployments.sh:114: executing 'oc rollback database -o yaml' expecting failure... SUCCESS after 0.332s: test/cmd/deployments.sh:114: executing 'oc rollback database -o yaml' expecting failure Running test/cmd/deployments.sh:116: executing 'oc set image dc/database ruby-helloworld-database=foo --source=docker' expecting success... SUCCESS after 0.330s: test/cmd/deployments.sh:116: executing 'oc set image dc/database ruby-helloworld-database=foo --source=docker' expecting success Running test/cmd/deployments.sh:118: executing 'oc rollout history dc/database --revision=2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.258s: test/cmd/deployments.sh:118: executing 'oc rollout history dc/database --revision=2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/deployments.sh:120: executing 'oc rollback dc/database --to-version=2' expecting failure... SUCCESS after 0.275s: test/cmd/deployments.sh:120: executing 'oc rollback dc/database --to-version=2' expecting failure Running test/cmd/deployments.sh:122: executing 'oc rollout undo dc/database --dry-run' expecting success and text 'mysql-57-centos7'... SUCCESS after 0.355s: test/cmd/deployments.sh:122: executing 'oc rollout undo dc/database --dry-run' expecting success and text 'mysql-57-centos7' rollback: ok Running test/cmd/deployments.sh:127: executing 'oc get dc/database' expecting success... SUCCESS after 0.447s: test/cmd/deployments.sh:127: executing 'oc get dc/database' expecting success Running test/cmd/deployments.sh:128: executing 'oc expose dc/database --name=fromdc' expecting success... SUCCESS after 0.351s: test/cmd/deployments.sh:128: executing 'oc expose dc/database --name=fromdc' expecting success Running test/cmd/deployments.sh:130: executing 'oc get svc/fromdc' expecting success... SUCCESS after 0.386s: test/cmd/deployments.sh:130: executing 'oc get svc/fromdc' expecting success Running test/cmd/deployments.sh:131: executing 'oc delete svc/fromdc' expecting success... SUCCESS after 0.258s: test/cmd/deployments.sh:131: executing 'oc delete svc/fromdc' expecting success Running test/cmd/deployments.sh:132: executing 'oc stop dc/database' expecting failure and text 'delete'... SUCCESS after 0.297s: test/cmd/deployments.sh:132: executing 'oc stop dc/database' expecting failure and text 'delete' Running test/cmd/deployments.sh:133: executing 'oc delete dc/database' expecting success... SUCCESS after 1.368s: test/cmd/deployments.sh:133: executing 'oc delete dc/database' expecting success Running test/cmd/deployments.sh:134: executing 'oc get dc/database' expecting failure... SUCCESS after 0.251s: test/cmd/deployments.sh:134: executing 'oc get dc/database' expecting failure Running test/cmd/deployments.sh:135: executing 'oc get rc/database-1' expecting failure... SUCCESS after 0.492s: test/cmd/deployments.sh:135: executing 'oc get rc/database-1' expecting failure stop: ok Running test/cmd/deployments.sh:140: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.363s: test/cmd/deployments.sh:140: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/deployments.sh:141: executing 'oc autoscale dc/test-deployment-config --max 5' expecting success... SUCCESS after 0.272s: test/cmd/deployments.sh:141: executing 'oc autoscale dc/test-deployment-config --max 5' expecting success Running test/cmd/deployments.sh:142: executing 'oc get hpa/test-deployment-config --template='{{.spec.maxReplicas}}'' expecting success and text '5'... SUCCESS after 0.291s: test/cmd/deployments.sh:142: executing 'oc get hpa/test-deployment-config --template='{{.spec.maxReplicas}}'' expecting success and text '5' Running test/cmd/deployments.sh:143: executing 'oc get hpa/test-deployment-config -o jsonpath='{.spec.scaleTargetRef.apiVersion}'' expecting success and text 'apps.openshift.io/v1'... SUCCESS after 0.291s: test/cmd/deployments.sh:143: executing 'oc get hpa/test-deployment-config -o jsonpath='{.spec.scaleTargetRef.apiVersion}'' expecting success and text 'apps.openshift.io/v1' Running test/cmd/deployments.sh:144: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.366s: test/cmd/deployments.sh:144: executing 'oc delete dc/test-deployment-config' expecting success Running test/cmd/deployments.sh:145: executing 'oc delete hpa/test-deployment-config' expecting success... SUCCESS after 0.333s: test/cmd/deployments.sh:145: executing 'oc delete hpa/test-deployment-config' expecting success autoscale: ok Running test/cmd/deployments.sh:150: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.292s: test/cmd/deployments.sh:150: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/deployments.sh:151: executing 'oc set image dc/test-deployment-config ruby-helloworld=myshinynewimage --source=docker' expecting success... SUCCESS after 0.483s: test/cmd/deployments.sh:151: executing 'oc set image dc/test-deployment-config ruby-helloworld=myshinynewimage --source=docker' expecting success Running test/cmd/deployments.sh:152: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'myshinynewimage'... SUCCESS after 0.279s: test/cmd/deployments.sh:152: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'myshinynewimage' Running test/cmd/deployments.sh:153: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.292s: test/cmd/deployments.sh:153: executing 'oc delete dc/test-deployment-config' expecting success set image: ok Running test/cmd/deployments.sh:160: executing 'oc set deployment-hook' expecting failure and text 'error: one or more deployment configs'... SUCCESS after 0.262s: test/cmd/deployments.sh:160: executing 'oc set deployment-hook' expecting failure and text 'error: one or more deployment configs' Running test/cmd/deployments.sh:161: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml' expecting failure and text 'error: you must specify one of --pre, --mid, or --post'... SUCCESS after 0.219s: test/cmd/deployments.sh:161: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml' expecting failure and text 'error: you must specify one of --pre, --mid, or --post' Running test/cmd/deployments.sh:162: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml -o yaml --pre -- mycmd' expecting failure and text 'deploymentconfigs "test-deployment-config" not found'... SUCCESS after 0.251s: test/cmd/deployments.sh:162: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml -o yaml --pre -- mycmd' expecting failure and text 'deploymentconfigs "test-deployment-config" not found' Running test/cmd/deployments.sh:163: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --local -o yaml --post -- mycmd' expecting success and text 'mycmd'... SUCCESS after 0.269s: test/cmd/deployments.sh:163: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --local -o yaml --post -- mycmd' expecting success and text 'mycmd' Running test/cmd/deployments.sh:164: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --local -o yaml --post -- mycmd | oc set deployment-hook -f - --local -o yaml --post --remove' expecting success and not text 'mycmd'... SUCCESS after 0.415s: test/cmd/deployments.sh:164: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --local -o yaml --post -- mycmd | oc set deployment-hook -f - --local -o yaml --post --remove' expecting success and not text 'mycmd' Running test/cmd/deployments.sh:165: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.423s: test/cmd/deployments.sh:165: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/deployments.sh:166: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text 'pre:'... SUCCESS after 0.373s: test/cmd/deployments.sh:166: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text 'pre:' Running test/cmd/deployments.sh:167: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text 'execNewPod:'... SUCCESS after 0.252s: test/cmd/deployments.sh:167: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text 'execNewPod:' Running test/cmd/deployments.sh:168: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text '\- echo'... SUCCESS after 0.244s: test/cmd/deployments.sh:168: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text '\- echo' Running test/cmd/deployments.sh:169: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text '\- hello world'... SUCCESS after 0.312s: test/cmd/deployments.sh:169: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre -o yaml -- echo 'hello world'' expecting success and text '\- hello world' Running test/cmd/deployments.sh:170: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --post -o yaml -- echo 'hello world'' expecting success and text 'post:'... SUCCESS after 0.434s: test/cmd/deployments.sh:170: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --post -o yaml -- echo 'hello world'' expecting success and text 'post:' Running test/cmd/deployments.sh:171: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --mid -o yaml -- echo 'hello world'' expecting success and text 'mid:'... SUCCESS after 0.253s: test/cmd/deployments.sh:171: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --mid -o yaml -- echo 'hello world'' expecting success and text 'mid:' Running test/cmd/deployments.sh:172: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=ignore -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Ignore'... SUCCESS after 0.277s: test/cmd/deployments.sh:172: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=ignore -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Ignore' Running test/cmd/deployments.sh:173: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=retry -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Retry'... SUCCESS after 0.266s: test/cmd/deployments.sh:173: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=retry -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Retry' Running test/cmd/deployments.sh:174: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=abort -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Abort'... SUCCESS after 0.333s: test/cmd/deployments.sh:174: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --failure-policy=abort -o yaml -- echo 'hello world'' expecting success and text 'failurePolicy: Abort' Running test/cmd/deployments.sh:176: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=blah -o yaml -- echo 'hello world'' expecting success and text 'does not have a container named'... SUCCESS after 0.320s: test/cmd/deployments.sh:176: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=blah -o yaml -- echo 'hello world'' expecting success and text 'does not have a container named' Running test/cmd/deployments.sh:178: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=blah -o yaml -- echo 'hello world'' expecting success and text 'does not have a volume named'... SUCCESS after 0.338s: test/cmd/deployments.sh:178: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=blah -o yaml -- echo 'hello world'' expecting success and text 'does not have a volume named' Running test/cmd/deployments.sh:180: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=ruby-helloworld -o yaml -- echo 'hello world'' expecting success and not text 'does not have a container named'... SUCCESS after 0.335s: test/cmd/deployments.sh:180: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=ruby-helloworld -o yaml -- echo 'hello world'' expecting success and not text 'does not have a container named' Running test/cmd/deployments.sh:181: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=ruby-helloworld -o yaml -- echo 'hello world'' expecting success and text 'containerName: ruby-helloworld'... SUCCESS after 0.302s: test/cmd/deployments.sh:181: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --container=ruby-helloworld -o yaml -- echo 'hello world'' expecting success and text 'containerName: ruby-helloworld' Running test/cmd/deployments.sh:183: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=vol1 -o yaml -- echo 'hello world'' expecting success and not text 'does not have a volume named'... SUCCESS after 0.247s: test/cmd/deployments.sh:183: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=vol1 -o yaml -- echo 'hello world'' expecting success and not text 'does not have a volume named' Running test/cmd/deployments.sh:184: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=vol1 -o yaml -- echo 'hello world'' expecting success and text '\- vol1'... SUCCESS after 0.321s: test/cmd/deployments.sh:184: executing 'oc set deployment-hook -f test/integration/testdata/test-deployment-config.yaml --pre --volumes=vol1 -o yaml -- echo 'hello world'' expecting success and text '\- vol1' Running test/cmd/deployments.sh:185: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.482s: test/cmd/deployments.sh:185: executing 'oc delete dc/test-deployment-config' expecting success Running test/cmd/deployments.sh:187: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.391s: test/cmd/deployments.sh:187: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/deployments.sh:188: executing 'oc set deployment-hook dc/test-deployment-config --pre' expecting failure and text 'you must specify a command'... SUCCESS after 0.269s: test/cmd/deployments.sh:188: executing 'oc set deployment-hook dc/test-deployment-config --pre' expecting failure and text 'you must specify a command' Running test/cmd/deployments.sh:189: executing 'oc set deployment-hook test-deployment-config --pre -- echo 'hello world'' expecting success and text 'updated'... SUCCESS after 0.275s: test/cmd/deployments.sh:189: executing 'oc set deployment-hook test-deployment-config --pre -- echo 'hello world'' expecting success and text 'updated' Running test/cmd/deployments.sh:190: executing 'oc set deployment-hook dc/test-deployment-config --pre -- echo 'hello world'' expecting success and text 'was not changed'... SUCCESS after 0.373s: test/cmd/deployments.sh:190: executing 'oc set deployment-hook dc/test-deployment-config --pre -- echo 'hello world'' expecting success and text 'was not changed' Running test/cmd/deployments.sh:191: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'pre:'... SUCCESS after 0.333s: test/cmd/deployments.sh:191: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'pre:' Running test/cmd/deployments.sh:192: executing 'oc set deployment-hook dc/test-deployment-config --pre --failure-policy=abort -- echo 'test'' expecting success and text 'updated'... SUCCESS after 0.343s: test/cmd/deployments.sh:192: executing 'oc set deployment-hook dc/test-deployment-config --pre --failure-policy=abort -- echo 'test'' expecting success and text 'updated' Running test/cmd/deployments.sh:193: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'failurePolicy: Abort'... SUCCESS after 0.294s: test/cmd/deployments.sh:193: executing 'oc get dc/test-deployment-config -o yaml' expecting success and text 'failurePolicy: Abort' Running test/cmd/deployments.sh:194: executing 'oc set deployment-hook --all --pre -- echo 'all dc'' expecting success and text 'updated'... SUCCESS after 0.425s: test/cmd/deployments.sh:194: executing 'oc set deployment-hook --all --pre -- echo 'all dc'' expecting success and text 'updated' Running test/cmd/deployments.sh:195: executing 'oc get dc -o yaml' expecting success and text 'all dc'... SUCCESS after 0.244s: test/cmd/deployments.sh:195: executing 'oc get dc -o yaml' expecting success and text 'all dc' Running test/cmd/deployments.sh:196: executing 'oc set deployment-hook dc/test-deployment-config --pre --remove' expecting success and text 'updated'... SUCCESS after 0.296s: test/cmd/deployments.sh:196: executing 'oc set deployment-hook dc/test-deployment-config --pre --remove' expecting success and text 'updated' Running test/cmd/deployments.sh:197: executing 'oc get dc/test-deployment-config -o yaml' expecting success and not text 'pre:'... SUCCESS after 0.400s: test/cmd/deployments.sh:197: executing 'oc get dc/test-deployment-config -o yaml' expecting success and not text 'pre:' Running test/cmd/deployments.sh:199: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y,Z=W -- echo 'test'' expecting success and text 'value: Y,Z=W'... SUCCESS after 0.359s: test/cmd/deployments.sh:199: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y,Z=W -- echo 'test'' expecting success and text 'value: Y,Z=W' Running test/cmd/deployments.sh:200: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y,Z=W -- echo 'test'' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.271s: test/cmd/deployments.sh:200: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y,Z=W -- echo 'test'' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/deployments.sh:201: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y -- echo 'test'' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.250s: test/cmd/deployments.sh:201: executing 'oc set deployment-hook dc/test-deployment-config --pre -o yaml --environment X=Y -- echo 'test'' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/deployments.sh:203: executing 'oc delete dc/test-deployment-config' expecting success... SUCCESS after 1.504s: test/cmd/deployments.sh:203: executing 'oc delete dc/test-deployment-config' expecting success set deployment-hook: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.297s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-deployments'' expecting success... SUCCESS after 0.256s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-deployments'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/describer.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.310s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.284s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-describer'' expecting success... SUCCESS after 0.373s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-describer'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-describer'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.869s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-describer'; re-trying every 0.2s until completion or 60.000s Running test/cmd/describer.sh:31: executing 'oc create -f - << __EOF__ { "apiVersion": "v1", "involvedObject": { "apiVersion": "v1", "kind": "Pod", "name": "test-pod", "namespace": "cmd-describer" }, "kind": "Event", "message": "test message", "metadata": { "name": "test-event" } } __EOF__ ' expecting success... SUCCESS after 0.248s: test/cmd/describer.sh:31: executing 'oc create -f - << __EOF__ { "apiVersion": "v1", "involvedObject": { "apiVersion": "v1", "kind": "Pod", "name": "test-pod", "namespace": "cmd-describer" }, "kind": "Event", "message": "test message", "metadata": { "name": "test-event" } } __EOF__ ' expecting success Running test/cmd/describer.sh:32: executing 'eventnum=$(oc get events | wc -l) && [[ $eventnum -gt 0 ]]' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.472s: test/cmd/describer.sh:32: executing 'eventnum=$(oc get events | wc -l) && [[ $eventnum -gt 0 ]]' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/describer.sh:34: executing 'oc describe events' expecting success and text 'Namespace:\s+cmd-describer'... SUCCESS after 0.325s: test/cmd/describer.sh:34: executing 'oc describe events' expecting success and text 'Namespace:\s+cmd-describer' Running test/cmd/describer.sh:37: executing 'oc create -f test/extended/testdata/templates/templateinstance_objectkinds.yaml' expecting success... SUCCESS after 0.289s: test/cmd/describer.sh:37: executing 'oc create -f test/extended/testdata/templates/templateinstance_objectkinds.yaml' expecting success Running test/cmd/describer.sh:38: executing 'oc describe templateinstances templateinstance' expecting success and text 'Name:\s+templateinstance'... SUCCESS after 0.274s: test/cmd/describer.sh:38: executing 'oc describe templateinstances templateinstance' expecting success and text 'Name:\s+templateinstance' Running test/cmd/describer.sh:39: executing 'oc describe templateinstances templateinstance' expecting success and text 'Namespace:\s+cmd-describer'... SUCCESS after 0.319s: test/cmd/describer.sh:39: executing 'oc describe templateinstances templateinstance' expecting success and text 'Namespace:\s+cmd-describer' Running test/cmd/describer.sh:40: executing 'oc describe templateinstances templateinstance' expecting success and text 'Type:\s+Ready'... SUCCESS after 0.502s: test/cmd/describer.sh:40: executing 'oc describe templateinstances templateinstance' expecting success and text 'Type:\s+Ready' Running test/cmd/describer.sh:41: executing 'oc describe templateinstances templateinstance' expecting success and text 'Status:\s+True'... SUCCESS after 0.368s: test/cmd/describer.sh:41: executing 'oc describe templateinstances templateinstance' expecting success and text 'Status:\s+True' Running test/cmd/describer.sh:42: executing 'oc describe templateinstances templateinstance' expecting success and text 'Secret:\s+cmd-describer/secret'... SUCCESS after 0.399s: test/cmd/describer.sh:42: executing 'oc describe templateinstances templateinstance' expecting success and text 'Secret:\s+cmd-describer/secret' Running test/cmd/describer.sh:43: executing 'oc describe templateinstances templateinstance' expecting success and text 'Deployment:\s+cmd-describer/deployment'... SUCCESS after 0.289s: test/cmd/describer.sh:43: executing 'oc describe templateinstances templateinstance' expecting success and text 'Deployment:\s+cmd-describer/deployment' Running test/cmd/describer.sh:44: executing 'oc describe templateinstances templateinstance' expecting success and text 'Route:\s+cmd-describer/route'... SUCCESS after 0.259s: test/cmd/describer.sh:44: executing 'oc describe templateinstances templateinstance' expecting success and text 'Route:\s+cmd-describer/route' Running test/cmd/describer.sh:45: executing 'oc describe templateinstances templateinstance' expecting success and text 'Route:\s+cmd-describer/newroute'... SUCCESS after 0.311s: test/cmd/describer.sh:45: executing 'oc describe templateinstances templateinstance' expecting success and text 'Route:\s+cmd-describer/newroute' Running test/cmd/describer.sh:46: executing 'oc describe templateinstances templateinstance' expecting success and text 'NAME:\s+8 bytes'... SUCCESS after 0.374s: test/cmd/describer.sh:46: executing 'oc describe templateinstances templateinstance' expecting success and text 'NAME:\s+8 bytes' describer: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.311s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-describer'' expecting success... SUCCESS after 0.270s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-describer'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/diagnostics.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.351s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.259s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-diagnostics'' expecting success... SUCCESS after 0.434s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-diagnostics'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-diagnostics'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.451s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-diagnostics'; re-trying every 0.2s until completion or 60.000s Running test/cmd/diagnostics.sh:15: executing 'oc adm diagnostics MasterConfigCheck --master-config='/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml'' expecting success... SUCCESS after 0.226s: test/cmd/diagnostics.sh:15: executing 'oc adm diagnostics MasterConfigCheck --master-config='/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml'' expecting success Running test/cmd/diagnostics.sh:16: executing 'oc adm diagnostics NodeConfigCheck --node-config='/tmp/openshift/test-cmd/openshift.local.config/node-172.17.0.2/node-config.yaml'' expecting success... SUCCESS after 0.217s: test/cmd/diagnostics.sh:16: executing 'oc adm diagnostics NodeConfigCheck --node-config='/tmp/openshift/test-cmd/openshift.local.config/node-172.17.0.2/node-config.yaml'' expecting success Running test/cmd/diagnostics.sh:20: executing 'oc adm diagnostics MasterConfigCheck --master-config='/tmp/openshift/test-cmd/master-config-broken.yaml'' expecting failure and text 'ERROR'... SUCCESS after 0.217s: test/cmd/diagnostics.sh:20: executing 'oc adm diagnostics MasterConfigCheck --master-config='/tmp/openshift/test-cmd/master-config-broken.yaml'' expecting failure and text 'ERROR' Running test/cmd/diagnostics.sh:24: executing 'oc adm diagnostics NodeConfigCheck --node-config='/tmp/openshift/test-cmd/node-config-broken.yaml'' expecting failure and text 'ERROR'... SUCCESS after 0.282s: test/cmd/diagnostics.sh:24: executing 'oc adm diagnostics NodeConfigCheck --node-config='/tmp/openshift/test-cmd/node-config-broken.yaml'' expecting failure and text 'ERROR' Running test/cmd/diagnostics.sh:26: executing 'oc adm policy reconcile-cluster-roles --additive-only=false --confirm' expecting success... SUCCESS after 0.810s: test/cmd/diagnostics.sh:26: executing 'oc adm policy reconcile-cluster-roles --additive-only=false --confirm' expecting success Running test/cmd/diagnostics.sh:28: executing 'oc adm diagnostics ClusterRoleBindings ' expecting success... SUCCESS after 13.274s: test/cmd/diagnostics.sh:28: executing 'oc adm diagnostics ClusterRoleBindings ' expecting success Running test/cmd/diagnostics.sh:29: executing 'oc adm diagnostics ClusterRoles ' expecting success... SUCCESS after 22.042s: test/cmd/diagnostics.sh:29: executing 'oc adm diagnostics ClusterRoles ' expecting success Running test/cmd/diagnostics.sh:30: executing 'oc adm diagnostics ConfigContexts ' expecting success... SUCCESS after 0.319s: test/cmd/diagnostics.sh:30: executing 'oc adm diagnostics ConfigContexts ' expecting success Running test/cmd/diagnostics.sh:32: executing 'oc adm diagnostics DiagnosticPod --prevent-modification --images=foo' expecting failure and text 'prevented because the --prevent-modification flag was specified'... SUCCESS after 0.500s: test/cmd/diagnostics.sh:32: executing 'oc adm diagnostics DiagnosticPod --prevent-modification --images=foo' expecting failure and text 'prevented because the --prevent-modification flag was specified' Running test/cmd/diagnostics.sh:34: executing 'oc adm diagnostics EtcdWriteVolume --duration=10s --help' expecting success... SUCCESS after 0.279s: test/cmd/diagnostics.sh:34: executing 'oc adm diagnostics EtcdWriteVolume --duration=10s --help' expecting success Running test/cmd/diagnostics.sh:35: executing 'oc adm diagnostics MasterConfigCheck --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success... SUCCESS after 0.260s: test/cmd/diagnostics.sh:35: executing 'oc adm diagnostics MasterConfigCheck --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success Running test/cmd/diagnostics.sh:36: executing 'oc adm diagnostics masterconfigcheck --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success... SUCCESS after 0.227s: test/cmd/diagnostics.sh:36: executing 'oc adm diagnostics masterconfigcheck --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success Running test/cmd/diagnostics.sh:37: executing 'oc adm diagnostics NodeConfigCheck --node-config=/tmp/openshift/test-cmd/openshift.local.config/node-172.17.0.2/node-config.yaml' expecting success... SUCCESS after 0.243s: test/cmd/diagnostics.sh:37: executing 'oc adm diagnostics NodeConfigCheck --node-config=/tmp/openshift/test-cmd/openshift.local.config/node-172.17.0.2/node-config.yaml' expecting success Running test/cmd/diagnostics.sh:38: executing 'oc adm diagnostics serviceexternalips --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success... SUCCESS after 0.326s: test/cmd/diagnostics.sh:38: executing 'oc adm diagnostics serviceexternalips --master-config=/tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml' expecting success Running test/cmd/diagnostics.sh:39: executing 'oc adm diagnostics ClusterRegistry' expecting failure and text 'DClu1006 from diagnostic ClusterRegistry'... SUCCESS after 0.328s: test/cmd/diagnostics.sh:39: executing 'oc adm diagnostics ClusterRegistry' expecting failure and text 'DClu1006 from diagnostic ClusterRegistry' Running test/cmd/diagnostics.sh:45: executing 'oc adm diagnostics NodeDefinitions' expecting failure... SUCCESS after 0.259s: test/cmd/diagnostics.sh:45: executing 'oc adm diagnostics NodeDefinitions' expecting failure Running test/cmd/diagnostics.sh:46: executing 'oc adm diagnostics FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic'... SUCCESS after 0.235s: test/cmd/diagnostics.sh:46: executing 'oc adm diagnostics FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic' Running test/cmd/diagnostics.sh:47: executing 'oc adm diagnostics AnalyzeLogs FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic'... SUCCESS after 0.245s: test/cmd/diagnostics.sh:47: executing 'oc adm diagnostics AnalyzeLogs FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic' Running test/cmd/diagnostics.sh:48: executing 'oc adm diagnostics all FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic'... SUCCESS after 0.257s: test/cmd/diagnostics.sh:48: executing 'oc adm diagnostics all FakeDiagnostic' expecting failure and text 'Unexpected command line argument.*FakeDiagnostic' Running test/cmd/diagnostics.sh:49: executing 'oc adm diagnostics MetricsApiProxy' expecting failure and text 'Skipping diagnostic: MetricsApiProxy'... SUCCESS after 0.284s: test/cmd/diagnostics.sh:49: executing 'oc adm diagnostics MetricsApiProxy' expecting failure and text 'Skipping diagnostic: MetricsApiProxy' Running test/cmd/diagnostics.sh:50: executing 'oc adm diagnostics NetworkCheck --prevent-modification' expecting failure and text 'Skipping diagnostic: NetworkCheck'... SUCCESS after 0.463s: test/cmd/diagnostics.sh:50: executing 'oc adm diagnostics NetworkCheck --prevent-modification' expecting failure and text 'Skipping diagnostic: NetworkCheck' Running test/cmd/diagnostics.sh:53: executing 'oc ex diagnostics ConfigContexts' expecting success... SUCCESS after 0.273s: test/cmd/diagnostics.sh:53: executing 'oc ex diagnostics ConfigContexts' expecting success diagnostics: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.221s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-diagnostics'' expecting success... SUCCESS after 0.287s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-diagnostics'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/dns.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.341s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.237s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-dns'' expecting success... SUCCESS after 0.491s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-dns'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-dns'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.282s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-dns'; re-trying every 0.2s until completion or 60.000s Running test/cmd/dns.sh:22: executing 'oc create -f test/testdata/services.yaml' expecting success... SUCCESS after 0.474s: test/cmd/dns.sh:22: executing 'oc create -f test/testdata/services.yaml' expecting success Running test/cmd/dns.sh:23: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.027s: test/cmd/dns.sh:23: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/dns.sh:27: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2'... SUCCESS after 0.033s: test/cmd/dns.sh:27: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2' Running test/cmd/dns.sh:28: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3'... SUCCESS after 0.027s: test/cmd/dns.sh:28: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3' Running test/cmd/dns.sh:29: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4'... SUCCESS after 0.027s: test/cmd/dns.sh:29: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4' Running test/cmd/dns.sh:30: executing 'dig @172.17.0.2 -p 8053 +short test2.headless.cmd-dns.svc.cluster.local' expecting success and text '^10.1.2.4$'... SUCCESS after 0.029s: test/cmd/dns.sh:30: executing 'dig @172.17.0.2 -p 8053 +short test2.headless.cmd-dns.svc.cluster.local' expecting success and text '^10.1.2.4$' Running test/cmd/dns.sh:31: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2'... SUCCESS after 0.028s: test/cmd/dns.sh:31: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2' Running test/cmd/dns.sh:32: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3'... SUCCESS after 0.029s: test/cmd/dns.sh:32: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3' Running test/cmd/dns.sh:33: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4'... SUCCESS after 0.032s: test/cmd/dns.sh:33: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.headless.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4' Running test/cmd/dns.sh:34: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 0 3987d90a.headless.cmd-dns.svc.cluster.local'... SUCCESS after 0.031s: test/cmd/dns.sh:34: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 0 3987d90a.headless.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:35: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 0 test2.headless.cmd-dns.svc.cluster.local'... SUCCESS after 0.033s: test/cmd/dns.sh:35: executing 'dig @172.17.0.2 -p 8053 +short headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 0 test2.headless.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:36: executing 'dig @172.17.0.2 -p 8053 +short test2.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 0 test2.headless.cmd-dns.svc.cluster.local'... SUCCESS after 0.033s: test/cmd/dns.sh:36: executing 'dig @172.17.0.2 -p 8053 +short test2.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 0 test2.headless.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:37: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 80 3987d90a.headless.cmd-dns.svc.cluster.local'... SUCCESS after 0.028s: test/cmd/dns.sh:37: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 80 3987d90a.headless.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:38: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 80 test2.headless.cmd-dns.svc.cluster.local'... SUCCESS after 0.033s: test/cmd/dns.sh:38: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.headless.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 50 80 test2.headless.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:40: executing 'dig @172.17.0.2 -p 8053 +short clusterip.cmd-dns.svc.cluster.local' expecting success and text '^172.30.14.102$'... SUCCESS after 0.030s: test/cmd/dns.sh:40: executing 'dig @172.17.0.2 -p 8053 +short clusterip.cmd-dns.svc.cluster.local' expecting success and text '^172.30.14.102$' Running test/cmd/dns.sh:41: executing 'dig @172.17.0.2 -p 8053 +short clusterip.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 0 [0-9a-f]+.clusterip.cmd-dns.svc.cluster.local'... SUCCESS after 0.033s: test/cmd/dns.sh:41: executing 'dig @172.17.0.2 -p 8053 +short clusterip.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 0 [0-9a-f]+.clusterip.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:42: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.clusterip.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 80 [0-9a-f]+.clusterip.cmd-dns.svc.cluster.local'... SUCCESS after 0.027s: test/cmd/dns.sh:42: executing 'dig @172.17.0.2 -p 8053 +short _http._tcp.clusterip.cmd-dns.svc.cluster.local SRV' expecting success and text '^10 100 80 [0-9a-f]+.clusterip.cmd-dns.svc.cluster.local' Running test/cmd/dns.sh:43: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2'... SUCCESS after 0.030s: test/cmd/dns.sh:43: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local | wc -l' expecting success and text '2' Running test/cmd/dns.sh:44: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3'... SUCCESS after 0.043s: test/cmd/dns.sh:44: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.3' Running test/cmd/dns.sh:45: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4'... SUCCESS after 0.035s: test/cmd/dns.sh:45: executing 'dig @172.17.0.2 -p 8053 +short _endpoints.clusterip.cmd-dns.svc.cluster.local' expecting success and text '10.1.2.4' dns: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.244s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-dns'' expecting success... SUCCESS after 0.448s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-dns'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/edit.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.341s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.232s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-edit'' expecting success... SUCCESS after 0.576s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-edit'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-edit'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.364s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-edit'; re-trying every 0.2s until completion or 60.000s Running test/cmd/edit.sh:16: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success... SUCCESS after 0.313s: test/cmd/edit.sh:16: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success Running test/cmd/edit.sh:18: executing 'OC_EDITOR=cat oc edit pod/hello-openshift' expecting success and text 'Edit cancelled'... SUCCESS after 0.303s: test/cmd/edit.sh:18: executing 'OC_EDITOR=cat oc edit pod/hello-openshift' expecting success and text 'Edit cancelled' Running test/cmd/edit.sh:19: executing 'OC_EDITOR=cat oc edit pod/hello-openshift' expecting success and text 'name: hello-openshift'... SUCCESS after 0.301s: test/cmd/edit.sh:19: executing 'OC_EDITOR=cat oc edit pod/hello-openshift' expecting success and text 'name: hello-openshift' Running test/cmd/edit.sh:20: executing 'OC_EDITOR=cat oc edit --windows-line-endings pod/hello-openshift | file -' expecting success and text 'CRLF'... SUCCESS after 0.290s: test/cmd/edit.sh:20: executing 'OC_EDITOR=cat oc edit --windows-line-endings pod/hello-openshift | file -' expecting success and text 'CRLF' Running test/cmd/edit.sh:21: executing 'OC_EDITOR=cat oc edit --windows-line-endings=false pod/hello-openshift | file -' expecting success and not text 'CRFL'... SUCCESS after 0.327s: test/cmd/edit.sh:21: executing 'OC_EDITOR=cat oc edit --windows-line-endings=false pod/hello-openshift | file -' expecting success and not text 'CRFL' Running test/cmd/edit.sh:23: executing 'oc create -f test/testdata/services.yaml' expecting success... SUCCESS after 0.329s: test/cmd/edit.sh:23: executing 'oc create -f test/testdata/services.yaml' expecting success Running test/cmd/edit.sh:24: executing 'OC_EDITOR=cat oc edit svc' expecting success and text 'kind: List'... SUCCESS after 0.505s: test/cmd/edit.sh:24: executing 'OC_EDITOR=cat oc edit svc' expecting success and text 'kind: List' Running test/cmd/edit.sh:26: executing 'oc create imagestream test' expecting success... SUCCESS after 0.445s: test/cmd/edit.sh:26: executing 'oc create imagestream test' expecting success Running test/cmd/edit.sh:27: executing 'oc create -f test/testdata/mysql-image-stream-mapping.yaml' expecting success... SUCCESS after 0.284s: test/cmd/edit.sh:27: executing 'oc create -f test/testdata/mysql-image-stream-mapping.yaml' expecting success Running test/cmd/edit.sh:28: executing 'oc get istag/test:new -o jsonpath={.metadata.annotations}' expecting success and not text 'tags:hidden'... SUCCESS after 0.248s: test/cmd/edit.sh:28: executing 'oc get istag/test:new -o jsonpath={.metadata.annotations}' expecting success and not text 'tags:hidden' Running test/cmd/edit.sh:34: executing 'EDITOR=/tmp/tmp.9P1ze3i2xr/tmp-editor.sh oc edit istag/test:new' expecting success... SUCCESS after 0.326s: test/cmd/edit.sh:34: executing 'EDITOR=/tmp/tmp.9P1ze3i2xr/tmp-editor.sh oc edit istag/test:new' expecting success Running test/cmd/edit.sh:35: executing 'oc get istag/test:new -o jsonpath={.metadata.annotations}' expecting success and text 'tags:hidden'... SUCCESS after 0.323s: test/cmd/edit.sh:35: executing 'oc get istag/test:new -o jsonpath={.metadata.annotations}' expecting success and text 'tags:hidden' edit: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.300s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-edit'' expecting success... SUCCESS after 0.270s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-edit'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/env.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.309s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.359s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-env'' expecting success... SUCCESS after 0.367s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-env'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-env'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.911s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-env'; re-trying every 0.2s until completion or 60.000s Running test/cmd/env.sh:7: executing 'oc new-app node' expecting success... SUCCESS after 0.492s: test/cmd/env.sh:7: executing 'oc new-app node' expecting success Running test/cmd/env.sh:8: executing 'oc set env dc/node' expecting failure and text 'error: at least one environment variable must be provided'... SUCCESS after 0.355s: test/cmd/env.sh:8: executing 'oc set env dc/node' expecting failure and text 'error: at least one environment variable must be provided' Running test/cmd/env.sh:9: executing 'oc set env dc/node key=value' expecting success and text 'deploymentconfig "node" updated'... SUCCESS after 0.431s: test/cmd/env.sh:9: executing 'oc set env dc/node key=value' expecting success and text 'deploymentconfig "node" updated' Running test/cmd/env.sh:10: executing 'oc set env dc/node --list' expecting success and text 'deploymentconfigs node, container node'... SUCCESS after 0.456s: test/cmd/env.sh:10: executing 'oc set env dc/node --list' expecting success and text 'deploymentconfigs node, container node' Running test/cmd/env.sh:11: executing 'oc set env dc --all --containers="node" key-' expecting success and text 'deploymentconfig "node" updated'... SUCCESS after 0.336s: test/cmd/env.sh:11: executing 'oc set env dc --all --containers="node" key-' expecting success and text 'deploymentconfig "node" updated' Running test/cmd/env.sh:12: executing 'oc set env dc --all --containers="node"' expecting failure and text 'error: at least one environment variable must be provided'... SUCCESS after 0.316s: test/cmd/env.sh:12: executing 'oc set env dc --all --containers="node"' expecting failure and text 'error: at least one environment variable must be provided' Running test/cmd/env.sh:13: executing 'oc set env --from=secret/mysecret dc/node' expecting failure and not text 'error: at least one environment variable must be provided'... SUCCESS after 0.407s: test/cmd/env.sh:13: executing 'oc set env --from=secret/mysecret dc/node' expecting failure and not text 'error: at least one environment variable must be provided' Running test/cmd/env.sh:14: executing 'oc set env dc/node test#abc=1234' expecting failure and text 'environment variables must be of the form key=value'... SUCCESS after 0.379s: test/cmd/env.sh:14: executing 'oc set env dc/node test#abc=1234' expecting failure and text 'environment variables must be of the form key=value' Running test/cmd/env.sh:17: executing 'oc set env dc/node key=value' expecting success and text 'deploymentconfig "node" updated'... SUCCESS after 0.395s: test/cmd/env.sh:17: executing 'oc set env dc/node key=value' expecting success and text 'deploymentconfig "node" updated' Running test/cmd/env.sh:18: executing 'oc set env dc --all --containers="node" --env=key-' expecting success and text 'deploymentconfig "node" updated'... SUCCESS after 0.285s: test/cmd/env.sh:18: executing 'oc set env dc --all --containers="node" --env=key-' expecting success and text 'deploymentconfig "node" updated' Running test/cmd/env.sh:20: executing 'oc get dc/node -o jsonpath='{ .spec.template.spec.containers[?(@.name=="node")].env }'' expecting success and not text 'name\:key'... SUCCESS after 0.269s: test/cmd/env.sh:20: executing 'oc get dc/node -o jsonpath='{ .spec.template.spec.containers[?(@.name=="node")].env }'' expecting success and not text 'name\:key' Running test/cmd/env.sh:23: executing 'oc set env -o yaml dc/node PASS=x,y=z' expecting success and text 'value: x,y=z'... SUCCESS after 0.311s: test/cmd/env.sh:23: executing 'oc set env -o yaml dc/node PASS=x,y=z' expecting success and text 'value: x,y=z' Running test/cmd/env.sh:24: executing 'oc set env -o yaml dc/node --env PASS=x,y=z' expecting success and text 'value: x,y=z'... SUCCESS after 0.455s: test/cmd/env.sh:24: executing 'oc set env -o yaml dc/node --env PASS=x,y=z' expecting success and text 'value: x,y=z' Running test/cmd/env.sh:26: executing 'oc set env dc/node --env PASS=x,y=z' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.379s: test/cmd/env.sh:26: executing 'oc set env dc/node --env PASS=x,y=z' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/env.sh:28: executing 'oc set env dc/node PASS=x,y=z' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.354s: test/cmd/env.sh:28: executing 'oc set env dc/node PASS=x,y=z' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/env.sh:31: executing 'oc process -p NAMESPACE=openshift -f examples/jenkins/jenkins-ephemeral-template.json | oc create -f -' expecting success... SUCCESS after 0.515s: test/cmd/env.sh:31: executing 'oc process -p NAMESPACE=openshift -f examples/jenkins/jenkins-ephemeral-template.json | oc create -f -' expecting success Running test/cmd/env.sh:42: executing 'echo 'apiVersion: v1 kind: BuildConfig metadata: name: fake-pipeline spec: source: git: uri: git://github.com/openshift/ruby-hello-world.git strategy: jenkinsPipelineStrategy: {} ' | oc create -f -' expecting success... SUCCESS after 0.288s: test/cmd/env.sh:42: executing 'echo 'apiVersion: v1 kind: BuildConfig metadata: name: fake-pipeline spec: source: git: uri: git://github.com/openshift/ruby-hello-world.git strategy: jenkinsPipelineStrategy: {} ' | oc create -f -' expecting success Running test/cmd/env.sh:45: executing 'oc get bc fake-pipeline -o jsonpath='{ .spec.strategy.type }'' expecting success and text 'JenkinsPipeline'... SUCCESS after 0.349s: test/cmd/env.sh:45: executing 'oc get bc fake-pipeline -o jsonpath='{ .spec.strategy.type }'' expecting success and text 'JenkinsPipeline' Running test/cmd/env.sh:47: executing 'oc set env bc/fake-pipeline FOO=BAR' expecting success and text 'buildconfig "fake\-pipeline" updated'... SUCCESS after 0.356s: test/cmd/env.sh:47: executing 'oc set env bc/fake-pipeline FOO=BAR' expecting success and text 'buildconfig "fake\-pipeline" updated' Running test/cmd/env.sh:49: executing 'oc get bc fake-pipeline -o jsonpath='{ .spec.strategy.jenkinsPipelineStrategy.env }'' expecting success and text 'name\:FOO'... SUCCESS after 0.302s: test/cmd/env.sh:49: executing 'oc get bc fake-pipeline -o jsonpath='{ .spec.strategy.jenkinsPipelineStrategy.env }'' expecting success and text 'name\:FOO' Running test/cmd/env.sh:50: executing 'oc delete bc fake-pipeline' expecting success... SUCCESS after 0.284s: test/cmd/env.sh:50: executing 'oc delete bc fake-pipeline' expecting success oc set env: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.382s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-env'' expecting success... SUCCESS after 0.286s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-env'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/explain.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.346s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.344s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-explain'' expecting success... SUCCESS after 0.368s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-explain'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-explain'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.348s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-explain'; re-trying every 0.2s until completion or 60.000s Running test/cmd/explain.sh:16: executing 'oc explain dc' expecting success... SUCCESS after 0.440s: test/cmd/explain.sh:16: executing 'oc explain dc' expecting success Running test/cmd/explain.sh:17: executing 'oc explain dc.status.replicas' expecting success and text 'FIELD\: replicas'... SUCCESS after 0.480s: test/cmd/explain.sh:17: executing 'oc explain dc.status.replicas' expecting success and text 'FIELD\: replicas' Running test/cmd/explain.sh:19: executing 'oc explain routes' expecting success... SUCCESS after 0.411s: test/cmd/explain.sh:19: executing 'oc explain routes' expecting success Running test/cmd/explain.sh:20: executing 'oc explain route.metadata.name' expecting success and text 'string'... SUCCESS after 0.676s: test/cmd/explain.sh:20: executing 'oc explain route.metadata.name' expecting success and text 'string' Running test/cmd/explain.sh:22: executing 'oc explain bc' expecting success... SUCCESS after 0.367s: test/cmd/explain.sh:22: executing 'oc explain bc' expecting success Running test/cmd/explain.sh:23: executing 'oc explain image' expecting success... SUCCESS after 0.707s: test/cmd/explain.sh:23: executing 'oc explain image' expecting success Running test/cmd/explain.sh:24: executing 'oc explain is' expecting success... SUCCESS after 0.573s: test/cmd/explain.sh:24: executing 'oc explain is' expecting success Running test/cmd/explain.sh:26: executing 'oc explain cronjob' expecting success... SUCCESS after 0.436s: test/cmd/explain.sh:26: executing 'oc explain cronjob' expecting success explain: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.212s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-explain'' expecting success... SUCCESS after 0.305s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-explain'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/export.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.331s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.287s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-export'' expecting success... SUCCESS after 0.447s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-export'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-export'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.022s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-export'; re-trying every 0.2s until completion or 60.000s Running test/cmd/export.sh:16: executing 'oc new-app -f examples/sample-app/application-template-stibuild.json --name=sample' expecting success... SUCCESS after 0.495s: test/cmd/export.sh:16: executing 'oc new-app -f examples/sample-app/application-template-stibuild.json --name=sample' expecting success Running test/cmd/export.sh:20: executing 'oc export sa/default --template='{{ .secrets }}'' expecting success and text '<no value>'... SUCCESS after 0.336s: test/cmd/export.sh:20: executing 'oc export sa/default --template='{{ .secrets }}'' expecting success and text '<no value>' Running test/cmd/export.sh:21: executing 'oc export sa/default --exact --template='{{ .secrets }}'' expecting success and text 'default-token'... SUCCESS after 0.285s: test/cmd/export.sh:21: executing 'oc export sa/default --exact --template='{{ .secrets }}'' expecting success and text 'default-token' Running test/cmd/export.sh:23: executing 'oc export all --all-namespaces' expecting success... SUCCESS after 0.740s: test/cmd/export.sh:23: executing 'oc export all --all-namespaces' expecting success Running test/cmd/export.sh:25: executing 'oc export all --all' expecting success... SUCCESS after 0.648s: test/cmd/export.sh:25: executing 'oc export all --all' expecting success Running test/cmd/export.sh:27: executing 'oc export svc --template='{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | wc -l' expecting success and not text '^0'... SUCCESS after 0.270s: test/cmd/export.sh:27: executing 'oc export svc --template='{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | wc -l' expecting success and not text '^0' Running test/cmd/export.sh:28: executing 'oc export svc --as-template=template' expecting success and text 'kind: Template'... SUCCESS after 0.316s: test/cmd/export.sh:28: executing 'oc export svc --as-template=template' expecting success and text 'kind: Template' Running test/cmd/export.sh:29: executing 'oc export svc' expecting success and not text 'clusterIP'... SUCCESS after 0.365s: test/cmd/export.sh:29: executing 'oc export svc' expecting success and not text 'clusterIP' Running test/cmd/export.sh:30: executing 'oc export svc --exact' expecting success and not text 'clusterIP: ""'... SUCCESS after 0.279s: test/cmd/export.sh:30: executing 'oc export svc --exact' expecting success and not text 'clusterIP: ""' Running test/cmd/export.sh:31: executing 'oc export svc --raw' expecting success and not text 'clusterIP: ""'... SUCCESS after 0.339s: test/cmd/export.sh:31: executing 'oc export svc --raw' expecting success and not text 'clusterIP: ""' Running test/cmd/export.sh:32: executing 'oc export svc --raw --exact' expecting failure... SUCCESS after 0.214s: test/cmd/export.sh:32: executing 'oc export svc --raw --exact' expecting failure Running test/cmd/export.sh:33: executing 'oc export svc -l a=b' expecting failure... SUCCESS after 0.260s: test/cmd/export.sh:33: executing 'oc export svc -l a=b' expecting failure Running test/cmd/export.sh:34: executing 'oc export svc -l a=b' expecting failure and text 'no resources found'... SUCCESS after 0.319s: test/cmd/export.sh:34: executing 'oc export svc -l a=b' expecting failure and text 'no resources found' Running test/cmd/export.sh:35: executing 'oc export svc -l app=sample' expecting success... SUCCESS after 0.347s: test/cmd/export.sh:35: executing 'oc export svc -l app=sample' expecting success Running test/cmd/export.sh:36: executing 'oc export -f examples/sample-app/application-template-stibuild.json --raw --output-version=v1' expecting success and text 'apiVersion: v1'... SUCCESS after 0.370s: test/cmd/export.sh:36: executing 'oc export -f examples/sample-app/application-template-stibuild.json --raw --output-version=v1' expecting success and text 'apiVersion: v1' Running test/cmd/export.sh:37: executing 'oc export dc/database --template="{{.status.latestVersion}}"' expecting success and text '0'... SUCCESS after 0.260s: test/cmd/export.sh:37: executing 'oc export dc/database --template="{{.status.latestVersion}}"' expecting success and text '0' Running test/cmd/export.sh:38: executing 'oc get dc/database --export --template="{{.status.conditions}}"' expecting success and text '<no value>'... SUCCESS after 0.293s: test/cmd/export.sh:38: executing 'oc get dc/database --export --template="{{.status.conditions}}"' expecting success and text '<no value>' export: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.246s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-export'' expecting success... SUCCESS after 0.378s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-export'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/get.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.278s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.330s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-get'' expecting success... SUCCESS after 0.408s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-get'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-get'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.997s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-get'; re-trying every 0.2s until completion or 60.000s Running test/cmd/get.sh:14: executing 'oc create service loadbalancer testsvc1 --tcp=8080' expecting success and text 'service "testsvc1" created'... SUCCESS after 0.268s: test/cmd/get.sh:14: executing 'oc create service loadbalancer testsvc1 --tcp=8080' expecting success and text 'service "testsvc1" created' Running test/cmd/get.sh:17: executing 'oc get all' expecting success and text 'svc/testsvc1'... SUCCESS after 0.582s: test/cmd/get.sh:17: executing 'oc get all' expecting success and text 'svc/testsvc1' Running test/cmd/get.sh:19: executing 'oc get svc,pod' expecting success and text 'svc/testsvc1'... SUCCESS after 0.438s: test/cmd/get.sh:19: executing 'oc get svc,pod' expecting success and text 'svc/testsvc1' Running test/cmd/get.sh:20: executing 'oc get svc,pod testsvc1' expecting failure and text 'svc/testsvc1'... SUCCESS after 0.604s: test/cmd/get.sh:20: executing 'oc get svc,pod testsvc1' expecting failure and text 'svc/testsvc1' Running test/cmd/get.sh:22: executing 'oc create imagestream testimg1' expecting success and text 'imagestream "testimg1" created'... SUCCESS after 0.359s: test/cmd/get.sh:22: executing 'oc create imagestream testimg1' expecting success and text 'imagestream "testimg1" created' Running test/cmd/get.sh:23: executing 'oc get svc,is' expecting success and text 'svc/testsvc1'... SUCCESS after 0.452s: test/cmd/get.sh:23: executing 'oc get svc,is' expecting success and text 'svc/testsvc1' Running test/cmd/get.sh:25: executing 'oc create service loadbalancer testsvc2 --tcp=8081' expecting success and text 'service "testsvc2" created'... SUCCESS after 0.383s: test/cmd/get.sh:25: executing 'oc create service loadbalancer testsvc2 --tcp=8081' expecting success and text 'service "testsvc2" created' Running test/cmd/get.sh:26: executing 'oc get all' expecting success and text 'svc/testsvc2'... SUCCESS after 0.653s: test/cmd/get.sh:26: executing 'oc get all' expecting success and text 'svc/testsvc2' Running test/cmd/get.sh:28: executing 'oc get svc/testsvc1 svc/testsvc2' expecting success and not text 'svc/testsvc1'... SUCCESS after 0.397s: test/cmd/get.sh:28: executing 'oc get svc/testsvc1 svc/testsvc2' expecting success and not text 'svc/testsvc1' Running test/cmd/get.sh:29: executing 'oc get svc/testsvc1 is/testimg1' expecting success and text 'svc/testsvc1'... SUCCESS after 0.481s: test/cmd/get.sh:29: executing 'oc get svc/testsvc1 is/testimg1' expecting success and text 'svc/testsvc1' Running test/cmd/get.sh:31: executing 'oc get svc' expecting success and text 'testsvc1'... SUCCESS after 0.437s: test/cmd/get.sh:31: executing 'oc get svc' expecting success and text 'testsvc1' Running test/cmd/get.sh:33: executing 'oc create user test-user-1' expecting success... SUCCESS after 0.479s: test/cmd/get.sh:33: executing 'oc create user test-user-1' expecting success Running test/cmd/get.sh:34: executing 'oc label user/test-user-1 customlabel=true' expecting success... SUCCESS after 0.320s: test/cmd/get.sh:34: executing 'oc label user/test-user-1 customlabel=true' expecting success Running test/cmd/get.sh:35: executing 'oc get users test-user-1 --show-labels' expecting success and text 'customlabel=true'... SUCCESS after 0.391s: test/cmd/get.sh:35: executing 'oc get users test-user-1 --show-labels' expecting success and text 'customlabel=true' Running test/cmd/get.sh:36: executing 'oc get users test-user-1' expecting success and not text 'customlabel=true'... SUCCESS after 0.519s: test/cmd/get.sh:36: executing 'oc get users test-user-1' expecting success and not text 'customlabel=true' Running test/cmd/get.sh:38: executing 'oc get projectrequests -o yaml' expecting success and text 'status: Success'... SUCCESS after 0.350s: test/cmd/get.sh:38: executing 'oc get projectrequests -o yaml' expecting success and text 'status: Success' Running test/cmd/get.sh:39: executing 'oc get projectrequests,svc,pod -o yaml' expecting success and text 'kind: List'... SUCCESS after 0.398s: test/cmd/get.sh:39: executing 'oc get projectrequests,svc,pod -o yaml' expecting success and text 'kind: List' Running test/cmd/get.sh:41: executing 'oc create cm cmone' expecting success... SUCCESS after 0.237s: test/cmd/get.sh:41: executing 'oc create cm cmone' expecting success Running test/cmd/get.sh:42: executing 'oc create cm cmtwo' expecting success... SUCCESS after 0.339s: test/cmd/get.sh:42: executing 'oc create cm cmtwo' expecting success Running test/cmd/get.sh:43: executing 'oc create cm cmthree' expecting success... SUCCESS after 0.382s: test/cmd/get.sh:43: executing 'oc create cm cmthree' expecting success Running test/cmd/get.sh:44: executing 'oc get configmap --chunk-size=1 --watch --request-timeout=1s' expecting success and not text 'watch is only supported on individual resources'... SUCCESS after 1.277s: test/cmd/get.sh:44: executing 'oc get configmap --chunk-size=1 --watch --request-timeout=1s' expecting success and not text 'watch is only supported on individual resources' Running test/cmd/get.sh:45: executing 'oc get configmap --chunk-size=1 --watch-only --request-timeout=1s' expecting success and not text 'watch is only supported on individual resources'... SUCCESS after 1.269s: test/cmd/get.sh:45: executing 'oc get configmap --chunk-size=1 --watch-only --request-timeout=1s' expecting success and not text 'watch is only supported on individual resources' oc get: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.261s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-get'' expecting success... SUCCESS after 0.270s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-get'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/help.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.315s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.394s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-help'' expecting success... SUCCESS after 0.416s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-help'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-help'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.999s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-help'; re-trying every 0.2s until completion or 60.000s Running test/cmd/help.sh:9: executing 'openshift' expecting failure... SUCCESS after 0.248s: test/cmd/help.sh:9: executing 'openshift' expecting failure Running test/cmd/help.sh:10: executing 'kubectl' expecting success... SUCCESS after 0.360s: test/cmd/help.sh:10: executing 'kubectl' expecting success Running test/cmd/help.sh:11: executing 'oc' expecting success... SUCCESS after 0.315s: test/cmd/help.sh:11: executing 'oc' expecting success Running test/cmd/help.sh:12: executing 'oc ex' expecting success... SUCCESS after 0.263s: test/cmd/help.sh:12: executing 'oc ex' expecting success Running test/cmd/help.sh:13: executing 'origin' expecting failure... SUCCESS after 0.268s: test/cmd/help.sh:13: executing 'origin' expecting failure Running test/cmd/help.sh:16: executing 'openshift' expecting failure and text 'Application Platform'... SUCCESS after 0.333s: test/cmd/help.sh:16: executing 'openshift' expecting failure and text 'Application Platform' Running test/cmd/help.sh:17: executing 'oc' expecting success and text 'OpenShift Client'... SUCCESS after 0.232s: test/cmd/help.sh:17: executing 'oc' expecting success and text 'OpenShift Client' Running test/cmd/help.sh:18: executing 'oc -h' expecting success and text 'Build and Deploy Commands:'... SUCCESS after 0.270s: test/cmd/help.sh:18: executing 'oc -h' expecting success and text 'Build and Deploy Commands:' Running test/cmd/help.sh:19: executing 'oc -h' expecting success and text 'Other Commands:'... SUCCESS after 0.362s: test/cmd/help.sh:19: executing 'oc -h' expecting success and text 'Other Commands:' Running test/cmd/help.sh:20: executing 'oc policy --help' expecting success and text 'add-role-to-user'... SUCCESS after 0.416s: test/cmd/help.sh:20: executing 'oc policy --help' expecting success and text 'add-role-to-user' Running test/cmd/help.sh:21: executing 'oc policy --help' expecting success and not text 'Other Commands'... SUCCESS after 0.241s: test/cmd/help.sh:21: executing 'oc policy --help' expecting success and not text 'Other Commands' Running test/cmd/help.sh:22: executing 'oc -h' expecting success and not text 'Options'... SUCCESS after 0.220s: test/cmd/help.sh:22: executing 'oc -h' expecting success and not text 'Options' Running test/cmd/help.sh:23: executing 'oc -h' expecting success and not text 'Global Options'... SUCCESS after 0.265s: test/cmd/help.sh:23: executing 'oc -h' expecting success and not text 'Global Options' Running test/cmd/help.sh:24: executing 'oc types' expecting failure and text 'Deployment Config'... SUCCESS after 0.236s: test/cmd/help.sh:24: executing 'oc types' expecting failure and text 'Deployment Config' Running test/cmd/help.sh:25: executing 'oc adm ca' expecting failure and text 'Manage certificates'... SUCCESS after 0.309s: test/cmd/help.sh:25: executing 'oc adm ca' expecting failure and text 'Manage certificates' Running test/cmd/help.sh:26: executing 'oc exec --help' expecting success and text '\[options\] POD \[\-c CONTAINER\] \-\- COMMAND \[args\.\.\.\]$'... SUCCESS after 0.275s: test/cmd/help.sh:26: executing 'oc exec --help' expecting success and text '\[options\] POD \[\-c CONTAINER\] \-\- COMMAND \[args\.\.\.\]$' Running test/cmd/help.sh:27: executing 'oc rsh --help' expecting success and text '\[options\] POD \[COMMAND\]$'... SUCCESS after 0.379s: test/cmd/help.sh:27: executing 'oc rsh --help' expecting success and text '\[options\] POD \[COMMAND\]$' Running test/cmd/help.sh:30: executing 'oc adm create-master-certs -h' expecting success and text 'Create keys and certificates'... SUCCESS after 0.251s: test/cmd/help.sh:30: executing 'oc adm create-master-certs -h' expecting success and text 'Create keys and certificates' Running test/cmd/help.sh:31: executing 'oc adm create-key-pair -h' expecting success and text 'Create an RSA key pair'... SUCCESS after 0.214s: test/cmd/help.sh:31: executing 'oc adm create-key-pair -h' expecting success and text 'Create an RSA key pair' Running test/cmd/help.sh:32: executing 'oc adm create-server-cert -h' expecting success and text 'Create a key and server certificate'... SUCCESS after 0.256s: test/cmd/help.sh:32: executing 'oc adm create-server-cert -h' expecting success and text 'Create a key and server certificate' Running test/cmd/help.sh:33: executing 'oc adm create-signer-cert -h' expecting success and text 'Create a self-signed CA'... SUCCESS after 0.234s: test/cmd/help.sh:33: executing 'oc adm create-signer-cert -h' expecting success and text 'Create a self-signed CA' Running test/cmd/help.sh:36: executing 'openshift --help' expecting success and text 'OpenShift Application Platform'... SUCCESS after 0.355s: test/cmd/help.sh:36: executing 'openshift --help' expecting success and text 'OpenShift Application Platform' Running test/cmd/help.sh:37: executing 'oc --help' expecting success and text 'OpenShift Client'... SUCCESS after 0.332s: test/cmd/help.sh:37: executing 'oc --help' expecting success and text 'OpenShift Client' Running test/cmd/help.sh:38: executing 'oc login --help' expecting success and text 'Options'... SUCCESS after 0.226s: test/cmd/help.sh:38: executing 'oc login --help' expecting success and text 'Options' Running test/cmd/help.sh:39: executing 'oc login --help' expecting success and not text 'Global Options'... SUCCESS after 0.222s: test/cmd/help.sh:39: executing 'oc login --help' expecting success and not text 'Global Options' Running test/cmd/help.sh:40: executing 'oc login --help' expecting success and text 'insecure-skip-tls-verify'... SUCCESS after 0.218s: test/cmd/help.sh:40: executing 'oc login --help' expecting success and text 'insecure-skip-tls-verify' Running test/cmd/help.sh:43: executing 'oc get --help' expecting success and text 'Display one or many resources'... SUCCESS after 0.279s: test/cmd/help.sh:43: executing 'oc get --help' expecting success and text 'Display one or many resources' Running test/cmd/help.sh:44: executing 'openshift start --help' expecting success and text 'Start an all-in-one server'... SUCCESS after 0.300s: test/cmd/help.sh:44: executing 'openshift start --help' expecting success and text 'Start an all-in-one server' Running test/cmd/help.sh:45: executing 'openshift start master --help' expecting success and text 'Start a master'... SUCCESS after 0.468s: test/cmd/help.sh:45: executing 'openshift start master --help' expecting success and text 'Start a master' Running test/cmd/help.sh:46: executing 'openshift start node --help' expecting success and text 'Start a node'... SUCCESS after 0.295s: test/cmd/help.sh:46: executing 'openshift start node --help' expecting success and text 'Start a node' Running test/cmd/help.sh:47: executing 'oc project --help' expecting success and text 'Switch to another project'... SUCCESS after 0.254s: test/cmd/help.sh:47: executing 'oc project --help' expecting success and text 'Switch to another project' Running test/cmd/help.sh:48: executing 'oc projects --help' expecting success and text 'existing projects'... SUCCESS after 0.215s: test/cmd/help.sh:48: executing 'oc projects --help' expecting success and text 'existing projects' Running test/cmd/help.sh:49: executing 'oc get --help' expecting success and text 'oc'... SUCCESS after 0.237s: test/cmd/help.sh:49: executing 'oc get --help' expecting success and text 'oc' Running test/cmd/help.sh:52: executing 'oc help get' expecting success and text 'Display one or many resources'... SUCCESS after 0.281s: test/cmd/help.sh:52: executing 'oc help get' expecting success and text 'Display one or many resources' Running test/cmd/help.sh:53: executing 'openshift help start' expecting success and text 'Start an all-in-one server'... SUCCESS after 0.325s: test/cmd/help.sh:53: executing 'openshift help start' expecting success and text 'Start an all-in-one server' Running test/cmd/help.sh:54: executing 'openshift help start master' expecting success and text 'Start a master'... SUCCESS after 0.326s: test/cmd/help.sh:54: executing 'openshift help start master' expecting success and text 'Start a master' Running test/cmd/help.sh:55: executing 'openshift help start node' expecting success and text 'Start a node'... SUCCESS after 0.302s: test/cmd/help.sh:55: executing 'openshift help start node' expecting success and text 'Start a node' Running test/cmd/help.sh:56: executing 'oc help project' expecting success and text 'Switch to another project'... SUCCESS after 0.227s: test/cmd/help.sh:56: executing 'oc help project' expecting success and text 'Switch to another project' Running test/cmd/help.sh:57: executing 'oc help projects' expecting success and text 'current active project and existing projects on the server'... SUCCESS after 0.317s: test/cmd/help.sh:57: executing 'oc help projects' expecting success and text 'current active project and existing projects on the server' Running test/cmd/help.sh:60: executing 'oc --help' expecting success and text 'Use "oc <command> --help" for more information'... SUCCESS after 0.362s: test/cmd/help.sh:60: executing 'oc --help' expecting success and text 'Use "oc <command> --help" for more information' Running test/cmd/help.sh:61: executing 'oc --help' expecting success and text 'Use "oc options" for a list of global'... SUCCESS after 0.339s: test/cmd/help.sh:61: executing 'oc --help' expecting success and text 'Use "oc options" for a list of global' Running test/cmd/help.sh:62: executing 'oc help' expecting success and text 'Use "oc <command> --help" for more information'... SUCCESS after 0.303s: test/cmd/help.sh:62: executing 'oc help' expecting success and text 'Use "oc <command> --help" for more information' Running test/cmd/help.sh:63: executing 'oc help' expecting success and text 'Use "oc options" for a list of global'... SUCCESS after 0.310s: test/cmd/help.sh:63: executing 'oc help' expecting success and text 'Use "oc options" for a list of global' Running test/cmd/help.sh:64: executing 'oc set --help' expecting success and text 'Use "oc set <command> --help" for more information'... SUCCESS after 0.236s: test/cmd/help.sh:64: executing 'oc set --help' expecting success and text 'Use "oc set <command> --help" for more information' Running test/cmd/help.sh:65: executing 'oc set --help' expecting success and text 'Use "oc options" for a list of global'... SUCCESS after 0.228s: test/cmd/help.sh:65: executing 'oc set --help' expecting success and text 'Use "oc options" for a list of global' Running test/cmd/help.sh:66: executing 'oc set env --help' expecting success and text 'Use "oc options" for a list of global'... SUCCESS after 0.216s: test/cmd/help.sh:66: executing 'oc set env --help' expecting success and text 'Use "oc options" for a list of global' Running test/cmd/help.sh:69: executing 'oc get' expecting failure and text 'Required resource not specified'... SUCCESS after 0.274s: test/cmd/help.sh:69: executing 'oc get' expecting failure and text 'Required resource not specified' Running test/cmd/help.sh:72: executing 'oc login --certificate-authority=/path/to/invalid' expecting failure and text 'no such file or directory'... SUCCESS after 0.333s: test/cmd/help.sh:72: executing 'oc login --certificate-authority=/path/to/invalid' expecting failure and text 'no such file or directory' Running test/cmd/help.sh:75: executing 'oc policy TYPO' expecting failure... SUCCESS after 0.250s: test/cmd/help.sh:75: executing 'oc policy TYPO' expecting failure Running test/cmd/help.sh:76: executing 'oc secrets TYPO' expecting failure... SUCCESS after 0.270s: test/cmd/help.sh:76: executing 'oc secrets TYPO' expecting failure Running test/cmd/help.sh:79: executing 'oc ex sync-groups --help' expecting success and text 'external provider'... SUCCESS after 0.366s: test/cmd/help.sh:79: executing 'oc ex sync-groups --help' expecting success and text 'external provider' Running test/cmd/help.sh:80: executing 'oc ex prune-groups --help' expecting success and text 'external provider'... SUCCESS after 0.215s: test/cmd/help.sh:80: executing 'oc ex prune-groups --help' expecting success and text 'external provider' Running test/cmd/help.sh:81: executing 'oc adm groups sync --help' expecting success and text 'external provider'... SUCCESS after 0.246s: test/cmd/help.sh:81: executing 'oc adm groups sync --help' expecting success and text 'external provider' Running test/cmd/help.sh:82: executing 'oc adm groups prune --help' expecting success and text 'external provider'... SUCCESS after 0.339s: test/cmd/help.sh:82: executing 'oc adm groups prune --help' expecting success and text 'external provider' Running test/cmd/help.sh:83: executing 'oc adm prune groups --help' expecting success and text 'external provider'... SUCCESS after 0.311s: test/cmd/help.sh:83: executing 'oc adm prune groups --help' expecting success and text 'external provider' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.305s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-help'' expecting success... SUCCESS after 0.267s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-help'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/idle.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.309s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.211s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-idle'' expecting success... SUCCESS after 0.505s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-idle'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-idle'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.557s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-idle'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success... SUCCESS after 0.468s: test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success Running test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success... SUCCESS after 0.299s: test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success Running test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-w4s6w'' expecting success... SUCCESS after 0.319s: test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-w4s6w'' expecting success Running test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.275s: test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success... SUCCESS after 0.421s: test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success Running test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "creationTimestamp": "2019-10-29T14:03:55Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6538", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f1cf7eec-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success... SUCCESS after 0.464s: test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "creationTimestamp": "2019-10-29T14:03:55Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6538", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f1cf7eec-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success Running test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success... SUCCESS after 0.301s: test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success Running test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-w4s6w-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.437s: test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-w4s6w-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-w4s6w-1 --replicas=2' expecting success... SUCCESS after 0.299s: test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-w4s6w-1 --replicas=2' expecting success Running test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.298s: test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-w4s6w-1-n6bb2", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success... SUCCESS after 0.326s: test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-w4s6w-1-n6bb2", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success Running test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.327s: test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:63: executing 'oc idle dc/idling-echo-w4s6w' expecting failure... SUCCESS after 0.382s: test/cmd/idle.sh:63: executing 'oc idle dc/idling-echo-w4s6w' expecting failure Running test/cmd/idle.sh:64: executing 'oc idle idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-w4s6w" to 2 replicas once it receives traffic'... SUCCESS after 0.314s: test/cmd/idle.sh:64: executing 'oc idle idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-w4s6w" to 2 replicas once it receives traffic' Running test/cmd/idle.sh:65: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.'... SUCCESS after 0.270s: test/cmd/idle.sh:65: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.' Running test/cmd/idle.sh:66: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-w4s6w") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true'... SUCCESS after 0.417s: test/cmd/idle.sh:66: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-w4s6w") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true' Running test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success... SUCCESS after 1.664s: test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success Running test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success... SUCCESS after 0.404s: test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success Running test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-ktpht'' expecting success... SUCCESS after 0.347s: test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-ktpht'' expecting success Running test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.282s: test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success... SUCCESS after 0.313s: test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success Running test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:01Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:03:57Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6642", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f34b3dd9-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success... SUCCESS after 0.340s: test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:01Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:03:57Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6642", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f34b3dd9-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success Running test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success... SUCCESS after 0.395s: test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success Running test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-ktpht-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.609s: test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-ktpht-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-ktpht-1 --replicas=2' expecting success... SUCCESS after 0.299s: test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-ktpht-1 --replicas=2' expecting success Running test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.465s: test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-ktpht-1-f6czx", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success... SUCCESS after 0.369s: test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-ktpht-1-f6czx", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success Running test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.387s: test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:71: executing 'oc idle -l app=idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-ktpht" to 2 replicas once it receives traffic'... SUCCESS after 0.374s: test/cmd/idle.sh:71: executing 'oc idle -l app=idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-ktpht" to 2 replicas once it receives traffic' Running test/cmd/idle.sh:72: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.'... SUCCESS after 0.318s: test/cmd/idle.sh:72: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.' Running test/cmd/idle.sh:73: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-ktpht") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true'... SUCCESS after 0.321s: test/cmd/idle.sh:73: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-ktpht") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true' Running test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success... SUCCESS after 1.635s: test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success Running test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success... SUCCESS after 0.392s: test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success Running test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-fjbxb'' expecting success... SUCCESS after 0.275s: test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-fjbxb'' expecting success Running test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.276s: test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success... SUCCESS after 0.269s: test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success Running test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:09Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-ktpht\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:04:06Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6720", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f8660890-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success... SUCCESS after 0.306s: test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:09Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-ktpht\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:04:06Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6720", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "f8660890-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success Running test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success... SUCCESS after 0.378s: test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success Running test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-fjbxb-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.601s: test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-fjbxb-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-fjbxb-1 --replicas=2' expecting success... SUCCESS after 0.283s: test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-fjbxb-1 --replicas=2' expecting success Running test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.293s: test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-fjbxb-1-6mdw9", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success... SUCCESS after 0.344s: test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-fjbxb-1-6mdw9", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success Running test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.287s: test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:78: executing 'oc idle --all' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-fjbxb" to 2 replicas once it receives traffic'... SUCCESS after 0.446s: test/cmd/idle.sh:78: executing 'oc idle --all' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-fjbxb" to 2 replicas once it receives traffic' Running test/cmd/idle.sh:79: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.'... SUCCESS after 0.294s: test/cmd/idle.sh:79: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/idled-at"}}'' expecting success and text '.' Running test/cmd/idle.sh:80: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-fjbxb") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true'... SUCCESS after 0.383s: test/cmd/idle.sh:80: executing 'oc get endpoints idling-echo -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/unidle-targets"}}' | jq '.[] | select(.name == "idling-echo-fjbxb") | (.replicas == 2 and .kind == "DeploymentConfig")'' expecting success and text 'true' Running test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success... SUCCESS after 1.634s: test/cmd/idle.sh:22: executing 'oc delete all --all' expecting success Running test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success... SUCCESS after 0.361s: test/cmd/idle.sh:25: executing 'oc create -f test/testdata/idling-svc-route.yaml' expecting success Running test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-nrfcz'' expecting success... SUCCESS after 0.343s: test/cmd/idle.sh:27: executing 'oc describe deploymentconfigs 'idling-echo-nrfcz'' expecting success Running test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.652s: test/cmd/idle.sh:28: executing 'oc describe endpoints idling-echo' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success... SUCCESS after 0.273s: test/cmd/idle.sh:31: executing 'oc delete service idling-echo' expecting success Running test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:17Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-fjbxb\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-ktpht\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:04:14Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6801", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "fd5e7503-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success... SUCCESS after 0.261s: test/cmd/idle.sh:32: executing 'echo '{ "apiVersion": "v1", "kind": "Endpoints", "metadata": { "annotations": { "idling.alpha.openshift.io/idled-at": "2019-10-29T14:04:17Z", "idling.alpha.openshift.io/unidle-targets": "[{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-fjbxb\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-ktpht\",\"group\":\"apps.openshift.io\",\"replicas\":2},{\"kind\":\"DeploymentConfig\",\"name\":\"idling-echo-w4s6w\",\"group\":\"apps.openshift.io\",\"replicas\":2}]" }, "creationTimestamp": "2019-10-29T14:04:14Z", "labels": { "app": "idling-echo" }, "name": "idling-echo", "namespace": "cmd-idle", "resourceVersion": "6801", "selfLink": "/api/v1/namespaces/cmd-idle/endpoints/idling-echo", "uid": "fd5e7503-fa54-11e9-950d-0242ac110002" }, "subsets": null }' | oc create -f -' expecting success Running test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success... SUCCESS after 0.397s: test/cmd/idle.sh:33: executing 'oc describe endpoints idling-echo' expecting success Running test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-nrfcz-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.543s: test/cmd/idle.sh:35: executing 'oc get replicationcontroller idling-echo-nrfcz-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-nrfcz-1 --replicas=2' expecting success... SUCCESS after 0.287s: test/cmd/idle.sh:36: executing 'oc scale replicationcontroller idling-echo-nrfcz-1 --replicas=2' expecting success Running test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.265s: test/cmd/idle.sh:37: executing 'oc get pod -l app=idling-echo -o go-template='{{ len .items }}'' expecting any result and text '2'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-nrfcz-1-ktj6b", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success... SUCCESS after 0.416s: test/cmd/idle.sh:57: executing 'oc patch endpoints idling-echo -p '{ "subsets": [{ "addresses": [{ "ip": "1.2.3.4", "targetRef": { "kind": "Pod", "name": "idling-echo-nrfcz-1-ktj6b", "namespace": "cmd-idle" } }], "ports": [{"name": "foo", "port": 80}] }] }'' expecting success Running test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.337s: test/cmd/idle.sh:58: executing 'oc get endpoints idling-echo -o go-template="{{ len .subsets }}"' expecting any result and text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/idle.sh:85: executing 'oc idle idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-nrfcz" to 2 replicas once it receives traffic'... SUCCESS after 0.596s: test/cmd/idle.sh:85: executing 'oc idle idling-echo' expecting success and text 'The service will unidle DeploymentConfig "cmd-idle/idling-echo-nrfcz" to 2 replicas once it receives traffic' Running test/cmd/idle.sh:86: executing 'oc get dc idling-echo-nrfcz -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/previous-scale"}}'' expecting success and text '2'... SUCCESS after 0.244s: test/cmd/idle.sh:86: executing 'oc get dc idling-echo-nrfcz -o go-template='{{index .metadata.annotations "idling.alpha.openshift.io/previous-scale"}}'' expecting success and text '2' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.212s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-idle'' expecting success... SUCCESS after 0.275s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-idle'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/image-lookup.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.459s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.291s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-image-lookup'' expecting success... SUCCESS after 0.415s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-image-lookup'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-image-lookup'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.563s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-image-lookup'; re-trying every 0.2s until completion or 60.000s Running test/cmd/image-lookup.sh:19: executing 'oc import-image --confirm --from=nginx:latest nginx:latest' expecting success... SUCCESS after 0.663s: test/cmd/image-lookup.sh:19: executing 'oc import-image --confirm --from=nginx:latest nginx:latest' expecting success Running test/cmd/image-lookup.sh:20: executing 'oc set image-lookup is/nginx' expecting success and text 'updated'... SUCCESS after 0.272s: test/cmd/image-lookup.sh:20: executing 'oc set image-lookup is/nginx' expecting success and text 'updated' Running test/cmd/image-lookup.sh:22: executing 'oc run --generator=run-pod/v1 --restart=Never --image=nginx:latest nginx' expecting success... SUCCESS after 0.269s: test/cmd/image-lookup.sh:22: executing 'oc run --generator=run-pod/v1 --restart=Never --image=nginx:latest nginx' expecting success Running test/cmd/image-lookup.sh:23: executing 'oc get pod/nginx -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx@sha256:'... SUCCESS after 0.275s: test/cmd/image-lookup.sh:23: executing 'oc get pod/nginx -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx@sha256:' Running test/cmd/image-lookup.sh:25: executing 'oc run --generator=job/v1 --restart=Never --image=nginx:latest nginx' expecting success... SUCCESS after 0.694s: test/cmd/image-lookup.sh:25: executing 'oc run --generator=job/v1 --restart=Never --image=nginx:latest nginx' expecting success Running test/cmd/image-lookup.sh:26: executing 'oc get job/nginx -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:'... SUCCESS after 0.372s: test/cmd/image-lookup.sh:26: executing 'oc get job/nginx -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:' Running test/cmd/image-lookup.sh:28: executing 'oc create deployment --image=nginx:latest nginx' expecting success... SUCCESS after 0.377s: test/cmd/image-lookup.sh:28: executing 'oc create deployment --image=nginx:latest nginx' expecting success Running test/cmd/image-lookup.sh:29: executing 'oc get rs -o jsonpath='{..spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:'... SUCCESS after 0.344s: test/cmd/image-lookup.sh:29: executing 'oc get rs -o jsonpath='{..spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:' Running test/cmd/image-lookup.sh:32: executing 'echo '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"nginx"},"spec":{"template":{"metadata":{"labels":{"app":"test"}},"spec":{"containers":[{"name":"main","image":"nginx:latest"}]}}}}' | oc create -f -' expecting success... SUCCESS after 0.268s: test/cmd/image-lookup.sh:32: executing 'echo '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"nginx"},"spec":{"template":{"metadata":{"labels":{"app":"test"}},"spec":{"containers":[{"name":"main","image":"nginx:latest"}]}}}}' | oc create -f -' expecting success Running test/cmd/image-lookup.sh:33: executing 'oc get rc/nginx -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:'... SUCCESS after 0.305s: test/cmd/image-lookup.sh:33: executing 'oc get rc/nginx -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:' Running test/cmd/image-lookup.sh:36: executing 'oc set image-lookup is/nginx' expecting success and text 'was not changed'... SUCCESS after 0.486s: test/cmd/image-lookup.sh:36: executing 'oc set image-lookup is/nginx' expecting success and text 'was not changed' Running test/cmd/image-lookup.sh:37: executing 'oc set image-lookup nginx' expecting success and text 'was not changed'... SUCCESS after 0.513s: test/cmd/image-lookup.sh:37: executing 'oc set image-lookup nginx' expecting success and text 'was not changed' Running test/cmd/image-lookup.sh:38: executing 'oc set image-lookup is --list' expecting success and text 'nginx.*true'... SUCCESS after 0.251s: test/cmd/image-lookup.sh:38: executing 'oc set image-lookup is --list' expecting success and text 'nginx.*true' Running test/cmd/image-lookup.sh:39: executing 'oc set image-lookup nginx --enabled=false' expecting success and text 'updated'... SUCCESS after 0.332s: test/cmd/image-lookup.sh:39: executing 'oc set image-lookup nginx --enabled=false' expecting success and text 'updated' Running test/cmd/image-lookup.sh:40: executing 'oc set image-lookup is --list' expecting success and text 'nginx.*false'... SUCCESS after 0.406s: test/cmd/image-lookup.sh:40: executing 'oc set image-lookup is --list' expecting success and text 'nginx.*false' Running test/cmd/image-lookup.sh:41: executing 'oc set image-lookup unknown --list' expecting failure and text 'the server doesn't have a resource type'... SUCCESS after 0.348s: test/cmd/image-lookup.sh:41: executing 'oc set image-lookup unknown --list' expecting failure and text 'the server doesn't have a resource type' Running test/cmd/image-lookup.sh:42: executing 'oc set image-lookup secrets --list' expecting success and text 'false'... SUCCESS after 0.377s: test/cmd/image-lookup.sh:42: executing 'oc set image-lookup secrets --list' expecting success and text 'false' Running test/cmd/image-lookup.sh:45: executing 'oc delete deploy,dc,rs,rc,pods --all' expecting success... SUCCESS after 3.599s: test/cmd/image-lookup.sh:45: executing 'oc delete deploy,dc,rs,rc,pods --all' expecting success Running test/cmd/image-lookup.sh:48: executing 'oc tag nginx:latest alternate:latest' expecting success... SUCCESS after 0.326s: test/cmd/image-lookup.sh:48: executing 'oc tag nginx:latest alternate:latest' expecting success Running test/cmd/image-lookup.sh:50: executing 'echo '{"kind":"Deployment","apiVersion":"apps/v1beta1","metadata":{"name":"alternate"},"spec":{"template":{"metadata":{"labels":{"app":"test"}},"spec":{"containers":[{"name":"main","image":"alternate:latest"}]}}}}' | oc set image-lookup -f - -o json | oc create -f -' expecting success... SUCCESS after 0.466s: test/cmd/image-lookup.sh:50: executing 'echo '{"kind":"Deployment","apiVersion":"apps/v1beta1","metadata":{"name":"alternate"},"spec":{"template":{"metadata":{"labels":{"app":"test"}},"spec":{"containers":[{"name":"main","image":"alternate:latest"}]}}}}' | oc set image-lookup -f - -o json | oc create -f -' expecting success Running test/cmd/image-lookup.sh:51: executing 'oc run --generator=run-pod/v1 --restart=Never --image=alternate:latest alternate' expecting success... SUCCESS after 0.368s: test/cmd/image-lookup.sh:51: executing 'oc run --generator=run-pod/v1 --restart=Never --image=alternate:latest alternate' expecting success Running test/cmd/image-lookup.sh:52: executing 'oc get pod/alternate -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'alternate:latest'... SUCCESS after 0.318s: test/cmd/image-lookup.sh:52: executing 'oc get pod/alternate -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'alternate:latest' Running test/cmd/image-lookup.sh:53: executing 'oc get rs -o jsonpath='{..spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:'... SUCCESS after 0.295s: test/cmd/image-lookup.sh:53: executing 'oc get rs -o jsonpath='{..spec.template.spec.containers[0].image}'' expecting success and text 'nginx@sha256:' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.384s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-image-lookup'' expecting success... SUCCESS after 0.254s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-image-lookup'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/images.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.290s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.241s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-images'' expecting success... SUCCESS after 0.543s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-images'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-images'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.949s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-images'; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:26: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.522s: test/cmd/images.sh:26: executing 'oc login -u system:admin' expecting success Running test/cmd/images.sh:28: executing 'oc config use-context 'cmd-images/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.310s: test/cmd/images.sh:28: executing 'oc config use-context 'cmd-images/172-17-0-2:28443/system:admin'' expecting success Running test/cmd/images.sh:31: executing 'oc get images --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.762s: test/cmd/images.sh:31: executing 'oc get images --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success Running test/cmd/images.sh:32: executing 'oc create -f '/go/src/github.com/openshift/origin/test/integration/testdata/test-image.json' --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.278s: test/cmd/images.sh:32: executing 'oc create -f '/go/src/github.com/openshift/origin/test/integration/testdata/test-image.json' --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success Running test/cmd/images.sh:33: executing 'oc delete images test --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.273s: test/cmd/images.sh:33: executing 'oc delete images test --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success images: ok Running test/cmd/images.sh:38: executing 'oc get imageStreams' expecting success... SUCCESS after 0.272s: test/cmd/images.sh:38: executing 'oc get imageStreams' expecting success Running test/cmd/images.sh:39: executing 'oc create -f test/integration/testdata/test-image-stream.json' expecting success... SUCCESS after 0.628s: test/cmd/images.sh:39: executing 'oc create -f test/integration/testdata/test-image-stream.json' expecting success Running test/cmd/images.sh:40: executing 'oc get imageStreams test --template='{{.status.dockerImageRepository}}'' expecting success and text 'test'... SUCCESS after 0.362s: test/cmd/images.sh:40: executing 'oc get imageStreams test --template='{{.status.dockerImageRepository}}'' expecting success and text 'test' Running test/cmd/images.sh:41: executing 'oc delete imageStreams test' expecting success... SUCCESS after 0.326s: test/cmd/images.sh:41: executing 'oc delete imageStreams test' expecting success Running test/cmd/images.sh:42: executing 'oc get imageStreams test' expecting failure... SUCCESS after 0.342s: test/cmd/images.sh:42: executing 'oc get imageStreams test' expecting failure Running test/cmd/images.sh:44: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.456s: test/cmd/images.sh:44: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/images.sh:45: executing 'oc get imageStreams ruby --template='{{.status.dockerImageRepository}}'' expecting success and text 'ruby'... SUCCESS after 0.324s: test/cmd/images.sh:45: executing 'oc get imageStreams ruby --template='{{.status.dockerImageRepository}}'' expecting success and text 'ruby' Running test/cmd/images.sh:46: executing 'oc get imageStreams nodejs --template='{{.status.dockerImageRepository}}'' expecting success and text 'nodejs'... SUCCESS after 0.407s: test/cmd/images.sh:46: executing 'oc get imageStreams nodejs --template='{{.status.dockerImageRepository}}'' expecting success and text 'nodejs' Running test/cmd/images.sh:47: executing 'oc get imageStreams wildfly --template='{{.status.dockerImageRepository}}'' expecting success and text 'wildfly'... SUCCESS after 0.555s: test/cmd/images.sh:47: executing 'oc get imageStreams wildfly --template='{{.status.dockerImageRepository}}'' expecting success and text 'wildfly' Running test/cmd/images.sh:48: executing 'oc get imageStreams mysql --template='{{.status.dockerImageRepository}}'' expecting success and text 'mysql'... SUCCESS after 0.314s: test/cmd/images.sh:48: executing 'oc get imageStreams mysql --template='{{.status.dockerImageRepository}}'' expecting success and text 'mysql' Running test/cmd/images.sh:49: executing 'oc get imageStreams postgresql --template='{{.status.dockerImageRepository}}'' expecting success and text 'postgresql'... SUCCESS after 0.285s: test/cmd/images.sh:49: executing 'oc get imageStreams postgresql --template='{{.status.dockerImageRepository}}'' expecting success and text 'postgresql' Running test/cmd/images.sh:50: executing 'oc get imageStreams mongodb --template='{{.status.dockerImageRepository}}'' expecting success and text 'mongodb'... SUCCESS after 0.340s: test/cmd/images.sh:50: executing 'oc get imageStreams mongodb --template='{{.status.dockerImageRepository}}'' expecting success and text 'mongodb' Running test/cmd/images.sh:51: executing 'oc get imageStreams httpd --template='{{.status.dockerImageRepository}}'' expecting success and text 'httpd'... SUCCESS after 0.280s: test/cmd/images.sh:51: executing 'oc get imageStreams httpd --template='{{.status.dockerImageRepository}}'' expecting success and text 'httpd' Running test/cmd/images.sh:54: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.518s: test/cmd/images.sh:54: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:55: executing 'oc get imageStreams wildfly --template='{{ index .metadata.annotations "openshift.io/image.dockerRepositoryCheck"}}'' expecting success and text '[0-9]{4}\-[0-9]{2}\-[0-9]{2}'... SUCCESS after 0.336s: test/cmd/images.sh:55: executing 'oc get imageStreams wildfly --template='{{ index .metadata.annotations "openshift.io/image.dockerRepositoryCheck"}}'' expecting success and text '[0-9]{4}\-[0-9]{2}\-[0-9]{2}' Running test/cmd/images.sh:56: executing 'oc get istag' expecting success and text 'wildfly'... SUCCESS after 0.834s: test/cmd/images.sh:56: executing 'oc get istag' expecting success and text 'wildfly' Running test/cmd/images.sh:59: executing 'oc create imagestream test' expecting success... SUCCESS after 0.238s: test/cmd/images.sh:59: executing 'oc create imagestream test' expecting success Running test/cmd/images.sh:60: executing 'oc create -f test/testdata/mysql-image-stream-mapping.yaml' expecting success... SUCCESS after 0.259s: test/cmd/images.sh:60: executing 'oc create -f test/testdata/mysql-image-stream-mapping.yaml' expecting success Running test/cmd/images.sh:61: executing 'oc get istag/test:new --template="{{ index .image.dockerImageMetadata.Config.Entrypoint 0 }}"' expecting success and text 'docker-entrypoint.sh'... SUCCESS after 0.503s: test/cmd/images.sh:61: executing 'oc get istag/test:new --template="{{ index .image.dockerImageMetadata.Config.Entrypoint 0 }}"' expecting success and text 'docker-entrypoint.sh' Running test/cmd/images.sh:62: executing 'oc get istag/test:new -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237'... SUCCESS after 0.288s: test/cmd/images.sh:62: executing 'oc get istag/test:new -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237' Running test/cmd/images.sh:65: executing 'oc get istag/test:new -o jsonpath={.image.dockerImageReference}' expecting success and text '^172.30.59.183:5000/cmd-images/test@sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237'... SUCCESS after 0.290s: test/cmd/images.sh:65: executing 'oc get istag/test:new -o jsonpath={.image.dockerImageReference}' expecting success and text '^172.30.59.183:5000/cmd-images/test@sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237' Running test/cmd/images.sh:66: executing 'oc get istag/test:new -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/test@sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237'... SUCCESS after 0.299s: test/cmd/images.sh:66: executing 'oc get istag/test:new -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/test@sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237' Running test/cmd/images.sh:69: executing 'oc annotate --context='cmd-images/172-17-0-2:28443/system:admin' --overwrite image/sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237 images.openshift.io/deny-execution=true' expecting success... SUCCESS after 0.282s: test/cmd/images.sh:69: executing 'oc annotate --context='cmd-images/172-17-0-2:28443/system:admin' --overwrite image/sha256:b2f400f4a5e003b0543decf61a0a010939f3fba07bafa226f11ed7b5f1e81237 images.openshift.io/deny-execution=true' expecting success Running test/cmd/images.sh:70: executing 'oc run vulnerable --image=172.30.59.183:5000/cmd-images/test:new --restart=Never' expecting failure and text 'spec.containers\[0\].image: Forbidden: this image is prohibited by policy'... SUCCESS after 0.410s: test/cmd/images.sh:70: executing 'oc run vulnerable --image=172.30.59.183:5000/cmd-images/test:new --restart=Never' expecting failure and text 'spec.containers\[0\].image: Forbidden: this image is prohibited by policy' Running test/cmd/images.sh:73: executing 'oc get istag/wildfly:latest -o jsonpath={.generation}' expecting success and text '2'... SUCCESS after 0.366s: test/cmd/images.sh:73: executing 'oc get istag/wildfly:latest -o jsonpath={.generation}' expecting success and text '2' Running test/cmd/images.sh:74: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.kind}' expecting success and text 'ImageStreamTag'... SUCCESS after 0.321s: test/cmd/images.sh:74: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.kind}' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:75: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.name}' expecting success and text '10.1'... SUCCESS after 0.290s: test/cmd/images.sh:75: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.name}' expecting success and text '10.1' Running test/cmd/images.sh:76: executing 'oc annotate istag/wildfly:latest foo=bar' expecting success... SUCCESS after 0.404s: test/cmd/images.sh:76: executing 'oc annotate istag/wildfly:latest foo=bar' expecting success Running test/cmd/images.sh:77: executing 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations.foo}' expecting success and text 'bar'... SUCCESS after 0.298s: test/cmd/images.sh:77: executing 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations.foo}' expecting success and text 'bar' Running test/cmd/images.sh:78: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.annotations.foo}' expecting success and text 'bar'... SUCCESS after 0.298s: test/cmd/images.sh:78: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.annotations.foo}' expecting success and text 'bar' Running test/cmd/images.sh:79: executing 'oc annotate istag/wildfly:latest foo-' expecting success... SUCCESS after 0.779s: test/cmd/images.sh:79: executing 'oc annotate istag/wildfly:latest foo-' expecting success Running test/cmd/images.sh:80: executing 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations}' expecting success and not text 'bar'... SUCCESS after 0.323s: test/cmd/images.sh:80: executing 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations}' expecting success and not text 'bar' Running test/cmd/images.sh:81: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.annotations}' expecting success and not text 'bar'... SUCCESS after 0.246s: test/cmd/images.sh:81: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.annotations}' expecting success and not text 'bar' Running test/cmd/images.sh:82: executing 'oc patch istag/wildfly:latest -p='{"tag":{"from":{"kind":"DockerImage","name":"mysql:latest"}}}'' expecting success... SUCCESS after 0.282s: test/cmd/images.sh:82: executing 'oc patch istag/wildfly:latest -p='{"tag":{"from":{"kind":"DockerImage","name":"mysql:latest"}}}'' expecting success Running test/cmd/images.sh:83: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.kind}' expecting success and text 'DockerImage'... SUCCESS after 0.449s: test/cmd/images.sh:83: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.kind}' expecting success and text 'DockerImage' Running test/cmd/images.sh:84: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.name}' expecting success and text 'mysql:latest'... SUCCESS after 0.292s: test/cmd/images.sh:84: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.from.name}' expecting success and text 'mysql:latest' Running test/cmd/images.sh:85: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.generation}' expecting success and not text '2'... SUCCESS after 0.341s: test/cmd/images.sh:85: executing 'oc get istag/wildfly:latest -o jsonpath={.tag.generation}' expecting success and not text '2' Running test/cmd/images.sh:88: executing 'oc create imagestreamtag tag:1 --from=wildfly:10.1' expecting success... SUCCESS after 0.341s: test/cmd/images.sh:88: executing 'oc create imagestreamtag tag:1 --from=wildfly:10.1' expecting success Running test/cmd/images.sh:89: executing 'oc create imagestreamtag tag:2 --from-image=mysql:latest' expecting success... SUCCESS after 0.455s: test/cmd/images.sh:89: executing 'oc create imagestreamtag tag:2 --from-image=mysql:latest' expecting success Running test/cmd/images.sh:90: executing 'oc get imagestreamtags tag:2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.411s: test/cmd/images.sh:90: executing 'oc get imagestreamtags tag:2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:91: executing 'oc create imagestreamtag tag:3 -A foo=bar' expecting success... SUCCESS after 0.296s: test/cmd/images.sh:91: executing 'oc create imagestreamtag tag:3 -A foo=bar' expecting success Running test/cmd/images.sh:92: executing 'oc create imagestreamtag tag:4 --from=:2' expecting success... SUCCESS after 0.610s: test/cmd/images.sh:92: executing 'oc create imagestreamtag tag:4 --from=:2' expecting success Running test/cmd/images.sh:93: executing 'oc create imagestreamtag tag:5 --from=tag:2' expecting success... SUCCESS after 0.270s: test/cmd/images.sh:93: executing 'oc create imagestreamtag tag:5 --from=tag:2' expecting success Running test/cmd/images.sh:94: executing 'oc create imagestreamtag tag:6 --reference --from-image=mysql:latest' expecting success... SUCCESS after 0.271s: test/cmd/images.sh:94: executing 'oc create imagestreamtag tag:6 --reference --from-image=mysql:latest' expecting success Running test/cmd/images.sh:95: executing 'oc create imagestreamtag tag:7 --reference-policy=Local --from=tag:2' expecting success... SUCCESS after 0.304s: test/cmd/images.sh:95: executing 'oc create imagestreamtag tag:7 --reference-policy=Local --from=tag:2' expecting success Running test/cmd/images.sh:96: executing 'oc create istag tag:8 --insecure --from-image=mysql:latest' expecting success... SUCCESS after 0.327s: test/cmd/images.sh:96: executing 'oc create istag tag:8 --insecure --from-image=mysql:latest' expecting success Running test/cmd/images.sh:97: executing 'oc get imagestreamtags tag:8' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.594s: test/cmd/images.sh:97: executing 'oc get imagestreamtags tag:8' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:98: executing 'oc create imagestreamtag tag:9 --scheduled --reference-policy=Local --from-image=mysql:latest' expecting success... SUCCESS after 0.407s: test/cmd/images.sh:98: executing 'oc create imagestreamtag tag:9 --scheduled --reference-policy=Local --from-image=mysql:latest' expecting success Running test/cmd/images.sh:99: executing 'oc create imagestream tag-b' expecting success... SUCCESS after 0.331s: test/cmd/images.sh:99: executing 'oc create imagestream tag-b' expecting success Running test/cmd/images.sh:100: executing 'oc create imagestreamtag tag-b:1 --from=wildfly:10.1' expecting success... SUCCESS after 0.269s: test/cmd/images.sh:100: executing 'oc create imagestreamtag tag-b:1 --from=wildfly:10.1' expecting success Running test/cmd/images.sh:102: executing 'oc create imagestreamtag tag-c --from-image=mysql:latest' expecting failure and text 'must be of the form <stream_name>:<tag>'... SUCCESS after 0.236s: test/cmd/images.sh:102: executing 'oc create imagestreamtag tag-c --from-image=mysql:latest' expecting failure and text 'must be of the form <stream_name>:<tag>' Running test/cmd/images.sh:103: executing 'oc create imagestreamtag tag-c:1 -A foo' expecting failure and text 'annotations must be of the form key=value'... SUCCESS after 0.314s: test/cmd/images.sh:103: executing 'oc create imagestreamtag tag-c:1 -A foo' expecting failure and text 'annotations must be of the form key=value' Running test/cmd/images.sh:104: executing 'oc create imagestreamtag tag-c:2 --from=mysql --from-image=mysql:latest' expecting failure and text '\--from and --from-image may not be used together'... SUCCESS after 0.311s: test/cmd/images.sh:104: executing 'oc create imagestreamtag tag-c:2 --from=mysql --from-image=mysql:latest' expecting failure and text '\--from and --from-image may not be used together' Running test/cmd/images.sh:106: executing 'oc get istag/tag:1 -o jsonpath={.image.dockerImageReference}' expecting success and text 'wildfly.*@sha256:'... SUCCESS after 0.337s: test/cmd/images.sh:106: executing 'oc get istag/tag:1 -o jsonpath={.image.dockerImageReference}' expecting success and text 'wildfly.*@sha256:' Running test/cmd/images.sh:108: executing 'oc get istag/tag-b:1 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:7775d40f77e22897dc760b76f1656f67ef6bd5561b4d74fbb030b977f61d48e8'... SUCCESS after 0.307s: test/cmd/images.sh:108: executing 'oc get istag/tag-b:1 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:7775d40f77e22897dc760b76f1656f67ef6bd5561b4d74fbb030b977f61d48e8' Running test/cmd/images.sh:109: executing 'oc get istag/tag:2 -o jsonpath={.image.dockerImageReference}' expecting success and text 'mysql@sha256:'... SUCCESS after 0.248s: test/cmd/images.sh:109: executing 'oc get istag/tag:2 -o jsonpath={.image.dockerImageReference}' expecting success and text 'mysql@sha256:' Running test/cmd/images.sh:111: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="3")].annotations.foo}'' expecting success and text 'bar'... SUCCESS after 0.378s: test/cmd/images.sh:111: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="3")].annotations.foo}'' expecting success and text 'bar' Running test/cmd/images.sh:112: executing 'oc get istag/tag:4 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d'... SUCCESS after 0.392s: test/cmd/images.sh:112: executing 'oc get istag/tag:4 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d' Running test/cmd/images.sh:113: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="4")].from.name}'' expecting success and text '^2$'... SUCCESS after 0.336s: test/cmd/images.sh:113: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="4")].from.name}'' expecting success and text '^2$' Running test/cmd/images.sh:114: executing 'oc get istag/tag:5 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d'... SUCCESS after 0.358s: test/cmd/images.sh:114: executing 'oc get istag/tag:5 -o jsonpath={.image.metadata.name}' expecting success and text 'sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d' Running test/cmd/images.sh:115: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="6")].reference}'' expecting success and text 'true'... SUCCESS after 0.298s: test/cmd/images.sh:115: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="6")].reference}'' expecting success and text 'true' Running test/cmd/images.sh:116: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="7")].referencePolicy}'' expecting success and text 'Local'... SUCCESS after 0.280s: test/cmd/images.sh:116: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="7")].referencePolicy}'' expecting success and text 'Local' Running test/cmd/images.sh:117: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="8")].importPolicy.insecure}'' expecting success and text 'true'... SUCCESS after 0.372s: test/cmd/images.sh:117: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="8")].importPolicy.insecure}'' expecting success and text 'true' Running test/cmd/images.sh:118: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="9")].importPolicy.scheduled}'' expecting success and text 'true'... SUCCESS after 0.375s: test/cmd/images.sh:118: executing 'oc get is/tag -o 'jsonpath={.spec.tags[?(@.name=="9")].importPolicy.scheduled}'' expecting success and text 'true' Running test/cmd/images.sh:120: executing 'oc delete imageStreams ruby' expecting success... SUCCESS after 0.475s: test/cmd/images.sh:120: executing 'oc delete imageStreams ruby' expecting success Running test/cmd/images.sh:121: executing 'oc delete imageStreams nodejs' expecting success... SUCCESS after 0.318s: test/cmd/images.sh:121: executing 'oc delete imageStreams nodejs' expecting success Running test/cmd/images.sh:122: executing 'oc delete imageStreams wildfly' expecting success... SUCCESS after 0.288s: test/cmd/images.sh:122: executing 'oc delete imageStreams wildfly' expecting success Running test/cmd/images.sh:123: executing 'oc delete imageStreams postgresql' expecting success... SUCCESS after 0.368s: test/cmd/images.sh:123: executing 'oc delete imageStreams postgresql' expecting success Running test/cmd/images.sh:124: executing 'oc delete imageStreams mongodb' expecting success... SUCCESS after 0.347s: test/cmd/images.sh:124: executing 'oc delete imageStreams mongodb' expecting success Running test/cmd/images.sh:125: executing 'oc get imageStreams ruby' expecting failure... SUCCESS after 0.295s: test/cmd/images.sh:125: executing 'oc get imageStreams ruby' expecting failure Running test/cmd/images.sh:126: executing 'oc get imageStreams nodejs' expecting failure... SUCCESS after 0.321s: test/cmd/images.sh:126: executing 'oc get imageStreams nodejs' expecting failure Running test/cmd/images.sh:127: executing 'oc get imageStreams postgresql' expecting failure... SUCCESS after 0.582s: test/cmd/images.sh:127: executing 'oc get imageStreams postgresql' expecting failure Running test/cmd/images.sh:128: executing 'oc get imageStreams mongodb' expecting failure... SUCCESS after 0.265s: test/cmd/images.sh:128: executing 'oc get imageStreams mongodb' expecting failure Running test/cmd/images.sh:129: executing 'oc get imageStreams wildfly' expecting failure... SUCCESS after 0.262s: test/cmd/images.sh:129: executing 'oc get imageStreams wildfly' expecting failure Running test/cmd/images.sh:130: executing 'oc get imagestreamTags mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.439s: test/cmd/images.sh:130: executing 'oc get imagestreamTags mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:131: executing 'oc get imagestreamTags mysql:5.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.549s: test/cmd/images.sh:131: executing 'oc get imagestreamTags mysql:5.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:132: executing 'oc get imagestreamTags mysql:5.7' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.459s: test/cmd/images.sh:132: executing 'oc get imagestreamTags mysql:5.7' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:133: executing 'oc get imagestreams mysql --template='{{ index .metadata.annotations "openshift.io/image.dockerRepositoryCheck"}}'' expecting success and text '[0-9]{4}\-[0-9]{2}\-[0-9]{2}'... SUCCESS after 0.321s: test/cmd/images.sh:133: executing 'oc get imagestreams mysql --template='{{ index .metadata.annotations "openshift.io/image.dockerRepositoryCheck"}}'' expecting success and text '[0-9]{4}\-[0-9]{2}\-[0-9]{2}' Running test/cmd/images.sh:134: executing 'oc describe istag/mysql:latest' expecting success... SUCCESS after 0.407s: test/cmd/images.sh:134: executing 'oc describe istag/mysql:latest' expecting success Running test/cmd/images.sh:135: executing 'oc describe istag/mysql:latest' expecting success and text 'Environment:'... SUCCESS after 0.279s: test/cmd/images.sh:135: executing 'oc describe istag/mysql:latest' expecting success and text 'Environment:' Running test/cmd/images.sh:136: executing 'oc describe istag/mysql:latest' expecting success and text 'Image Created:'... SUCCESS after 0.320s: test/cmd/images.sh:136: executing 'oc describe istag/mysql:latest' expecting success and text 'Image Created:' Running test/cmd/images.sh:137: executing 'oc describe istag/mysql:latest' expecting success and text 'Image Name:'... SUCCESS after 0.540s: test/cmd/images.sh:137: executing 'oc describe istag/mysql:latest' expecting success and text 'Image Name:' Running test/cmd/images.sh:140: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success... SUCCESS after 0.271s: test/cmd/images.sh:140: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success Running test/cmd/images.sh:141: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Environment:'... SUCCESS after 0.264s: test/cmd/images.sh:141: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Environment:' Running test/cmd/images.sh:142: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Image Created:'... SUCCESS after 0.365s: test/cmd/images.sh:142: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Image Created:' Running test/cmd/images.sh:143: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Image Name:'... SUCCESS after 0.342s: test/cmd/images.sh:143: executing 'oc describe isimage/mysql@sha256:e08ee4d4' expecting success and text 'Image Name:' Running test/cmd/images.sh:146: executing 'oc create -f test/testdata/test-multiarch-stream.yaml' expecting success... SUCCESS after 0.310s: test/cmd/images.sh:146: executing 'oc create -f test/testdata/test-multiarch-stream.yaml' expecting success Running test/cmd/images.sh:147: executing 'oc get istag test-multiarch-stream:linux-amd64' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.298s: test/cmd/images.sh:147: executing 'oc get istag test-multiarch-stream:linux-amd64' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:148: executing 'oc get istag test-multiarch-stream:linux-s390x' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.588s: test/cmd/images.sh:148: executing 'oc get istag test-multiarch-stream:linux-s390x' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:149: executing 'oc get istag test-multiarch-stream:linux-amd64 --template={{.image.dockerImageMetadata.Architecture}}' expecting success and text 'amd64'... SUCCESS after 0.412s: test/cmd/images.sh:149: executing 'oc get istag test-multiarch-stream:linux-amd64 --template={{.image.dockerImageMetadata.Architecture}}' expecting success and text 'amd64' Running test/cmd/images.sh:150: executing 'oc get istag test-multiarch-stream:linux-s390x --template={{.image.dockerImageMetadata.Architecture}}' expecting success and text 's390x'... SUCCESS after 0.318s: test/cmd/images.sh:150: executing 'oc get istag test-multiarch-stream:linux-s390x --template={{.image.dockerImageMetadata.Architecture}}' expecting success and text 's390x' Running test/cmd/images.sh:151: executing 'oc delete is test-multiarch-stream' expecting success... SUCCESS after 0.314s: test/cmd/images.sh:151: executing 'oc delete is test-multiarch-stream' expecting success imageStreams: ok Running test/cmd/images.sh:157: executing 'oc get is/mysql --template='{{(index .spec.tags 1).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.395s: test/cmd/images.sh:157: executing 'oc get is/mysql --template='{{(index .spec.tags 1).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:158: executing 'oc get is/mysql --template='{{(index .spec.tags 2).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.446s: test/cmd/images.sh:158: executing 'oc get is/mysql --template='{{(index .spec.tags 2).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:159: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.272s: test/cmd/images.sh:159: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:160: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.name}}'' expecting success and text '5.7'... SUCCESS after 0.361s: test/cmd/images.sh:160: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.name}}'' expecting success and text '5.7' Running test/cmd/images.sh:162: executing 'oc import-image mysql' expecting success and text 'sha256:'... SUCCESS after 0.556s: test/cmd/images.sh:162: executing 'oc import-image mysql' expecting success and text 'sha256:' Running test/cmd/images.sh:163: executing 'oc get is/mysql --template='{{(index .spec.tags 1).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.311s: test/cmd/images.sh:163: executing 'oc get is/mysql --template='{{(index .spec.tags 1).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:164: executing 'oc get is/mysql --template='{{(index .spec.tags 2).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.268s: test/cmd/images.sh:164: executing 'oc get is/mysql --template='{{(index .spec.tags 2).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:165: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.268s: test/cmd/images.sh:165: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:166: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.name}}'' expecting success and text '5.7'... SUCCESS after 0.416s: test/cmd/images.sh:166: executing 'oc get is/mysql --template='{{(index .spec.tags 3).from.name}}'' expecting success and text '5.7' Running test/cmd/images.sh:168: executing 'oc import-image mysql --from=docker.io/mysql' expecting failure and text 'use the 'tag' command if you want to change the source'... SUCCESS after 0.435s: test/cmd/images.sh:168: executing 'oc import-image mysql --from=docker.io/mysql' expecting failure and text 'use the 'tag' command if you want to change the source' Running test/cmd/images.sh:169: executing 'oc describe is/mysql' expecting success... SUCCESS after 0.343s: test/cmd/images.sh:169: executing 'oc describe is/mysql' expecting success Running test/cmd/images.sh:171: executing 'oc import-image mysql:5.6' expecting success and text 'sha256:'... SUCCESS after 0.671s: test/cmd/images.sh:171: executing 'oc import-image mysql:5.6' expecting success and text 'sha256:' Running test/cmd/images.sh:172: executing 'oc import-image mysql:latest' expecting success and text 'sha256:'... SUCCESS after 0.357s: test/cmd/images.sh:172: executing 'oc import-image mysql:latest' expecting success and text 'sha256:' Running test/cmd/images.sh:174: executing 'oc import-image mysql:external --from=docker.io/mysql' expecting success and text 'sha256:'... SUCCESS after 0.495s: test/cmd/images.sh:174: executing 'oc import-image mysql:external --from=docker.io/mysql' expecting success and text 'sha256:' Running test/cmd/images.sh:175: executing 'oc get istag/mysql:external --template='{{.tag.from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.433s: test/cmd/images.sh:175: executing 'oc get istag/mysql:external --template='{{.tag.from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:176: executing 'oc get istag/mysql:external --template='{{.tag.from.name}}'' expecting success and text 'docker.io/mysql'... SUCCESS after 0.316s: test/cmd/images.sh:176: executing 'oc get istag/mysql:external --template='{{.tag.from.name}}'' expecting success and text 'docker.io/mysql' Running test/cmd/images.sh:178: executing 'oc import-image mysql-new-single:latest --from=docker.io/mysql:latest' expecting failure and text '\-\-confirm'... SUCCESS after 0.296s: test/cmd/images.sh:178: executing 'oc import-image mysql-new-single:latest --from=docker.io/mysql:latest' expecting failure and text '\-\-confirm' Running test/cmd/images.sh:179: executing 'oc import-image mysql-new-single:latest --from=docker.io/mysql:latest --confirm' expecting success and text 'sha256:'... SUCCESS after 0.623s: test/cmd/images.sh:179: executing 'oc import-image mysql-new-single:latest --from=docker.io/mysql:latest --confirm' expecting success and text 'sha256:' Running test/cmd/images.sh:180: executing 'oc get is/mysql-new-single --template='{{(len .spec.tags)}}'' expecting success and text '1'... SUCCESS after 0.259s: test/cmd/images.sh:180: executing 'oc get is/mysql-new-single --template='{{(len .spec.tags)}}'' expecting success and text '1' Running test/cmd/images.sh:181: executing 'oc delete is/mysql-new-single' expecting success... SUCCESS after 0.333s: test/cmd/images.sh:181: executing 'oc delete is/mysql-new-single' expecting success Running test/cmd/images.sh:183: executing 'oc import-image mysql-new-all --from=mysql --all' expecting failure and text '\-\-confirm'... SUCCESS after 0.273s: test/cmd/images.sh:183: executing 'oc import-image mysql-new-all --from=mysql --all' expecting failure and text '\-\-confirm' Running test/cmd/images.sh:184: executing 'oc import-image mysql-new-all --from=mysql --all --confirm' expecting success and text 'sha256:'... SUCCESS after 0.893s: test/cmd/images.sh:184: executing 'oc import-image mysql-new-all --from=mysql --all --confirm' expecting success and text 'sha256:' import-image: ok Running test/cmd/images.sh:191: executing 'oc tag mysql:latest mysql:tag1 --alias' expecting success... SUCCESS after 0.270s: test/cmd/images.sh:191: executing 'oc tag mysql:latest mysql:tag1 --alias' expecting success Running test/cmd/images.sh:192: executing 'oc get is/mysql --template='{{(index .spec.tags 5).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.619s: test/cmd/images.sh:192: executing 'oc get is/mysql --template='{{(index .spec.tags 5).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:194: executing 'oc tag mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag2 --alias' expecting success... SUCCESS after 0.282s: test/cmd/images.sh:194: executing 'oc tag mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag2 --alias' expecting success Running test/cmd/images.sh:195: executing 'oc get is/mysql --template='{{(index .spec.tags 6).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.316s: test/cmd/images.sh:195: executing 'oc get is/mysql --template='{{(index .spec.tags 6).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:197: executing 'oc tag mysql:notfound mysql:tag3 --alias' expecting success... SUCCESS after 0.316s: test/cmd/images.sh:197: executing 'oc tag mysql:notfound mysql:tag3 --alias' expecting success Running test/cmd/images.sh:198: executing 'oc get is/mysql --template='{{(index .spec.tags 7).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.362s: test/cmd/images.sh:198: executing 'oc get is/mysql --template='{{(index .spec.tags 7).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:200: executing 'oc tag --source=imagestreamtag mysql:latest mysql:tag4 --alias' expecting success... SUCCESS after 0.265s: test/cmd/images.sh:200: executing 'oc tag --source=imagestreamtag mysql:latest mysql:tag4 --alias' expecting success Running test/cmd/images.sh:201: executing 'oc get is/mysql --template='{{(index .spec.tags 8).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.341s: test/cmd/images.sh:201: executing 'oc get is/mysql --template='{{(index .spec.tags 8).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:203: executing 'oc tag --source=istag mysql:latest mysql:tag5 --alias' expecting success... SUCCESS after 0.419s: test/cmd/images.sh:203: executing 'oc tag --source=istag mysql:latest mysql:tag5 --alias' expecting success Running test/cmd/images.sh:204: executing 'oc get is/mysql --template='{{(index .spec.tags 9).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.406s: test/cmd/images.sh:204: executing 'oc get is/mysql --template='{{(index .spec.tags 9).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:206: executing 'oc tag --source=imagestreamimage mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag6 --alias' expecting success... SUCCESS after 0.273s: test/cmd/images.sh:206: executing 'oc tag --source=imagestreamimage mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag6 --alias' expecting success Running test/cmd/images.sh:207: executing 'oc get is/mysql --template='{{(index .spec.tags 10).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.302s: test/cmd/images.sh:207: executing 'oc get is/mysql --template='{{(index .spec.tags 10).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:209: executing 'oc tag --source=isimage mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag7 --alias' expecting success... SUCCESS after 0.391s: test/cmd/images.sh:209: executing 'oc tag --source=isimage mysql@sha256:0491ecfc011cdebbd6c9bc2f5cd8fd0bd43f6e9b96caae96fb404eb00381068d mysql:tag7 --alias' expecting success Running test/cmd/images.sh:210: executing 'oc get is/mysql --template='{{(index .spec.tags 11).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.286s: test/cmd/images.sh:210: executing 'oc get is/mysql --template='{{(index .spec.tags 11).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:212: executing 'oc tag --source=docker mysql:latest mysql:tag8 --alias' expecting success... SUCCESS after 0.339s: test/cmd/images.sh:212: executing 'oc tag --source=docker mysql:latest mysql:tag8 --alias' expecting success Running test/cmd/images.sh:213: executing 'oc get is/mysql --template='{{(index .spec.tags 12).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.542s: test/cmd/images.sh:213: executing 'oc get is/mysql --template='{{(index .spec.tags 12).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:215: executing 'oc tag mysql:latest mysql:zzz mysql:yyy --alias' expecting success... SUCCESS after 0.253s: test/cmd/images.sh:215: executing 'oc tag mysql:latest mysql:zzz mysql:yyy --alias' expecting success Running test/cmd/images.sh:216: executing 'oc get is/mysql --template='{{(index .spec.tags 13).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.264s: test/cmd/images.sh:216: executing 'oc get is/mysql --template='{{(index .spec.tags 13).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:217: executing 'oc get is/mysql --template='{{(index .spec.tags 14).from.kind}}'' expecting success and text 'ImageStreamTag'... SUCCESS after 0.284s: test/cmd/images.sh:217: executing 'oc get is/mysql --template='{{(index .spec.tags 14).from.kind}}'' expecting success and text 'ImageStreamTag' Running test/cmd/images.sh:219: executing 'oc tag mysql:latest tagtest:tag1 --alias' expecting failure and text 'cannot set alias across'... SUCCESS after 0.422s: test/cmd/images.sh:219: executing 'oc tag mysql:latest tagtest:tag1 --alias' expecting failure and text 'cannot set alias across' Running test/cmd/images.sh:223: executing 'oc label image sha256:e08ee4d43b7356607685b69bde6335e27cf20c020f345b6c6c59400183882764 foo=bar' expecting success... SUCCESS after 0.279s: test/cmd/images.sh:223: executing 'oc label image sha256:e08ee4d43b7356607685b69bde6335e27cf20c020f345b6c6c59400183882764 foo=bar' expecting success Running test/cmd/images.sh:224: executing 'oc get image sha256:e08ee4d43b7356607685b69bde6335e27cf20c020f345b6c6c59400183882764 --show-labels' expecting success and text 'foo=bar'... SUCCESS after 0.462s: test/cmd/images.sh:224: executing 'oc get image sha256:e08ee4d43b7356607685b69bde6335e27cf20c020f345b6c6c59400183882764 --show-labels' expecting success and text 'foo=bar' Running test/cmd/images.sh:227: executing 'oc label is/mysql labelA=value' expecting success... SUCCESS after 0.397s: test/cmd/images.sh:227: executing 'oc label is/mysql labelA=value' expecting success Running test/cmd/images.sh:228: executing 'oc tag mysql:latest mysql:labeled' expecting success... SUCCESS after 0.250s: test/cmd/images.sh:228: executing 'oc tag mysql:latest mysql:labeled' expecting success Running test/cmd/images.sh:229: executing 'oc get istag/mysql:labeled -o jsonpath='{.metadata.labels.labelA}'' expecting success and text 'value'... SUCCESS after 0.297s: test/cmd/images.sh:229: executing 'oc get istag/mysql:labeled -o jsonpath='{.metadata.labels.labelA}'' expecting success and text 'value' Running test/cmd/images.sh:231: executing 'oc tag registry-1.docker.io/openshift/origin:v1.0.4 newrepo:latest' expecting success... SUCCESS after 0.329s: test/cmd/images.sh:231: executing 'oc tag registry-1.docker.io/openshift/origin:v1.0.4 newrepo:latest' expecting success Running test/cmd/images.sh:232: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'DockerImage'... SUCCESS after 0.757s: test/cmd/images.sh:232: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'DockerImage' Running test/cmd/images.sh:233: executing 'oc get istag/mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.430s: test/cmd/images.sh:233: executing 'oc get istag/mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/images.sh:235: executing 'oc tag mysql:5.5 newrepo:latest' expecting success... SUCCESS after 0.242s: test/cmd/images.sh:235: executing 'oc tag mysql:5.5 newrepo:latest' expecting success Running test/cmd/images.sh:236: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.367s: test/cmd/images.sh:236: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:237: executing 'oc get is/newrepo --template='{{(index .status.tags 0 "items" 0).dockerImageReference}}'' expecting success and text '^docker.io/openshift/mysql-55-centos7@sha256:'... SUCCESS after 0.373s: test/cmd/images.sh:237: executing 'oc get is/newrepo --template='{{(index .status.tags 0 "items" 0).dockerImageReference}}'' expecting success and text '^docker.io/openshift/mysql-55-centos7@sha256:' Running test/cmd/images.sh:239: executing 'oc tag test:new newrepo:direct' expecting success... SUCCESS after 0.306s: test/cmd/images.sh:239: executing 'oc tag test:new newrepo:direct' expecting success Running test/cmd/images.sh:240: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/newrepo@sha256:'... SUCCESS after 0.301s: test/cmd/images.sh:240: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/newrepo@sha256:' Running test/cmd/images.sh:242: executing 'oc tag mysql:5.5 reference:latest --reference' expecting success... SUCCESS after 0.425s: test/cmd/images.sh:242: executing 'oc tag mysql:5.5 reference:latest --reference' expecting success Running test/cmd/images.sh:243: executing 'oc get is/reference --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.374s: test/cmd/images.sh:243: executing 'oc get is/reference --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:244: executing 'oc get is/reference --template='{{(index .spec.tags 0).reference}}'' expecting success and text 'true'... SUCCESS after 0.245s: test/cmd/images.sh:244: executing 'oc get is/reference --template='{{(index .spec.tags 0).reference}}'' expecting success and text 'true' Running test/cmd/images.sh:246: executing 'oc new-project test-cmd-images-2' expecting success... SUCCESS after 0.603s: test/cmd/images.sh:246: executing 'oc new-project test-cmd-images-2' expecting success Running test/cmd/images.sh:247: executing 'oc tag cmd-images/mysql:5.5 newrepo:latest' expecting success... SUCCESS after 0.321s: test/cmd/images.sh:247: executing 'oc tag cmd-images/mysql:5.5 newrepo:latest' expecting success Running test/cmd/images.sh:248: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.330s: test/cmd/images.sh:248: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:249: executing 'oc get istag/newrepo:latest -o jsonpath={.image.dockerImageReference}' expecting success and text 'docker.io/openshift/mysql-55-centos7@sha256:'... SUCCESS after 0.266s: test/cmd/images.sh:249: executing 'oc get istag/newrepo:latest -o jsonpath={.image.dockerImageReference}' expecting success and text 'docker.io/openshift/mysql-55-centos7@sha256:' Running test/cmd/images.sh:251: executing 'oc tag newrepo:latest 'cmd-images/mysql:tag1'' expecting success and text 'mysql:tag1 set to'... SUCCESS after 0.362s: test/cmd/images.sh:251: executing 'oc tag newrepo:latest 'cmd-images/mysql:tag1'' expecting success and text 'mysql:tag1 set to' Running test/cmd/images.sh:252: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).name}}'' expecting success and text 'latest'... SUCCESS after 0.316s: test/cmd/images.sh:252: executing 'oc get is/newrepo --template='{{(index .spec.tags 0).name}}'' expecting success and text 'latest' Running test/cmd/images.sh:254: executing 'oc tag cmd-images/test:new newrepo:direct' expecting success... SUCCESS after 0.424s: test/cmd/images.sh:254: executing 'oc tag cmd-images/test:new newrepo:direct' expecting success Running test/cmd/images.sh:257: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '^172.30.59.183:5000/test-cmd-images-2/newrepo@sha256:'... SUCCESS after 0.401s: test/cmd/images.sh:257: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '^172.30.59.183:5000/test-cmd-images-2/newrepo@sha256:' Running test/cmd/images.sh:258: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '/test-cmd-images-2/newrepo@sha256:'... SUCCESS after 0.238s: test/cmd/images.sh:258: executing 'oc get istag/newrepo:direct -o jsonpath={.image.dockerImageReference}' expecting success and text '/test-cmd-images-2/newrepo@sha256:' Running test/cmd/images.sh:260: executing 'oc tag cmd-images/test:new newrepo:indirect --reference' expecting success... SUCCESS after 0.262s: test/cmd/images.sh:260: executing 'oc tag cmd-images/test:new newrepo:indirect --reference' expecting success Running test/cmd/images.sh:261: executing 'oc get istag/newrepo:indirect -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/test@sha256:'... SUCCESS after 0.321s: test/cmd/images.sh:261: executing 'oc get istag/newrepo:indirect -o jsonpath={.image.dockerImageReference}' expecting success and text '/cmd-images/test@sha256:' Running test/cmd/images.sh:262: executing 'oc project cmd-images' expecting success... SUCCESS after 0.419s: test/cmd/images.sh:262: executing 'oc project cmd-images' expecting success Running test/cmd/images.sh:264: executing 'oc tag --source=docker mysql:5.7 newrepo:latest --scheduled' expecting success... SUCCESS after 0.452s: test/cmd/images.sh:264: executing 'oc tag --source=docker mysql:5.7 newrepo:latest --scheduled' expecting success Running test/cmd/images.sh:265: executing 'oc get is/newrepo --template='{{(index .spec.tags 1).importPolicy.scheduled}}'' expecting success and text 'true'... SUCCESS after 0.338s: test/cmd/images.sh:265: executing 'oc get is/newrepo --template='{{(index .spec.tags 1).importPolicy.scheduled}}'' expecting success and text 'true' Running test/cmd/images.sh:266: executing 'oc describe is/newrepo' expecting success and text 'updates automatically from registry mysql:5.7'... SUCCESS after 0.426s: test/cmd/images.sh:266: executing 'oc describe is/newrepo' expecting success and text 'updates automatically from registry mysql:5.7' Running test/cmd/images.sh:267: executing 'oc tag --source=docker mysql:5.7 newrepo:latest --insecure' expecting success... SUCCESS after 0.300s: test/cmd/images.sh:267: executing 'oc tag --source=docker mysql:5.7 newrepo:latest --insecure' expecting success Running test/cmd/images.sh:268: executing 'oc describe is/newrepo' expecting success and text 'will use insecure HTTPS or HTTP connections'... SUCCESS after 0.289s: test/cmd/images.sh:268: executing 'oc describe is/newrepo' expecting success and text 'will use insecure HTTPS or HTTP connections' Running test/cmd/images.sh:269: executing 'oc describe is/newrepo' expecting success and not text 'updates automatically from'... SUCCESS after 0.497s: test/cmd/images.sh:269: executing 'oc describe is/newrepo' expecting success and not text 'updates automatically from' Running test/cmd/images.sh:270: executing 'oc get is/newrepo --template='{{(index .spec.tags 1).importPolicy.insecure}}'' expecting success and text 'true'... SUCCESS after 0.357s: test/cmd/images.sh:270: executing 'oc get is/newrepo --template='{{(index .spec.tags 1).importPolicy.insecure}}'' expecting success and text 'true' Running test/cmd/images.sh:273: executing 'oc get imageStreams tagtest1' expecting failure and text 'not found'... SUCCESS after 0.262s: test/cmd/images.sh:273: executing 'oc get imageStreams tagtest1' expecting failure and text 'not found' Running test/cmd/images.sh:274: executing 'oc get imageStreams tagtest2' expecting failure and text 'not found'... SUCCESS after 0.258s: test/cmd/images.sh:274: executing 'oc get imageStreams tagtest2' expecting failure and text 'not found' Running test/cmd/images.sh:275: executing 'oc tag mysql:latest tagtest1:latest tagtest2:latest' expecting success... SUCCESS after 0.322s: test/cmd/images.sh:275: executing 'oc tag mysql:latest tagtest1:latest tagtest2:latest' expecting success Running test/cmd/images.sh:276: executing 'oc get is/tagtest1 --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.364s: test/cmd/images.sh:276: executing 'oc get is/tagtest1 --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:277: executing 'oc get is/tagtest2 --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage'... SUCCESS after 0.283s: test/cmd/images.sh:277: executing 'oc get is/tagtest2 --template='{{(index .spec.tags 0).from.kind}}'' expecting success and text 'ImageStreamImage' Running test/cmd/images.sh:278: executing 'oc delete is/tagtest1 is/tagtest2' expecting success... SUCCESS after 0.474s: test/cmd/images.sh:278: executing 'oc delete is/tagtest1 is/tagtest2' expecting success Running test/cmd/images.sh:279: executing 'oc tag mysql:latest tagtest:new1' expecting success and text 'Tag tagtest:new1 set to mysql@sha256:'... SUCCESS after 0.275s: test/cmd/images.sh:279: executing 'oc tag mysql:latest tagtest:new1' expecting success and text 'Tag tagtest:new1 set to mysql@sha256:' Running test/cmd/images.sh:282: executing 'oc create -f test/testdata/test-stream.yaml' expecting success... SUCCESS after 0.262s: test/cmd/images.sh:282: executing 'oc create -f test/testdata/test-stream.yaml' expecting success Running test/cmd/images.sh:283: executing 'oc tag test-stream:latest -d' expecting success and text 'Deleted'... SUCCESS after 0.239s: test/cmd/images.sh:283: executing 'oc tag test-stream:latest -d' expecting success and text 'Deleted' Running test/cmd/images.sh:284: executing 'oc delete is/test-stream' expecting success... SUCCESS after 0.349s: test/cmd/images.sh:284: executing 'oc delete is/test-stream' expecting success tag: ok Running test/cmd/images.sh:290: executing 'oc get is perl --template '{{(index .spec.tags 0).name}}'' expecting success and text '5.16'... SUCCESS after 0.543s: test/cmd/images.sh:290: executing 'oc get is perl --template '{{(index .spec.tags 0).name}}'' expecting success and text '5.16' Running test/cmd/images.sh:291: executing 'oc get is perl --template '{{(index .status.tags 0).tag}}'' expecting success and text '5.16'... SUCCESS after 0.470s: test/cmd/images.sh:291: executing 'oc get is perl --template '{{(index .status.tags 0).tag}}'' expecting success and text '5.16' Running test/cmd/images.sh:292: executing 'oc describe is perl | sed -n -e '0,/^Tags:/d' -e '/^\s\+/d' -e '/./p' | head -n 1' expecting success and text 'latest'... SUCCESS after 0.291s: test/cmd/images.sh:292: executing 'oc describe is perl | sed -n -e '0,/^Tags:/d' -e '/^\s\+/d' -e '/./p' | head -n 1' expecting success and text 'latest' Running test/cmd/images.sh:293: executing 'oc delete istag/perl:5.16 --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.370s: test/cmd/images.sh:293: executing 'oc delete istag/perl:5.16 --context='cmd-images/172-17-0-2:28443/system:admin'' expecting success Running test/cmd/images.sh:294: executing 'oc get is/perl --template={{.spec.tags}}' expecting success and not text 'version:5.16'... SUCCESS after 0.265s: test/cmd/images.sh:294: executing 'oc get is/perl --template={{.spec.tags}}' expecting success and not text 'version:5.16' Running test/cmd/images.sh:295: executing 'oc get is/perl --template={{.status.tags}}' expecting success and not text 'version:5.16'... SUCCESS after 0.332s: test/cmd/images.sh:295: executing 'oc get is/perl --template={{.status.tags}}' expecting success and not text 'version:5.16' Running test/cmd/images.sh:296: executing 'oc delete all --all' expecting success... SUCCESS after 1.008s: test/cmd/images.sh:296: executing 'oc delete all --all' expecting success delete istag: ok Running test/cmd/images.sh:302: executing 'oc new-project merge-tags' expecting success... SUCCESS after 0.323s: test/cmd/images.sh:302: executing 'oc new-project merge-tags' expecting success Running test/cmd/images.sh:303: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.843s: test/cmd/images.sh:303: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/images.sh:304: executing 'oc get is ruby -o jsonpath={.spec.tags[*].name}' expecting success and text '2.0 2.2 2.3 2.4 latest'... SUCCESS after 0.320s: test/cmd/images.sh:304: executing 'oc get is ruby -o jsonpath={.spec.tags[*].name}' expecting success and text '2.0 2.2 2.3 2.4 latest' Running test/cmd/images.sh:305: executing 'oc apply -f test/testdata/images/modified-ruby-imagestream.json' expecting success... SUCCESS after 0.523s: test/cmd/images.sh:305: executing 'oc apply -f test/testdata/images/modified-ruby-imagestream.json' expecting success Running test/cmd/images.sh:306: executing 'oc get is ruby -o jsonpath={.spec.tags[*].name}' expecting success and text '2.0 2.2 2.3 2.4 latest newtag'... SUCCESS after 0.428s: test/cmd/images.sh:306: executing 'oc get is ruby -o jsonpath={.spec.tags[*].name}' expecting success and text '2.0 2.2 2.3 2.4 latest newtag' Running test/cmd/images.sh:307: executing 'oc get is ruby -o jsonpath={.spec.tags[3].annotations.version}' expecting success and text '2.4 patched'... SUCCESS after 0.372s: test/cmd/images.sh:307: executing 'oc get is ruby -o jsonpath={.spec.tags[3].annotations.version}' expecting success and text '2.4 patched' Running test/cmd/images.sh:308: executing 'oc delete project merge-tags' expecting success... SUCCESS after 0.273s: test/cmd/images.sh:308: executing 'oc delete project merge-tags' expecting success apply new imagestream tags: ok Running test/cmd/images.sh:314: executing 'oc new-project import-images' expecting success... SUCCESS after 0.736s: test/cmd/images.sh:314: executing 'oc new-project import-images' expecting success Running test/cmd/images.sh:315: executing 'oc create secret docker-registry dummy-secret1 --docker-server=docker.io --docker-username=dummy1 --docker-password=dummy1 --docker-email==dummy1@example.com' expecting success... SUCCESS after 0.306s: test/cmd/images.sh:315: executing 'oc create secret docker-registry dummy-secret1 --docker-server=docker.io --docker-username=dummy1 --docker-password=dummy1 --docker-email==dummy1@example.com' expecting success Running test/cmd/images.sh:316: executing 'oc create secret docker-registry dummy-secret2 --docker-server=docker.io --docker-username=dummy2 --docker-password=dummy2 --docker-email==dummy2@example.com' expecting success... SUCCESS after 0.276s: test/cmd/images.sh:316: executing 'oc create secret docker-registry dummy-secret2 --docker-server=docker.io --docker-username=dummy2 --docker-password=dummy2 --docker-email==dummy2@example.com' expecting success Running test/cmd/images.sh:317: executing 'oc import-image example --from=openshift/hello-openshift --confirm' expecting success and text 'The import completed successfully'... SUCCESS after 0.401s: test/cmd/images.sh:317: executing 'oc import-image example --from=openshift/hello-openshift --confirm' expecting success and text 'The import completed successfully' Running test/cmd/images.sh:318: executing 'oc delete project import-images' expecting success... SUCCESS after 0.399s: test/cmd/images.sh:318: executing 'oc delete project import-images' expecting success import public images with fake secret ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.247s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-images'' expecting success... SUCCESS after 0.462s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-images'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/login.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.554s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.212s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-login'' expecting success... SUCCESS after 0.399s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-login'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-login'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.180s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-login'; re-trying every 0.2s until completion or 60.000s Running test/cmd/login.sh:30: executing 'env -u KUBERNETES_SERVICE_HOST oc get services' expecting failure and text 'Missing or incomplete configuration info. Please login'... SUCCESS after 0.308s: test/cmd/login.sh:30: executing 'env -u KUBERNETES_SERVICE_HOST oc get services' expecting failure and text 'Missing or incomplete configuration info. Please login' Running test/cmd/login.sh:33: executing 'env -u KUBERNETES_SERVICE_HOST KUBERNETES_MASTER=http://172.17.0.2:33333 oc get services' expecting failure and text 'did you specify the right host or port'... SUCCESS after 0.235s: test/cmd/login.sh:33: executing 'env -u KUBERNETES_SERVICE_HOST KUBERNETES_MASTER=http://172.17.0.2:33333 oc get services' expecting failure and text 'did you specify the right host or port' Running test/cmd/login.sh:35: executing 'env -u KUBERNETES_SERVICE_HOST oc get services --server=http://172.17.0.2:33333' expecting failure and text 'did you specify the right host or port'... SUCCESS after 0.325s: test/cmd/login.sh:35: executing 'env -u KUBERNETES_SERVICE_HOST oc get services --server=http://172.17.0.2:33333' expecting failure and text 'did you specify the right host or port' Running test/cmd/login.sh:43: executing 'env -u KUBERNETES_SERVICE_HOST oc get services' expecting failure and text 'certificate signed by unknown authority'... SUCCESS after 0.538s: test/cmd/login.sh:43: executing 'env -u KUBERNETES_SERVICE_HOST oc get services' expecting failure and text 'certificate signed by unknown authority' Running test/cmd/login.sh:47: executing 'oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success... SUCCESS after 0.484s: test/cmd/login.sh:47: executing 'oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success Running test/cmd/login.sh:48: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. Contact your system administrator to request a project'... SUCCESS after 0.309s: test/cmd/login.sh:48: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. Contact your system administrator to request a project' Running test/cmd/login.sh:50: executing 'oc adm policy add-cluster-role-to-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success... SUCCESS after 0.401s: test/cmd/login.sh:50: executing 'oc adm policy add-cluster-role-to-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success Running test/cmd/login.sh:51: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running'... SUCCESS after 0.301s: test/cmd/login.sh:51: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running' Running test/cmd/login.sh:53: executing 'oc login <<< \n' expecting failure and text 'Login failed \(401 Unauthorized\)'... SUCCESS after 0.337s: test/cmd/login.sh:53: executing 'oc login <<< \n' expecting failure and text 'Login failed \(401 Unauthorized\)' Running test/cmd/login.sh:54: executing 'oc logout' expecting success... SUCCESS after 0.244s: test/cmd/login.sh:54: executing 'oc logout' expecting success login and status messages: ok Running test/cmd/login.sh:59: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' --token=badvalue' expecting failure and text 'The token provided is invalid or expired'... SUCCESS after 0.630s: test/cmd/login.sh:59: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' --token=badvalue' expecting failure and text 'The token provided is invalid or expired' Running test/cmd/login.sh:61: executing 'oc login https://172.17.0.2:28443 -u test-user --token=tmp --insecure-skip-tls-verify' expecting failure and text 'mutually exclusive'... SUCCESS after 0.259s: test/cmd/login.sh:61: executing 'oc login https://172.17.0.2:28443 -u test-user --token=tmp --insecure-skip-tls-verify' expecting failure and text 'mutually exclusive' Running test/cmd/login.sh:63: executing 'oc login https://server1 https://server2.com' expecting failure and text 'Only the server URL may be specified'... SUCCESS after 0.214s: test/cmd/login.sh:63: executing 'oc login https://server1 https://server2.com' expecting failure and text 'Only the server URL may be specified' Running test/cmd/login.sh:65: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.415s: test/cmd/login.sh:65: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/login.sh:66: executing 'cat /go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/config' expecting success and text 'v1'... SUCCESS after 0.064s: test/cmd/login.sh:66: executing 'cat /go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/config' expecting success and text 'v1' Running test/cmd/login.sh:67: executing 'oc logout' expecting success... SUCCESS after 0.397s: test/cmd/login.sh:67: executing 'oc logout' expecting success Running test/cmd/login.sh:69: executing 'oc login https://172.17.0.2:28443 --insecure-skip-tls-verify -u test-user -p anything' expecting success... SUCCESS after 0.403s: test/cmd/login.sh:69: executing 'oc login https://172.17.0.2:28443 --insecure-skip-tls-verify -u test-user -p anything' expecting success Running test/cmd/login.sh:72: executing 'oc login --token=03UOH1Qqx-IBsgaiQlObGVA1yzGGXKf9IMb-37GMj-8' expecting success and text 'using the token provided'... SUCCESS after 0.396s: test/cmd/login.sh:72: executing 'oc login --token=03UOH1Qqx-IBsgaiQlObGVA1yzGGXKf9IMb-37GMj-8' expecting success and text 'using the token provided' Running test/cmd/login.sh:73: executing 'oc logout' expecting success... SUCCESS after 0.320s: test/cmd/login.sh:73: executing 'oc logout' expecting success Running test/cmd/login.sh:75: executing 'oc login https://server1:844333' expecting failure and text 'Not a valid port'... SUCCESS after 0.210s: test/cmd/login.sh:75: executing 'oc login https://server1:844333' expecting failure and text 'Not a valid port' Running test/cmd/login.sh:77: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.302s: test/cmd/login.sh:77: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/login.sh:79: executing 'oc new-project project-foo --display-name='my project' --description='boring project description'' expecting success... SUCCESS after 1.006s: test/cmd/login.sh:79: executing 'oc new-project project-foo --display-name='my project' --description='boring project description'' expecting success Running test/cmd/login.sh:80: executing 'oc project' expecting success and text 'Using project "project-foo"'... SUCCESS after 0.247s: test/cmd/login.sh:80: executing 'oc project' expecting success and text 'Using project "project-foo"' Running test/cmd/login.sh:82: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u new-and-unknown-user -p anything' expecting success... SUCCESS after 0.314s: test/cmd/login.sh:82: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u new-and-unknown-user -p anything' expecting success Running test/cmd/login.sh:83: executing 'oc config view' expecting success and text 'current-context.+/172.17.0.2:28443/new-and-unknown-user'... SUCCESS after 0.223s: test/cmd/login.sh:83: executing 'oc config view' expecting success and text 'current-context.+/172.17.0.2:28443/new-and-unknown-user' Running test/cmd/login.sh:85: executing 'oc logout' expecting success... SUCCESS after 0.364s: test/cmd/login.sh:85: executing 'oc logout' expecting success Running test/cmd/login.sh:86: executing 'oc get pods' expecting failure and text '"system:anonymous" cannot list pods'... SUCCESS after 0.356s: test/cmd/login.sh:86: executing 'oc get pods' expecting failure and text '"system:anonymous" cannot list pods' login warnings: ok Running test/cmd/login.sh:94: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.335s: test/cmd/login.sh:94: executing 'oc login https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/login.sh:95: executing 'oc create sa testserviceaccount' expecting success and text 'serviceaccount "testserviceaccount" created'... SUCCESS after 0.362s: test/cmd/login.sh:95: executing 'oc create sa testserviceaccount' expecting success and text 'serviceaccount "testserviceaccount" created' Running test/cmd/login.sh:96: executing 'oc sa get-token testserviceaccount' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.467s: test/cmd/login.sh:96: executing 'oc sa get-token testserviceaccount' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/login.sh:97: executing 'oc login --token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJwcm9qZWN0LWZvbyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJ0ZXN0c2VydmljZWFjY291bnQtdG9rZW4tNmhmeGoiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoidGVzdHNlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiNTM1MDUxM2UtZmE1NS0xMWU5LTk1MGQtMDI0MmFjMTEwMDAyIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OnByb2plY3QtZm9vOnRlc3RzZXJ2aWNlYWNjb3VudCJ9.MN00vpAU0HTXNVLRzyYN3iZpoFK9GY9QDJm_Fqrw56W6We_tO8RjDD7KPMAFZvw6HW_PHtqxf1sNImc3M7Ek0PpKXlU9fOZVRwi4JPvNv-zYokocfBHsRxFQ84Oa6hs4blhOSUIZdHRzDdHbyQfi843wtZCQmkZvhxsU2kuVEM4brzGKBisSI4_EEbyOkEEU5_tT3oduPyC2FLUaS0XmO7nzM4EB8qngJwgumjb7m0tb30D1LHkPVn4juub-ty5HdsDJhyQ5NmdhpLPIx9L-BFr7DpInDRT86MMEjo-0rwTm4LreOI2-h_mWVwOymFb-tmKsMMDDx4a4N-qPXdAR8A' expecting success and text 'system:serviceaccount:project-foo:testserviceaccount'... SUCCESS after 0.254s: test/cmd/login.sh:97: executing 'oc login --token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJwcm9qZWN0LWZvbyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJ0ZXN0c2VydmljZWFjY291bnQtdG9rZW4tNmhmeGoiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoidGVzdHNlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiNTM1MDUxM2UtZmE1NS0xMWU5LTk1MGQtMDI0MmFjMTEwMDAyIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OnByb2plY3QtZm9vOnRlc3RzZXJ2aWNlYWNjb3VudCJ9.MN00vpAU0HTXNVLRzyYN3iZpoFK9GY9QDJm_Fqrw56W6We_tO8RjDD7KPMAFZvw6HW_PHtqxf1sNImc3M7Ek0PpKXlU9fOZVRwi4JPvNv-zYokocfBHsRxFQ84Oa6hs4blhOSUIZdHRzDdHbyQfi843wtZCQmkZvhxsU2kuVEM4brzGKBisSI4_EEbyOkEEU5_tT3oduPyC2FLUaS0XmO7nzM4EB8qngJwgumjb7m0tb30D1LHkPVn4juub-ty5HdsDJhyQ5NmdhpLPIx9L-BFr7DpInDRT86MMEjo-0rwTm4LreOI2-h_mWVwOymFb-tmKsMMDDx4a4N-qPXdAR8A' expecting success and text 'system:serviceaccount:project-foo:testserviceaccount' Running test/cmd/login.sh:99: executing 'oc logout' expecting success and text 'Logged "system:serviceaccount:project-foo:testserviceaccount" out'... SUCCESS after 0.295s: test/cmd/login.sh:99: executing 'oc logout' expecting success and text 'Logged "system:serviceaccount:project-foo:testserviceaccount" out' Running test/cmd/login.sh:101: executing 'oc whoami' expecting failure and text 'User "system:anonymous" cannot get users'... SUCCESS after 0.551s: test/cmd/login.sh:101: executing 'oc whoami' expecting failure and text 'User "system:anonymous" cannot get users' Running test/cmd/login.sh:104: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.367s: test/cmd/login.sh:104: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/login.sh:105: executing 'oc get projects' expecting success... SUCCESS after 0.378s: test/cmd/login.sh:105: executing 'oc get projects' expecting success Running test/cmd/login.sh:106: executing 'oc project project-foo' expecting success... SUCCESS after 0.289s: test/cmd/login.sh:106: executing 'oc project project-foo' expecting success Running test/cmd/login.sh:107: executing 'oc config view' expecting success and text 'current-context.+project-foo/172.17.0.2:28443/test-user'... SUCCESS after 0.483s: test/cmd/login.sh:107: executing 'oc config view' expecting success and text 'current-context.+project-foo/172.17.0.2:28443/test-user' Running test/cmd/login.sh:108: executing 'oc whoami' expecting success and text 'test-user'... SUCCESS after 0.282s: test/cmd/login.sh:108: executing 'oc whoami' expecting success and text 'test-user' Running test/cmd/login.sh:109: executing 'oc whoami --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success and text 'system:admin'... SUCCESS after 0.312s: test/cmd/login.sh:109: executing 'oc whoami --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success and text 'system:admin' Running test/cmd/login.sh:110: executing 'oc whoami -t' expecting success and text '.'... SUCCESS after 0.395s: test/cmd/login.sh:110: executing 'oc whoami -t' expecting success and text '.' Running test/cmd/login.sh:111: executing 'oc whoami -c' expecting success and text '.'... SUCCESS after 0.268s: test/cmd/login.sh:111: executing 'oc whoami -c' expecting success and text '.' Running test/cmd/login.sh:114: executing 'oc get services --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success... SUCCESS after 0.255s: test/cmd/login.sh:114: executing 'oc get services --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success Running test/cmd/login.sh:116: executing 'KUBECONFIG='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig' oc get services' expecting success... SUCCESS after 0.280s: test/cmd/login.sh:116: executing 'KUBECONFIG='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig' oc get services' expecting success Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.276s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-login'' expecting success... SUCCESS after 0.476s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-login'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/migrate.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.478s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.462s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-migrate'' expecting success... SUCCESS after 0.410s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-migrate'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-migrate'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.285s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-migrate'; re-trying every 0.2s until completion or 60.000s Running test/cmd/migrate.sh:15: executing 'oc login -u system:admin' expecting success... SUCCESS after 0.357s: test/cmd/migrate.sh:15: executing 'oc login -u system:admin' expecting success Running test/cmd/migrate.sh:17: executing 'oc get ns --template "{{ range .items }}{{ if not (eq .status.phase \"Active\") }}1{{ end }}{{ end }}"' expecting any result and not text '1'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 2.630s: test/cmd/migrate.sh:17: executing 'oc get ns --template "{{ range .items }}{{ if not (eq .status.phase \"Active\") }}1{{ end }}{{ end }}"' expecting any result and not text '1'; re-trying every 0.2s until completion or 60.000s Running test/cmd/migrate.sh:22: executing 'oc adm migrate storage' expecting success and text 'summary \(dry run\)'... SUCCESS after 2.456s: test/cmd/migrate.sh:22: executing 'oc adm migrate storage' expecting success and text 'summary \(dry run\)' Running test/cmd/migrate.sh:23: executing 'oc adm migrate storage --loglevel=2' expecting success and text 'migrated \(dry run\): -n cmd-migrate serviceaccounts/deployer'... SUCCESS after 2.580s: test/cmd/migrate.sh:23: executing 'oc adm migrate storage --loglevel=2' expecting success and text 'migrated \(dry run\): -n cmd-migrate serviceaccounts/deployer' Running test/cmd/migrate.sh:24: executing 'oc adm migrate storage --loglevel=2 --include=pods' expecting success and not text 'migrated \(dry run\): -n cmd-migrate serviceaccounts/deployer'... SUCCESS after 0.459s: test/cmd/migrate.sh:24: executing 'oc adm migrate storage --loglevel=2 --include=pods' expecting success and not text 'migrated \(dry run\): -n cmd-migrate serviceaccounts/deployer' Running test/cmd/migrate.sh:25: executing 'oc adm migrate storage --loglevel=2 --include=sa --from-key=default/ --to-key=default/\xFF' expecting success and text 'migrated \(dry run\): -n default serviceaccounts/deployer'... SUCCESS after 0.437s: test/cmd/migrate.sh:25: executing 'oc adm migrate storage --loglevel=2 --include=sa --from-key=default/ --to-key=default/\xFF' expecting success and text 'migrated \(dry run\): -n default serviceaccounts/deployer' Running test/cmd/migrate.sh:26: executing 'oc adm migrate storage --loglevel=2 --include=sa --from-key=default/ --to-key=default/deployer' expecting success and not text 'migrated \(dry run\): -n default serviceaccounts/deployer'... SUCCESS after 0.342s: test/cmd/migrate.sh:26: executing 'oc adm migrate storage --loglevel=2 --include=sa --from-key=default/ --to-key=default/deployer' expecting success and not text 'migrated \(dry run\): -n default serviceaccounts/deployer' Running test/cmd/migrate.sh:27: executing 'oc adm migrate storage --loglevel=2 --confirm' expecting success and text 'unchanged:'... SUCCESS after 8.429s: test/cmd/migrate.sh:27: executing 'oc adm migrate storage --loglevel=2 --confirm' expecting success and text 'unchanged:' Running test/cmd/migrate.sh:31: executing 'oc adm migrate authorization' expecting failure and text 'error: the server does not support legacy policy resources'... SUCCESS after 0.370s: test/cmd/migrate.sh:31: executing 'oc adm migrate authorization' expecting failure and text 'error: the server does not support legacy policy resources' Running test/cmd/migrate.sh:36: executing 'oc create -f test/testdata/oauth/client.yaml' expecting success and text 'oauthclient "test-oauth-client" created'... SUCCESS after 0.354s: test/cmd/migrate.sh:36: executing 'oc create -f test/testdata/oauth/client.yaml' expecting success and text 'oauthclient "test-oauth-client" created' Running test/cmd/migrate.sh:38: executing 'oc create -f test/testdata/oauth/clientauthorization.yaml' expecting success and text 'oauthclientauthorization "user1:test-oauth-client" created'... SUCCESS after 0.454s: test/cmd/migrate.sh:38: executing 'oc create -f test/testdata/oauth/clientauthorization.yaml' expecting success and text 'oauthclientauthorization "user1:test-oauth-client" created' Running test/cmd/migrate.sh:40: executing 'oc delete oauthclient test-oauth-client' expecting success and text 'oauthclient "test-oauth-client" deleted'... SUCCESS after 0.326s: test/cmd/migrate.sh:40: executing 'oc delete oauthclient test-oauth-client' expecting success and text 'oauthclient "test-oauth-client" deleted' Running test/cmd/migrate.sh:42: executing 'oc adm migrate storage --loglevel=6 --include=oauthclientauthorizations --confirm' expecting success and text 'PUT.*oauthclientauthorizations/user1:test-oauth-client'... SUCCESS after 0.449s: test/cmd/migrate.sh:42: executing 'oc adm migrate storage --loglevel=6 --include=oauthclientauthorizations --confirm' expecting success and text 'PUT.*oauthclientauthorizations/user1:test-oauth-client' Running test/cmd/migrate.sh:47: executing 'oc import-image --from=mysql:latest test:1 --confirm' expecting success... SUCCESS after 0.482s: test/cmd/migrate.sh:47: executing 'oc import-image --from=mysql:latest test:1 --confirm' expecting success Running test/cmd/migrate.sh:48: executing 'oc import-image --from=php:latest test:2 --confirm' expecting success... SUCCESS after 0.409s: test/cmd/migrate.sh:48: executing 'oc import-image --from=php:latest test:2 --confirm' expecting success Running test/cmd/migrate.sh:49: executing 'oc tag --source=docker php:latest test:1' expecting success... SUCCESS after 0.516s: test/cmd/migrate.sh:49: executing 'oc tag --source=docker php:latest test:1' expecting success Running test/cmd/migrate.sh:50: executing 'oc tag --source=docker mysql:latest test:1' expecting success... SUCCESS after 0.521s: test/cmd/migrate.sh:50: executing 'oc tag --source=docker mysql:latest test:1' expecting success Running test/cmd/migrate.sh:51: executing 'oc tag --source=docker mysql:latest test:2' expecting success... SUCCESS after 0.322s: test/cmd/migrate.sh:51: executing 'oc tag --source=docker mysql:latest test:2' expecting success Running test/cmd/migrate.sh:52: executing 'oc tag --source=docker php:latest test:2' expecting success... SUCCESS after 0.440s: test/cmd/migrate.sh:52: executing 'oc tag --source=docker php:latest test:2' expecting success Running test/cmd/migrate.sh:53: executing 'oc tag --source=docker myregistry.com/php:latest test:3' expecting success... SUCCESS after 0.370s: test/cmd/migrate.sh:53: executing 'oc tag --source=docker myregistry.com/php:latest test:3' expecting success Running test/cmd/migrate.sh:55: executing 'oc adm migrate image-references' expecting failure and text 'at least one mapping argument must be specified: REGISTRY/NAME=REGISTRY/NAME'... SUCCESS after 0.220s: test/cmd/migrate.sh:55: executing 'oc adm migrate image-references' expecting failure and text 'at least one mapping argument must be specified: REGISTRY/NAME=REGISTRY/NAME' Running test/cmd/migrate.sh:56: executing 'oc adm migrate image-references my.docker.io=docker.io/* --loglevel=1' expecting failure and text 'all arguments'... SUCCESS after 0.334s: test/cmd/migrate.sh:56: executing 'oc adm migrate image-references my.docker.io=docker.io/* --loglevel=1' expecting failure and text 'all arguments' Running test/cmd/migrate.sh:57: executing 'oc adm migrate image-references my.docker.io/=docker.io/* --loglevel=1' expecting failure and text 'not a valid source'... SUCCESS after 0.321s: test/cmd/migrate.sh:57: executing 'oc adm migrate image-references my.docker.io/=docker.io/* --loglevel=1' expecting failure and text 'not a valid source' Running test/cmd/migrate.sh:58: executing 'oc adm migrate image-references /*=docker.io/* --loglevel=1' expecting failure and text 'not a valid source'... SUCCESS after 0.512s: test/cmd/migrate.sh:58: executing 'oc adm migrate image-references /*=docker.io/* --loglevel=1' expecting failure and text 'not a valid source' Running test/cmd/migrate.sh:59: executing 'oc adm migrate image-references my.docker.io/*=docker.io --loglevel=1' expecting failure and text 'all arguments'... SUCCESS after 0.271s: test/cmd/migrate.sh:59: executing 'oc adm migrate image-references my.docker.io/*=docker.io --loglevel=1' expecting failure and text 'all arguments' Running test/cmd/migrate.sh:60: executing 'oc adm migrate image-references my.docker.io/*=docker.io/ --loglevel=1' expecting failure and text 'not a valid target'... SUCCESS after 0.267s: test/cmd/migrate.sh:60: executing 'oc adm migrate image-references my.docker.io/*=docker.io/ --loglevel=1' expecting failure and text 'not a valid target' Running test/cmd/migrate.sh:61: executing 'oc adm migrate image-references my.docker.io/*=/x --loglevel=1' expecting failure and text 'not a valid target'... SUCCESS after 0.209s: test/cmd/migrate.sh:61: executing 'oc adm migrate image-references my.docker.io/*=/x --loglevel=1' expecting failure and text 'not a valid target' Running test/cmd/migrate.sh:62: executing 'oc adm migrate image-references my.docker.io/*=*/* --loglevel=1' expecting failure and text 'at least one change'... SUCCESS after 0.299s: test/cmd/migrate.sh:62: executing 'oc adm migrate image-references my.docker.io/*=*/* --loglevel=1' expecting failure and text 'at least one change' Running test/cmd/migrate.sh:63: executing 'oc adm migrate image-references a/b=a/b --loglevel=1' expecting failure and text 'at least one field'... SUCCESS after 0.298s: test/cmd/migrate.sh:63: executing 'oc adm migrate image-references a/b=a/b --loglevel=1' expecting failure and text 'at least one field' Running test/cmd/migrate.sh:64: executing 'oc adm migrate image-references */*=*/* --loglevel=1' expecting failure and text 'at least one change'... SUCCESS after 0.245s: test/cmd/migrate.sh:64: executing 'oc adm migrate image-references */*=*/* --loglevel=1' expecting failure and text 'at least one change' Running test/cmd/migrate.sh:66: executing 'oc adm migrate image-references my.docker.io/*=docker.io/* --loglevel=1' expecting success and text 'migrated=0'... SUCCESS after 0.758s: test/cmd/migrate.sh:66: executing 'oc adm migrate image-references my.docker.io/*=docker.io/* --loglevel=1' expecting success and text 'migrated=0' Running test/cmd/migrate.sh:67: executing 'oc adm migrate image-references --include=imagestreams docker.io/*=my.docker.io/* --loglevel=1' expecting success and text 'migrated \(dry run\): -n cmd-migrate imagestreams/test'... SUCCESS after 0.575s: test/cmd/migrate.sh:67: executing 'oc adm migrate image-references --include=imagestreams docker.io/*=my.docker.io/* --loglevel=1' expecting success and text 'migrated \(dry run\): -n cmd-migrate imagestreams/test' Running test/cmd/migrate.sh:68: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/* --all-namespaces=false --loglevel=1' expecting success and text 'migrated=1'... SUCCESS after 0.344s: test/cmd/migrate.sh:68: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/* --all-namespaces=false --loglevel=1' expecting success and text 'migrated=1' Running test/cmd/migrate.sh:69: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/* --all-namespaces=false --loglevel=1 -o yaml' expecting success and text 'dockerImageReference: my.docker.io/mysql@sha256:'... SUCCESS after 0.325s: test/cmd/migrate.sh:69: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/* --all-namespaces=false --loglevel=1 -o yaml' expecting success and text 'dockerImageReference: my.docker.io/mysql@sha256:' Running test/cmd/migrate.sh:70: executing 'oc adm migrate image-references --include=imagestreams docker.io/other=my.docker.io/* --all-namespaces=false --loglevel=1' expecting success and text 'migrated=0'... SUCCESS after 0.303s: test/cmd/migrate.sh:70: executing 'oc adm migrate image-references --include=imagestreams docker.io/other=my.docker.io/* --all-namespaces=false --loglevel=1' expecting success and text 'migrated=0' Running test/cmd/migrate.sh:72: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/mysql2 --all-namespaces=false --loglevel=1 --confirm' expecting success and text 'migrated=1'... SUCCESS after 0.303s: test/cmd/migrate.sh:72: executing 'oc adm migrate image-references --include=imagestreams docker.io/mysql=my.docker.io/mysql2 --all-namespaces=false --loglevel=1 --confirm' expecting success and text 'migrated=1' Running test/cmd/migrate.sh:73: executing 'oc get istag test:1 --template "{{ .image.dockerImageReference }}"' expecting success and text '^my.docker.io/mysql2@sha256:'... SUCCESS after 0.384s: test/cmd/migrate.sh:73: executing 'oc get istag test:1 --template "{{ .image.dockerImageReference }}"' expecting success and text '^my.docker.io/mysql2@sha256:' Running test/cmd/migrate.sh:74: executing 'oc get istag test:2 --template "{{ .image.dockerImageReference }}"' expecting success and text '^php@sha256:'... SUCCESS after 0.450s: test/cmd/migrate.sh:74: executing 'oc get istag test:2 --template "{{ .image.dockerImageReference }}"' expecting success and text '^php@sha256:' Running test/cmd/migrate.sh:76: executing 'oc adm migrate image-references --include=imagestreams docker.io/*=my.docker.io/* --all-namespaces=false --loglevel=1 --confirm' expecting success and text 'migrated=1'... SUCCESS after 0.278s: test/cmd/migrate.sh:76: executing 'oc adm migrate image-references --include=imagestreams docker.io/*=my.docker.io/* --all-namespaces=false --loglevel=1 --confirm' expecting success and text 'migrated=1' Running test/cmd/migrate.sh:77: executing 'oc get is test --template "{{ range .status.tags }}{{ range .items }}{{ .dockerImageReference }}{{ \"\n\" }}{{ end }}{{ end }}"' expecting success and not text '^php'... SUCCESS after 0.289s: test/cmd/migrate.sh:77: executing 'oc get is test --template "{{ range .status.tags }}{{ range .items }}{{ .dockerImageReference }}{{ \"\n\" }}{{ end }}{{ end }}"' expecting success and not text '^php' Running test/cmd/migrate.sh:78: executing 'oc get is test --template "{{ range .status.tags }}{{ range .items }}{{ .dockerImageReference }}{{ \"\n\" }}{{ end }}{{ end }}"' expecting success and not text '^mysql'... SUCCESS after 0.480s: test/cmd/migrate.sh:78: executing 'oc get is test --template "{{ range .status.tags }}{{ range .items }}{{ .dockerImageReference }}{{ \"\n\" }}{{ end }}{{ end }}"' expecting success and not text '^mysql' Running test/cmd/migrate.sh:83: executing 'oc create -f test/testdata/hpa/legacy-and-normal-hpa.yaml' expecting success... SUCCESS after 0.351s: test/cmd/migrate.sh:83: executing 'oc create -f test/testdata/hpa/legacy-and-normal-hpa.yaml' expecting success Running test/cmd/migrate.sh:85: executing 'oc adm migrate legacy-hpa' expecting success and text 'migrated=1'... SUCCESS after 0.346s: test/cmd/migrate.sh:85: executing 'oc adm migrate legacy-hpa' expecting success and text 'migrated=1' Running test/cmd/migrate.sh:87: executing 'oc adm migrate legacy-hpa --confirm' expecting success and text 'migrated=1'... SUCCESS after 0.426s: test/cmd/migrate.sh:87: executing 'oc adm migrate legacy-hpa --confirm' expecting success and text 'migrated=1' Running test/cmd/migrate.sh:89: executing 'oc get hpa legacy-hpa -o jsonpath="{.spec.scaleTargetRef.apiVersion}.{.spec.scaleTargetRef.kind} {.spec.scaleTargetRef.name}"' expecting success and text 'apps.openshift.io/v1.DeploymentConfig legacy-target'... SUCCESS after 0.444s: test/cmd/migrate.sh:89: executing 'oc get hpa legacy-hpa -o jsonpath="{.spec.scaleTargetRef.apiVersion}.{.spec.scaleTargetRef.kind} {.spec.scaleTargetRef.name}"' expecting success and text 'apps.openshift.io/v1.DeploymentConfig legacy-target' Running test/cmd/migrate.sh:90: executing 'oc get hpa other-hpa -o jsonpath="{.spec.scaleTargetRef.apiVersion}.{.spec.scaleTargetRef.kind} {.spec.scaleTargetRef.name}"' expecting success and text 'apps/v1.Deployment other-target'... SUCCESS after 0.269s: test/cmd/migrate.sh:90: executing 'oc get hpa other-hpa -o jsonpath="{.spec.scaleTargetRef.apiVersion}.{.spec.scaleTargetRef.kind} {.spec.scaleTargetRef.name}"' expecting success and text 'apps/v1.Deployment other-target' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.225s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-migrate'' expecting success... SUCCESS after 0.300s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-migrate'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/newapp.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.389s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.397s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-newapp'' expecting success... SUCCESS after 0.491s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-newapp'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-newapp'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.471s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-newapp'; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:18: executing 'oc new-app library/php mysql -o yaml' expecting success and text '3306'... SUCCESS after 0.819s: test/cmd/newapp.sh:18: executing 'oc new-app library/php mysql -o yaml' expecting success and text '3306' Running test/cmd/newapp.sh:19: executing 'oc new-app library/php mysql --dry-run' expecting success and text 'Image "library/php" runs as the 'root' user which may not be permitted by your cluster administrator'... SUCCESS after 0.827s: test/cmd/newapp.sh:19: executing 'oc new-app library/php mysql --dry-run' expecting success and text 'Image "library/php" runs as the 'root' user which may not be permitted by your cluster administrator' Running test/cmd/newapp.sh:20: executing 'oc new-app unknownhubimage -o yaml' expecting failure... SUCCESS after 0.366s: test/cmd/newapp.sh:20: executing 'oc new-app unknownhubimage -o yaml' expecting failure Running test/cmd/newapp.sh:21: executing 'oc new-app docker.io/node~https://github.com/openshift/nodejs-ex' expecting failure and text 'the image match \"docker.io/node\" for source repository \"https://github.com/openshift/nodejs-ex\" does not appear to be a source-to-image builder.'... SUCCESS after 0.519s: test/cmd/newapp.sh:21: executing 'oc new-app docker.io/node~https://github.com/openshift/nodejs-ex' expecting failure and text 'the image match \"docker.io/node\" for source repository \"https://github.com/openshift/nodejs-ex\" does not appear to be a source-to-image builder.' Running test/cmd/newapp.sh:22: executing 'oc new-app https://github.com/openshift/rails-ex' expecting failure and text 'the image match \"ruby\" for source repository \"https://github.com/openshift/rails-ex\" does not appear to be a source-to-image builder.'... SUCCESS after 1.301s: test/cmd/newapp.sh:22: executing 'oc new-app https://github.com/openshift/rails-ex' expecting failure and text 'the image match \"ruby\" for source repository \"https://github.com/openshift/rails-ex\" does not appear to be a source-to-image builder.' Running test/cmd/newapp.sh:23: executing 'oc new-app https://github.com/openshift/rails-ex --strategy=source --dry-run' expecting success... SUCCESS after 1.536s: test/cmd/newapp.sh:23: executing 'oc new-app https://github.com/openshift/rails-ex --strategy=source --dry-run' expecting success Running test/cmd/newapp.sh:25: executing 'oc new-app mongo -o yaml' expecting success and text 'image:\s*mongo'... SUCCESS after 0.540s: test/cmd/newapp.sh:25: executing 'oc new-app mongo -o yaml' expecting success and text 'image:\s*mongo' Running test/cmd/newapp.sh:27: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.633s: test/cmd/newapp.sh:27: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/newapp.sh:28: executing 'oc get imagestreamtags mysql:latest' expecting success; re-trying every 0.2s until completion or 120.000s... SUCCESS after 1.671s: test/cmd/newapp.sh:28: executing 'oc get imagestreamtags mysql:latest' expecting success; re-trying every 0.2s until completion or 120.000s Running test/cmd/newapp.sh:29: executing 'oc get imagestreamtags mysql:5.5' expecting success; re-trying every 0.2s until completion or 120.000s... SUCCESS after 0.567s: test/cmd/newapp.sh:29: executing 'oc get imagestreamtags mysql:5.5' expecting success; re-trying every 0.2s until completion or 120.000s Running test/cmd/newapp.sh:30: executing 'oc get imagestreamtags mysql:5.6' expecting success; re-trying every 0.2s until completion or 120.000s... SUCCESS after 0.712s: test/cmd/newapp.sh:30: executing 'oc get imagestreamtags mysql:5.6' expecting success; re-trying every 0.2s until completion or 120.000s Running test/cmd/newapp.sh:31: executing 'oc get imagestreamtags mysql:5.7' expecting success; re-trying every 0.2s until completion or 120.000s... SUCCESS after 0.629s: test/cmd/newapp.sh:31: executing 'oc get imagestreamtags mysql:5.7' expecting success; re-trying every 0.2s until completion or 120.000s Running test/cmd/newapp.sh:32: executing 'oc new-app mysql -o yaml' expecting success and not text 'image:\s*mysql'... SUCCESS after 0.390s: test/cmd/newapp.sh:32: executing 'oc new-app mysql -o yaml' expecting success and not text 'image:\s*mysql' Running test/cmd/newapp.sh:33: executing 'oc new-app mysql --dry-run' expecting success and not text 'runs as the 'root' user which may not be permitted by your cluster administrator'... SUCCESS after 0.353s: test/cmd/newapp.sh:33: executing 'oc new-app mysql --dry-run' expecting success and not text 'runs as the 'root' user which may not be permitted by your cluster administrator' Running test/cmd/newapp.sh:35: executing 'oc new-app mysql -o yaml' expecting success and text 'mysql:5.7'... SUCCESS after 0.461s: test/cmd/newapp.sh:35: executing 'oc new-app mysql -o yaml' expecting success and text 'mysql:5.7' Running test/cmd/newapp.sh:36: executing 'oc new-app mysql --dry-run' expecting success and text 'tag "5.7" for "mysql"'... SUCCESS after 0.485s: test/cmd/newapp.sh:36: executing 'oc new-app mysql --dry-run' expecting success and text 'tag "5.7" for "mysql"' Running test/cmd/newapp.sh:38: executing 'oc new-app mysql --dry-run --as-test' expecting success and text 'This image will be test deployed'... SUCCESS after 0.350s: test/cmd/newapp.sh:38: executing 'oc new-app mysql --dry-run --as-test' expecting success and text 'This image will be test deployed' Running test/cmd/newapp.sh:39: executing 'oc new-app mysql -o yaml --as-test' expecting success and text 'test: true'... SUCCESS after 0.289s: test/cmd/newapp.sh:39: executing 'oc new-app mysql -o yaml --as-test' expecting success and text 'test: true' Running test/cmd/newapp.sh:40: executing 'oc new-app test/testdata/template-minimal-expose.json --as-test' expecting success and text 'Access your application via route'... SUCCESS after 0.561s: test/cmd/newapp.sh:40: executing 'oc new-app test/testdata/template-minimal-expose.json --as-test' expecting success and text 'Access your application via route' Running test/cmd/newapp.sh:41: executing 'oc delete all -l app=expose-output' expecting success... SUCCESS after 0.552s: test/cmd/newapp.sh:41: executing 'oc delete all -l app=expose-output' expecting success Running test/cmd/newapp.sh:42: executing 'oc new-app mysql --as-test' expecting success and text 'Application is not exposed'... SUCCESS after 0.437s: test/cmd/newapp.sh:42: executing 'oc new-app mysql --as-test' expecting success and text 'Application is not exposed' Running test/cmd/newapp.sh:43: executing 'oc delete all -l app=mysql' expecting success... SUCCESS after 1.683s: test/cmd/newapp.sh:43: executing 'oc delete all -l app=mysql' expecting success Running test/cmd/newapp.sh:47: executing 'oc new-app https://github.com/sclorg/ruby-ex' expecting success... SUCCESS after 1.418s: test/cmd/newapp.sh:47: executing 'oc new-app https://github.com/sclorg/ruby-ex' expecting success Running test/cmd/newapp.sh:48: executing 'oc describe bc/ruby-ex' expecting success and not text 'BuildConfigInstantiateFailed'... SUCCESS after 0.310s: test/cmd/newapp.sh:48: executing 'oc describe bc/ruby-ex' expecting success and not text 'BuildConfigInstantiateFailed' Running test/cmd/newapp.sh:49: executing 'oc delete all -l app=ruby-ex' expecting success... SUCCESS after 1.518s: test/cmd/newapp.sh:49: executing 'oc delete all -l app=ruby-ex' expecting success Running test/cmd/newapp.sh:52: executing 'oc new-app --file test/testdata/invalid-build-strategy.yaml --dry-run' expecting success and not text 'invalid memory address or nil pointer dereference'... SUCCESS after 0.607s: test/cmd/newapp.sh:52: executing 'oc new-app --file test/testdata/invalid-build-strategy.yaml --dry-run' expecting success and not text 'invalid memory address or nil pointer dereference' Running test/cmd/newapp.sh:55: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.435s: test/cmd/newapp.sh:55: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:56: executing 'oc create -f test/testdata/newapp/imagestream-ref.yaml' expecting success... SUCCESS after 0.361s: test/cmd/newapp.sh:56: executing 'oc create -f test/testdata/newapp/imagestream-ref.yaml' expecting success Running test/cmd/newapp.sh:57: executing 'oc get imagestreamtags myruby:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.413s: test/cmd/newapp.sh:57: executing 'oc get imagestreamtags myruby:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:58: executing 'oc new-app myruby~https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success... SUCCESS after 0.533s: test/cmd/newapp.sh:58: executing 'oc new-app myruby~https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success Running test/cmd/newapp.sh:59: executing 'oc delete is myruby' expecting success... SUCCESS after 0.385s: test/cmd/newapp.sh:59: executing 'oc delete is myruby' expecting success Running test/cmd/newapp.sh:62: executing 'oc new-app https://github.com/openshift/nodejs-ex --strategy=docker' expecting failure and text 'No Dockerfile was found'... SUCCESS after 1.113s: test/cmd/newapp.sh:62: executing 'oc new-app https://github.com/openshift/nodejs-ex --strategy=docker' expecting failure and text 'No Dockerfile was found' Running test/cmd/newapp.sh:65: executing 'oc create -f examples/db-templates/mysql-persistent-template.json' expecting success... SUCCESS after 0.350s: test/cmd/newapp.sh:65: executing 'oc create -f examples/db-templates/mysql-persistent-template.json' expecting success Running test/cmd/newapp.sh:66: executing 'oc new-app mysql-persisten mysql' expecting failure and text 'only a partial match was found for'... SUCCESS after 0.421s: test/cmd/newapp.sh:66: executing 'oc new-app mysql-persisten mysql' expecting failure and text 'only a partial match was found for' Running test/cmd/newapp.sh:67: executing 'oc delete template/mysql-persistent' expecting success... SUCCESS after 0.406s: test/cmd/newapp.sh:67: executing 'oc delete template/mysql-persistent' expecting success Running test/cmd/newapp.sh:68: executing 'oc new-app --strategy=docker https://192.30.253.113/openshift/ruby-hello-world.git' expecting failure and text 'none of the arguments provided could be classified as a source code location'... SUCCESS after 0.785s: test/cmd/newapp.sh:68: executing 'oc new-app --strategy=docker https://192.30.253.113/openshift/ruby-hello-world.git' expecting failure and text 'none of the arguments provided could be classified as a source code location' Running test/cmd/newapp.sh:69: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to load template file'... SUCCESS after 0.986s: test/cmd/newapp.sh:69: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to load template file' Running test/cmd/newapp.sh:70: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to locate any'... SUCCESS after 0.952s: test/cmd/newapp.sh:70: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to locate any' Running test/cmd/newapp.sh:71: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.'... SUCCESS after 0.887s: test/cmd/newapp.sh:71: executing 'oc new-app https://www.google.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.' Running test/cmd/newapp.sh:72: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to load template file'... SUCCESS after 2.311s: test/cmd/newapp.sh:72: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to load template file' Running test/cmd/newapp.sh:73: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to locate any'... SUCCESS after 2.314s: test/cmd/newapp.sh:73: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to locate any' Running test/cmd/newapp.sh:74: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.'... SUCCESS after 2.505s: test/cmd/newapp.sh:74: executing 'oc new-app https://examplegit.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.' Running test/cmd/newapp.sh:75: executing 'oc new-build --strategy=docker https://192.30.253.113/openshift/ruby-hello-world.git' expecting failure and text 'none of the arguments provided could be classified as a source code location'... SUCCESS after 0.969s: test/cmd/newapp.sh:75: executing 'oc new-build --strategy=docker https://192.30.253.113/openshift/ruby-hello-world.git' expecting failure and text 'none of the arguments provided could be classified as a source code location' Running test/cmd/newapp.sh:76: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to load template file'... SUCCESS after 0.954s: test/cmd/newapp.sh:76: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to load template file' Running test/cmd/newapp.sh:77: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to locate any'... SUCCESS after 0.779s: test/cmd/newapp.sh:77: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'unable to locate any' Running test/cmd/newapp.sh:78: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.'... SUCCESS after 0.970s: test/cmd/newapp.sh:78: executing 'oc new-build https://www.google.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.' Running test/cmd/newapp.sh:79: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to load template file'... SUCCESS after 2.385s: test/cmd/newapp.sh:79: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to load template file' Running test/cmd/newapp.sh:80: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to locate any'... SUCCESS after 2.469s: test/cmd/newapp.sh:80: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'unable to locate any' Running test/cmd/newapp.sh:81: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.'... SUCCESS after 2.580s: test/cmd/newapp.sh:81: executing 'oc new-build https://examplegit.com/openshift/nodejs-e' expecting failure and text 'was classified as an image, image~source, or loaded template reference.' Running test/cmd/newapp.sh:82: executing 'oc new-build --name imagesourcetest python~https://github.com/openshift-katacoda/blog-django-py --source-image xxx --source-image-path=yyy --dry-run' expecting failure and text 'unable to locate any '... SUCCESS after 0.480s: test/cmd/newapp.sh:82: executing 'oc new-build --name imagesourcetest python~https://github.com/openshift-katacoda/blog-django-py --source-image xxx --source-image-path=yyy --dry-run' expecting failure and text 'unable to locate any ' Running test/cmd/newapp.sh:83: executing 'oc new-app ~java' expecting failure and text 'you must specify a image name'... SUCCESS after 0.306s: test/cmd/newapp.sh:83: executing 'oc new-app ~java' expecting failure and text 'you must specify a image name' Running test/cmd/newapp.sh:86: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=mysecret -o yaml' expecting success and text 'name: mysecret'... SUCCESS after 1.304s: test/cmd/newapp.sh:86: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=mysecret -o yaml' expecting success and text 'name: mysecret' Running test/cmd/newapp.sh:87: executing 'oc new-build https://github.com/openshift/cakephp-ex --source-secret=mynewsecret -o yaml' expecting success and text 'name: mynewsecret'... SUCCESS after 1.383s: test/cmd/newapp.sh:87: executing 'oc new-build https://github.com/openshift/cakephp-ex --source-secret=mynewsecret -o yaml' expecting success and text 'name: mynewsecret' Running test/cmd/newapp.sh:88: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=InvalidSecretName -o yaml' expecting failure and text 'error: source secret name "InvalidSecretName" is invalid'... SUCCESS after 1.231s: test/cmd/newapp.sh:88: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=InvalidSecretName -o yaml' expecting failure and text 'error: source secret name "InvalidSecretName" is invalid' Running test/cmd/newapp.sh:89: executing 'oc new-app -f examples/quickstarts/cakephp-mysql.json --source-secret=mysecret -o yaml' expecting success and text 'name: mysecret'... SUCCESS after 0.485s: test/cmd/newapp.sh:89: executing 'oc new-app -f examples/quickstarts/cakephp-mysql.json --source-secret=mysecret -o yaml' expecting success and text 'name: mysecret' Running test/cmd/newapp.sh:90: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=mysecret' expecting success... SUCCESS after 1.360s: test/cmd/newapp.sh:90: executing 'oc new-app https://github.com/openshift/cakephp-ex --source-secret=mysecret' expecting success Running test/cmd/newapp.sh:91: executing 'oc delete all --selector="label=cakephp-ex"' expecting success... SUCCESS after 0.554s: test/cmd/newapp.sh:91: executing 'oc delete all --selector="label=cakephp-ex"' expecting success Running test/cmd/newapp.sh:93: executing 'oc new-build https://github.com/openshift/cakephp-ex --push-secret=mynewsecret -o yaml' expecting success and text 'name: mynewsecret'... SUCCESS after 1.194s: test/cmd/newapp.sh:93: executing 'oc new-build https://github.com/openshift/cakephp-ex --push-secret=mynewsecret -o yaml' expecting success and text 'name: mynewsecret' Running test/cmd/newapp.sh:94: executing 'oc new-build https://github.com/openshift/cakephp-ex --push-secret=InvalidSecretName -o yaml' expecting failure and text 'error: push secret name "InvalidSecretName" is invalid'... SUCCESS after 1.413s: test/cmd/newapp.sh:94: executing 'oc new-build https://github.com/openshift/cakephp-ex --push-secret=InvalidSecretName -o yaml' expecting failure and text 'error: push secret name "InvalidSecretName" is invalid' Running test/cmd/newapp.sh:98: executing 'oc get imagestreamtags php:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.804s: test/cmd/newapp.sh:98: executing 'oc get imagestreamtags php:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:99: executing 'oc get imagestreamtags php:5.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.443s: test/cmd/newapp.sh:99: executing 'oc get imagestreamtags php:5.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:100: executing 'oc get imagestreamtags php:5.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.430s: test/cmd/newapp.sh:100: executing 'oc get imagestreamtags php:5.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:101: executing 'oc new-app php mysql -l no-source=php-mysql' expecting success... SUCCESS after 0.635s: test/cmd/newapp.sh:101: executing 'oc new-app php mysql -l no-source=php-mysql' expecting success Running test/cmd/newapp.sh:102: executing 'oc delete all -l no-source=php-mysql' expecting success... SUCCESS after 2.929s: test/cmd/newapp.sh:102: executing 'oc delete all -l no-source=php-mysql' expecting success Running test/cmd/newapp.sh:103: executing 'oc new-app php mysql' expecting success... SUCCESS after 0.407s: test/cmd/newapp.sh:103: executing 'oc new-app php mysql' expecting success Running test/cmd/newapp.sh:104: executing 'oc delete all -l app=php' expecting success... SUCCESS after 2.818s: test/cmd/newapp.sh:104: executing 'oc delete all -l app=php' expecting success Running test/cmd/newapp.sh:105: executing 'oc get dc/mysql' expecting failure... SUCCESS after 0.285s: test/cmd/newapp.sh:105: executing 'oc get dc/mysql' expecting failure Running test/cmd/newapp.sh:106: executing 'oc get dc/php' expecting failure... SUCCESS after 0.438s: test/cmd/newapp.sh:106: executing 'oc get dc/php' expecting failure Running test/cmd/newapp.sh:107: executing 'oc new-app -f test/testdata/template-without-app-label.json -o yaml' expecting success and text 'app: ruby-helloworld-sample'... SUCCESS after 0.459s: test/cmd/newapp.sh:107: executing 'oc new-app -f test/testdata/template-without-app-label.json -o yaml' expecting success and text 'app: ruby-helloworld-sample' Running test/cmd/newapp.sh:111: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"stripped\")].metadata.namespace}"' expecting success and not text 'STRIPPED'... SUCCESS after 0.429s: test/cmd/newapp.sh:111: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"stripped\")].metadata.namespace}"' expecting success and not text 'STRIPPED' Running test/cmd/newapp.sh:113: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-substituted\")].metadata.namespace}"' expecting success and text 'substituted'... SUCCESS after 0.295s: test/cmd/newapp.sh:113: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-substituted\")].metadata.namespace}"' expecting success and text 'substituted' Running test/cmd/newapp.sh:114: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-prefix-substituted\")].metadata.namespace}"' expecting success and text 'prefix-substituted'... SUCCESS after 0.316s: test/cmd/newapp.sh:114: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-prefix-substituted\")].metadata.namespace}"' expecting success and text 'prefix-substituted' Running test/cmd/newapp.sh:116: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-refstripped\")].metadata.namespace}"' expecting failure and text 'namespace is not found'... SUCCESS after 0.386s: test/cmd/newapp.sh:116: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-refstripped\")].metadata.namespace}"' expecting failure and text 'namespace is not found' Running test/cmd/newapp.sh:117: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-prefix-refstripped\")].metadata.namespace}"' expecting failure and text 'namespace is not found'... SUCCESS after 0.412s: test/cmd/newapp.sh:117: executing 'oc new-app -f test/testdata/template-with-namespaces.json -o jsonpath="{.items[?(@.metadata.name==\"route-edge-prefix-refstripped\")].metadata.namespace}"' expecting failure and text 'namespace is not found' Running test/cmd/newapp.sh:119: executing 'oc new-app -f test/testdata/template-with-app-label.json --build-env FOO=bar -o yaml' expecting success and text 'FOO'... SUCCESS after 0.563s: test/cmd/newapp.sh:119: executing 'oc new-app -f test/testdata/template-with-app-label.json --build-env FOO=bar -o yaml' expecting success and text 'FOO' Running test/cmd/newapp.sh:122: executing 'oc new-project template-substitute' expecting success... SUCCESS after 0.418s: test/cmd/newapp.sh:122: executing 'oc new-project template-substitute' expecting success Running test/cmd/newapp.sh:123: executing 'oc new-project prefix-template-substitute' expecting success... SUCCESS after 0.353s: test/cmd/newapp.sh:123: executing 'oc new-project prefix-template-substitute' expecting success Running test/cmd/newapp.sh:124: executing 'oc project ${project}' expecting success... SUCCESS after 0.270s: test/cmd/newapp.sh:124: executing 'oc project ${project}' expecting success Running test/cmd/newapp.sh:125: executing 'oc new-app -f test/testdata/template-with-namespaces.json -p SUBSTITUTED=template-substitute' expecting success... SUCCESS after 0.531s: test/cmd/newapp.sh:125: executing 'oc new-app -f test/testdata/template-with-namespaces.json -p SUBSTITUTED=template-substitute' expecting success Running test/cmd/newapp.sh:126: executing 'oc delete all -l app=ruby-helloworld-sample' expecting success... SUCCESS after 0.553s: test/cmd/newapp.sh:126: executing 'oc delete all -l app=ruby-helloworld-sample' expecting success Running test/cmd/newapp.sh:129: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'error: ImageStream "wordpress" is invalid'... SUCCESS after 1.099s: test/cmd/newapp.sh:129: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'error: ImageStream "wordpress" is invalid' Running test/cmd/newapp.sh:130: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'DeploymentConfig "wordpress" is invalid'... SUCCESS after 0.551s: test/cmd/newapp.sh:130: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'DeploymentConfig "wordpress" is invalid' Running test/cmd/newapp.sh:131: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'Service "wordpress" is invalid'... SUCCESS after 1.317s: test/cmd/newapp.sh:131: executing 'oc new-app docker.io/library/wordpress -l qwer1345%$$#=self' expecting failure and text 'Service "wordpress" is invalid' Running test/cmd/newapp.sh:134: executing 'oc create -f examples/sample-app/application-template-stibuild.json' expecting success... SUCCESS after 0.278s: test/cmd/newapp.sh:134: executing 'oc create -f examples/sample-app/application-template-stibuild.json' expecting success Running test/cmd/newapp.sh:135: executing 'oc get template ruby-helloworld-sample' expecting success... SUCCESS after 0.695s: test/cmd/newapp.sh:135: executing 'oc get template ruby-helloworld-sample' expecting success Running test/cmd/newapp.sh:136: executing 'oc new-app ruby-helloworld-sample -o yaml' expecting success and text 'MYSQL_USER'... SUCCESS after 0.344s: test/cmd/newapp.sh:136: executing 'oc new-app ruby-helloworld-sample -o yaml' expecting success and text 'MYSQL_USER' Running test/cmd/newapp.sh:137: executing 'oc new-app ruby-helloworld-sample -o yaml' expecting success and text 'MYSQL_PASSWORD'... SUCCESS after 0.534s: test/cmd/newapp.sh:137: executing 'oc new-app ruby-helloworld-sample -o yaml' expecting success and text 'MYSQL_PASSWORD' Running test/cmd/newapp.sh:138: executing 'oc new-app ruby-helloworld-sample --param MYSQL_PASSWORD=hello -o yaml' expecting success and text 'hello'... SUCCESS after 0.470s: test/cmd/newapp.sh:138: executing 'oc new-app ruby-helloworld-sample --param MYSQL_PASSWORD=hello -o yaml' expecting success and text 'hello' Running test/cmd/newapp.sh:139: executing 'oc new-app -e FOO=BAR -f examples/jenkins/jenkins-ephemeral-template.json -o jsonpath="{.items[?(@.kind==\"DeploymentConfig\")].spec.template.spec.containers[0].env[?(@.name==\"FOO\")].value}" ' expecting success and text '^BAR$'... SUCCESS after 0.415s: test/cmd/newapp.sh:139: executing 'oc new-app -e FOO=BAR -f examples/jenkins/jenkins-ephemeral-template.json -o jsonpath="{.items[?(@.kind==\"DeploymentConfig\")].spec.template.spec.containers[0].env[?(@.name==\"FOO\")].value}" ' expecting success and text '^BAR$' Running test/cmd/newapp.sh:140: executing 'oc new-app -e OPENSHIFT_ENABLE_OAUTH=false -f examples/jenkins/jenkins-ephemeral-template.json -o jsonpath="{.items[?(@.kind==\"DeploymentConfig\")].spec.template.spec.containers[0].env[?(@.name==\"OPENSHIFT_ENABLE_OAUTH\")].value}" ' expecting success and text 'false'... SUCCESS after 0.279s: test/cmd/newapp.sh:140: executing 'oc new-app -e OPENSHIFT_ENABLE_OAUTH=false -f examples/jenkins/jenkins-ephemeral-template.json -o jsonpath="{.items[?(@.kind==\"DeploymentConfig\")].spec.template.spec.containers[0].env[?(@.name==\"OPENSHIFT_ENABLE_OAUTH\")].value}" ' expecting success and text 'false' Running test/cmd/newapp.sh:143: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml' expecting success and text 'apiVersion: apps/v1beta1'... SUCCESS after 0.369s: test/cmd/newapp.sh:143: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml' expecting success and text 'apiVersion: apps/v1beta1' Running test/cmd/newapp.sh:146: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=v1' expecting failure and text 'extensions.Deployment is not suitable for converting'... SUCCESS after 0.542s: test/cmd/newapp.sh:146: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=v1' expecting failure and text 'extensions.Deployment is not suitable for converting' Running test/cmd/newapp.sh:147: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=extensions/v1beta1' expecting failure and text 'core.Secret is not suitable for converting'... SUCCESS after 0.307s: test/cmd/newapp.sh:147: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=extensions/v1beta1' expecting failure and text 'core.Secret is not suitable for converting' Running test/cmd/newapp.sh:148: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=apps/v1beta1' expecting failure and not text 'extensions.Deployment is not suitable for converting'... SUCCESS after 0.571s: test/cmd/newapp.sh:148: executing 'oc new-app -f test/testdata/template_multiple_resource_gvs.yaml -o yaml --output-version=apps/v1beta1' expecting failure and not text 'extensions.Deployment is not suitable for converting' Running test/cmd/newapp.sh:151: executing 'oc new-app -f examples/sample-app/application-template-stibuild.json --context-dir=example' expecting failure and text '\-\-context-dir is not supported when using a template'... SUCCESS after 0.344s: test/cmd/newapp.sh:151: executing 'oc new-app -f examples/sample-app/application-template-stibuild.json --context-dir=example' expecting failure and text '\-\-context-dir is not supported when using a template' Running test/cmd/newapp.sh:154: executing 'oc new-app ruby-helloworld-sample --param MYSQL_DATABASE=hello,MYSQL_USER=fail -o yaml' expecting success and text 'value: hello,MYSQL_USER=fail'... SUCCESS after 0.349s: test/cmd/newapp.sh:154: executing 'oc new-app ruby-helloworld-sample --param MYSQL_DATABASE=hello,MYSQL_USER=fail -o yaml' expecting success and text 'value: hello,MYSQL_USER=fail' Running test/cmd/newapp.sh:156: executing 'oc new-app ruby-helloworld-sample --param MYSQL_DATABASE=hello,MYSQL_USER=fail -o yaml' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.330s: test/cmd/newapp.sh:156: executing 'oc new-app ruby-helloworld-sample --param MYSQL_DATABASE=hello,MYSQL_USER=fail -o yaml' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:158: executing 'oc new-app php --env PASS=one,two=three -o yaml' expecting success and text 'value: one,two=three'... SUCCESS after 0.342s: test/cmd/newapp.sh:158: executing 'oc new-app php --env PASS=one,two=three -o yaml' expecting success and text 'value: one,two=three' Running test/cmd/newapp.sh:160: executing 'oc new-app php --env PASS=one,two=three -o yaml' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.598s: test/cmd/newapp.sh:160: executing 'oc new-app php --env PASS=one,two=three -o yaml' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:162: executing 'oc new-app php --env DEBUG=disabled -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.403s: test/cmd/newapp.sh:162: executing 'oc new-app php --env DEBUG=disabled -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:163: executing 'oc new-app php --env LEVELS=INFO,WARNING -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.657s: test/cmd/newapp.sh:163: executing 'oc new-app php --env LEVELS=INFO,WARNING -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:164: executing 'oc new-app ruby-helloworld-sample --param MYSQL_USER=mysql -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.328s: test/cmd/newapp.sh:164: executing 'oc new-app ruby-helloworld-sample --param MYSQL_USER=mysql -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:165: executing 'oc new-app ruby-helloworld-sample --param MYSQL_PASSWORD=com,ma -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.319s: test/cmd/newapp.sh:165: executing 'oc new-app ruby-helloworld-sample --param MYSQL_PASSWORD=com,ma -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:167: executing 'oc new-app php PASS=one,two=three -o yaml' expecting success and text 'value: one,two=three'... SUCCESS after 0.396s: test/cmd/newapp.sh:167: executing 'oc new-app php PASS=one,two=three -o yaml' expecting success and text 'value: one,two=three' Running test/cmd/newapp.sh:168: executing 'oc new-app php PASS=one,two=three -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.444s: test/cmd/newapp.sh:168: executing 'oc new-app php PASS=one,two=three -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:172: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'thisisadatabase'... SUCCESS after 0.572s: test/cmd/newapp.sh:172: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'thisisadatabase' Running test/cmd/newapp.sh:173: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env --param MYSQL_DATABASE=otherdatabase -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'otherdatabase'... SUCCESS after 0.518s: test/cmd/newapp.sh:173: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env --param MYSQL_DATABASE=otherdatabase -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'otherdatabase' Running test/cmd/newapp.sh:174: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env --param MYSQL_DATABASE=otherdatabase -o yaml' expecting success and text 'ignoring value from file'... SUCCESS after 0.407s: test/cmd/newapp.sh:174: executing 'oc new-app ruby-helloworld-sample --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env --param MYSQL_DATABASE=otherdatabase -o yaml' expecting success and text 'ignoring value from file' Running test/cmd/newapp.sh:175: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env | oc new-app ruby-helloworld-sample --param-file - -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'thisisadatabase'... SUCCESS after 0.326s: test/cmd/newapp.sh:175: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env | oc new-app ruby-helloworld-sample --param-file - -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="MYSQL_DATABASE")].value}'' expecting success and text 'thisisadatabase' Running test/cmd/newapp.sh:177: executing 'oc new-app ruby-helloworld-sample --param-file does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.262s: test/cmd/newapp.sh:177: executing 'oc new-app ruby-helloworld-sample --param-file does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/newapp.sh:178: executing 'oc new-app ruby-helloworld-sample --param-file test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.298s: test/cmd/newapp.sh:178: executing 'oc new-app ruby-helloworld-sample --param-file test/testdata' expecting failure and text 'is a directory' Running test/cmd/newapp.sh:179: executing 'oc new-app ruby-helloworld-sample --param-file /dev/null -o yaml' expecting success... SUCCESS after 0.362s: test/cmd/newapp.sh:179: executing 'oc new-app ruby-helloworld-sample --param-file /dev/null -o yaml' expecting success Running test/cmd/newapp.sh:180: executing 'oc new-app ruby-helloworld-sample --param-file /dev/null --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env -o yaml' expecting success... SUCCESS after 0.608s: test/cmd/newapp.sh:180: executing 'oc new-app ruby-helloworld-sample --param-file /dev/null --param-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-params.env -o yaml' expecting success Running test/cmd/newapp.sh:181: executing 'echo 'fo%(o=bar' | oc new-app ruby-helloworld-sample --param-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.364s: test/cmd/newapp.sh:181: executing 'echo 'fo%(o=bar' | oc new-app ruby-helloworld-sample --param-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:182: executing 'echo 'S P A C E S=test' | oc new-app ruby-helloworld-sample --param-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.314s: test/cmd/newapp.sh:182: executing 'echo 'S P A C E S=test' | oc new-app ruby-helloworld-sample --param-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:184: executing 'oc new-app ruby-helloworld-sample --param ABSENT_PARAMETER=absent -o yaml' expecting failure and text 'unexpected parameter name'... SUCCESS after 0.309s: test/cmd/newapp.sh:184: executing 'oc new-app ruby-helloworld-sample --param ABSENT_PARAMETER=absent -o yaml' expecting failure and text 'unexpected parameter name' Running test/cmd/newapp.sh:185: executing 'oc new-app ruby-helloworld-sample --param ABSENT_PARAMETER=absent -o yaml --ignore-unknown-parameters' expecting success... SUCCESS after 0.304s: test/cmd/newapp.sh:185: executing 'oc new-app ruby-helloworld-sample --param ABSENT_PARAMETER=absent -o yaml --ignore-unknown-parameters' expecting success Running test/cmd/newapp.sh:189: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile'... SUCCESS after 0.323s: test/cmd/newapp.sh:189: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile' Running test/cmd/newapp.sh:190: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline'... SUCCESS after 0.365s: test/cmd/newapp.sh:190: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline' Running test/cmd/newapp.sh:191: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file'... SUCCESS after 0.528s: test/cmd/newapp.sh:191: executing 'oc new-app php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file' Running test/cmd/newapp.sh:192: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env | oc new-app php --env-file - -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile'... SUCCESS after 0.604s: test/cmd/newapp.sh:192: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env | oc new-app php --env-file - -o jsonpath='{.items[?(@.kind=="DeploymentConfig")].spec.template.spec.containers[0].env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile' Running test/cmd/newapp.sh:194: executing 'oc new-app php --env-file does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.277s: test/cmd/newapp.sh:194: executing 'oc new-app php --env-file does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/newapp.sh:195: executing 'oc new-app php --env-file test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.278s: test/cmd/newapp.sh:195: executing 'oc new-app php --env-file test/testdata' expecting failure and text 'is a directory' Running test/cmd/newapp.sh:196: executing 'oc new-app php --env-file /dev/null -o yaml' expecting success... SUCCESS after 0.321s: test/cmd/newapp.sh:196: executing 'oc new-app php --env-file /dev/null -o yaml' expecting success Running test/cmd/newapp.sh:197: executing 'oc new-app php --env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o yaml' expecting success... SUCCESS after 0.332s: test/cmd/newapp.sh:197: executing 'oc new-app php --env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o yaml' expecting success Running test/cmd/newapp.sh:198: executing 'echo 'fo%(o=bar' | oc new-app php --env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.331s: test/cmd/newapp.sh:198: executing 'echo 'fo%(o=bar' | oc new-app php --env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:199: executing 'echo 'S P A C E S=test' | oc new-app php --env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.407s: test/cmd/newapp.sh:199: executing 'echo 'S P A C E S=test' | oc new-app php --env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:203: executing 'oc new-build --binary php --env X=Y,Z=W -o yaml' expecting success and text 'value: Y,Z=W'... SUCCESS after 0.723s: test/cmd/newapp.sh:203: executing 'oc new-build --binary php --env X=Y,Z=W -o yaml' expecting success and text 'value: Y,Z=W' Running test/cmd/newapp.sh:204: executing 'oc new-build --binary php --env X=Y,Z=W -o yaml' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.458s: test/cmd/newapp.sh:204: executing 'oc new-build --binary php --env X=Y,Z=W -o yaml' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:205: executing 'oc new-build --binary php --env X=Y,Z,W -o yaml' expecting success and text 'value: Y,Z,W'... SUCCESS after 0.315s: test/cmd/newapp.sh:205: executing 'oc new-build --binary php --env X=Y,Z,W -o yaml' expecting success and text 'value: Y,Z,W' Running test/cmd/newapp.sh:206: executing 'oc new-build --binary php --env X=Y,Z,W -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.388s: test/cmd/newapp.sh:206: executing 'oc new-build --binary php --env X=Y,Z,W -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:207: executing 'oc new-build --binary php --env X=Y -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.341s: test/cmd/newapp.sh:207: executing 'oc new-build --binary php --env X=Y -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:210: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile'... SUCCESS after 0.500s: test/cmd/newapp.sh:210: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile' Running test/cmd/newapp.sh:211: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline'... SUCCESS after 0.444s: test/cmd/newapp.sh:211: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline' Running test/cmd/newapp.sh:212: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file'... SUCCESS after 0.693s: test/cmd/newapp.sh:212: executing 'oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file' Running test/cmd/newapp.sh:213: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env | oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile'... SUCCESS after 0.369s: test/cmd/newapp.sh:213: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env | oc new-build --binary php --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'envvarfromfile' Running test/cmd/newapp.sh:215: executing 'oc new-build --binary php --env-file does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.232s: test/cmd/newapp.sh:215: executing 'oc new-build --binary php --env-file does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/newapp.sh:216: executing 'oc new-build --binary php --env-file test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.304s: test/cmd/newapp.sh:216: executing 'oc new-build --binary php --env-file test/testdata' expecting failure and text 'is a directory' Running test/cmd/newapp.sh:217: executing 'oc new-build --binary php --env-file /dev/null -o yaml' expecting success... SUCCESS after 0.385s: test/cmd/newapp.sh:217: executing 'oc new-build --binary php --env-file /dev/null -o yaml' expecting success Running test/cmd/newapp.sh:218: executing 'oc new-build --binary php --env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o yaml' expecting success... SUCCESS after 0.614s: test/cmd/newapp.sh:218: executing 'oc new-build --binary php --env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-env.env -o yaml' expecting success Running test/cmd/newapp.sh:219: executing 'echo 'fo%(o=bar' | oc new-build --binary php --env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.314s: test/cmd/newapp.sh:219: executing 'echo 'fo%(o=bar' | oc new-build --binary php --env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:220: executing 'echo 'S P A C E S=test' | oc new-build --binary php --env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.405s: test/cmd/newapp.sh:220: executing 'echo 'S P A C E S=test' | oc new-build --binary php --env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:225: executing 'oc new-app php --build-env-file does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.301s: test/cmd/newapp.sh:225: executing 'oc new-app php --build-env-file does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/newapp.sh:226: executing 'oc new-app php --build-env-file test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.261s: test/cmd/newapp.sh:226: executing 'oc new-app php --build-env-file test/testdata' expecting failure and text 'is a directory' Running test/cmd/newapp.sh:227: executing 'oc new-app php --build-env-file /dev/null -o yaml' expecting success... SUCCESS after 0.462s: test/cmd/newapp.sh:227: executing 'oc new-app php --build-env-file /dev/null -o yaml' expecting success Running test/cmd/newapp.sh:228: executing 'oc new-app php --build-env-file /dev/null --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o yaml' expecting success... SUCCESS after 0.438s: test/cmd/newapp.sh:228: executing 'oc new-app php --build-env-file /dev/null --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o yaml' expecting success Running test/cmd/newapp.sh:229: executing 'echo 'fo%(o=bar' | oc new-app php --build-env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.424s: test/cmd/newapp.sh:229: executing 'echo 'fo%(o=bar' | oc new-app php --build-env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:230: executing 'echo 'S P A C E S=test' | oc new-app php --build-env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.263s: test/cmd/newapp.sh:230: executing 'echo 'S P A C E S=test' | oc new-app php --build-env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:234: executing 'oc new-build --binary php --build-env X=Y,Z=W -o yaml' expecting success and text 'value: Y,Z=W'... SUCCESS after 0.393s: test/cmd/newapp.sh:234: executing 'oc new-build --binary php --build-env X=Y,Z=W -o yaml' expecting success and text 'value: Y,Z=W' Running test/cmd/newapp.sh:235: executing 'oc new-build --binary php --build-env X=Y,Z=W -o yaml' expecting success and text 'no longer accepts comma-separated list'... SUCCESS after 0.612s: test/cmd/newapp.sh:235: executing 'oc new-build --binary php --build-env X=Y,Z=W -o yaml' expecting success and text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:236: executing 'oc new-build --binary php --build-env X=Y,Z,W -o yaml' expecting success and text 'value: Y,Z,W'... SUCCESS after 0.321s: test/cmd/newapp.sh:236: executing 'oc new-build --binary php --build-env X=Y,Z,W -o yaml' expecting success and text 'value: Y,Z,W' Running test/cmd/newapp.sh:237: executing 'oc new-build --binary php --build-env X=Y,Z,W -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.599s: test/cmd/newapp.sh:237: executing 'oc new-build --binary php --build-env X=Y,Z,W -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:238: executing 'oc new-build --binary php --build-env X=Y -o yaml' expecting success and not text 'no longer accepts comma-separated list'... SUCCESS after 0.497s: test/cmd/newapp.sh:238: executing 'oc new-build --binary php --build-env X=Y -o yaml' expecting success and not text 'no longer accepts comma-separated list' Running test/cmd/newapp.sh:241: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'buildenvvarfromfile'... SUCCESS after 0.427s: test/cmd/newapp.sh:241: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'buildenvvarfromfile' Running test/cmd/newapp.sh:242: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline'... SUCCESS after 0.433s: test/cmd/newapp.sh:242: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env --env SOME_VAR=fromcmdline -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'fromcmdline' Running test/cmd/newapp.sh:243: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file'... SUCCESS after 0.554s: test/cmd/newapp.sh:243: executing 'oc new-build --binary php --build-env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env --env SOME_VAR=fromcmdline -o yaml' expecting success and text 'ignoring value from file' Running test/cmd/newapp.sh:244: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env | oc new-build --binary php --build-env-file - -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'buildenvvarfromfile'... SUCCESS after 0.342s: test/cmd/newapp.sh:244: executing 'cat /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env | oc new-build --binary php --build-env-file - -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.sourceStrategy.env[?(@.name=="SOME_VAR")].value}'' expecting success and text 'buildenvvarfromfile' Running test/cmd/newapp.sh:246: executing 'oc new-build --binary php --build-env-file does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.383s: test/cmd/newapp.sh:246: executing 'oc new-build --binary php --build-env-file does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/newapp.sh:247: executing 'oc new-build --binary php --build-env-file test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.371s: test/cmd/newapp.sh:247: executing 'oc new-build --binary php --build-env-file test/testdata' expecting failure and text 'is a directory' Running test/cmd/newapp.sh:248: executing 'oc new-build --binary php --build-env-file /dev/null -o yaml' expecting success... SUCCESS after 0.434s: test/cmd/newapp.sh:248: executing 'oc new-build --binary php --build-env-file /dev/null -o yaml' expecting success Running test/cmd/newapp.sh:249: executing 'oc new-build --binary php --build-env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o yaml' expecting success... SUCCESS after 0.448s: test/cmd/newapp.sh:249: executing 'oc new-build --binary php --build-env-file /dev/null --env-file /go/src/github.com/openshift/origin/test/testdata/test-cmd-newapp-build-env.env -o yaml' expecting success Running test/cmd/newapp.sh:250: executing 'echo 'fo%(o=bar' | oc new-build --binary php --build-env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.232s: test/cmd/newapp.sh:250: executing 'echo 'fo%(o=bar' | oc new-build --binary php --build-env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:251: executing 'echo 'S P A C E S=test' | oc new-build --binary php --build-env-file -' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.321s: test/cmd/newapp.sh:251: executing 'echo 'S P A C E S=test' | oc new-build --binary php --build-env-file -' expecting failure and text 'invalid parameter assignment' Running test/cmd/newapp.sh:254: executing 'oc new-build /go/src/github.com/openshift/origin/test/testdata/build-arg-dockerfile --build-arg 'foo=bar' --to 'test' -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.dockerStrategy.buildArgs[?(@.name=="foo")].value}'' expecting success and text 'bar'... SUCCESS after 1.220s: test/cmd/newapp.sh:254: executing 'oc new-build /go/src/github.com/openshift/origin/test/testdata/build-arg-dockerfile --build-arg 'foo=bar' --to 'test' -o jsonpath='{.items[?(@.kind=="BuildConfig")].spec.strategy.dockerStrategy.buildArgs[?(@.name=="foo")].value}'' expecting success and text 'bar' Running test/cmd/newapp.sh:257: executing 'oc new-build https://github.com/openshift/ruby-hello-world --strategy=source --build-arg 'foo=bar'' expecting failure and text 'error: Cannot use '--build-arg' without a Docker build'... SUCCESS after 0.553s: test/cmd/newapp.sh:257: executing 'oc new-build https://github.com/openshift/ruby-hello-world --strategy=source --build-arg 'foo=bar'' expecting failure and text 'error: Cannot use '--build-arg' without a Docker build' Running test/cmd/newapp.sh:258: executing 'oc new-build https://github.com/openshift/ruby-ex --build-arg 'foo=bar'' expecting failure and text 'error: Cannot use '--build-arg' without a Docker build'... SUCCESS after 1.262s: test/cmd/newapp.sh:258: executing 'oc new-build https://github.com/openshift/ruby-ex --build-arg 'foo=bar'' expecting failure and text 'error: Cannot use '--build-arg' without a Docker build' Running test/cmd/newapp.sh:263: executing 'oc new-app -f test/testdata/template-with-app-label.json -o yaml' expecting success and not text 'app: ruby-helloworld-sample'... SUCCESS after 0.357s: test/cmd/newapp.sh:263: executing 'oc new-app -f test/testdata/template-with-app-label.json -o yaml' expecting success and not text 'app: ruby-helloworld-sample' Running test/cmd/newapp.sh:265: executing 'oc new-app -f test/testdata/template-with-app-label.json -o yaml' expecting success and text 'app: myapp'... SUCCESS after 0.523s: test/cmd/newapp.sh:265: executing 'oc new-app -f test/testdata/template-with-app-label.json -o yaml' expecting success and text 'app: myapp' Running test/cmd/newapp.sh:268: executing 'cat examples/sample-app/application-template-stibuild.json | oc new-app -o yaml -f -' expecting success... SUCCESS after 0.404s: test/cmd/newapp.sh:268: executing 'cat examples/sample-app/application-template-stibuild.json | oc new-app -o yaml -f -' expecting success Running test/cmd/newapp.sh:271: executing 'oc new-app --search mysql' expecting success and text 'Tags:\s+5.6, 5.7, latest'... SUCCESS after 0.620s: test/cmd/newapp.sh:271: executing 'oc new-app --search mysql' expecting success and text 'Tags:\s+5.6, 5.7, latest' Running test/cmd/newapp.sh:272: executing 'oc new-app --search ruby-helloworld-sample' expecting success and text 'ruby-helloworld-sample'... SUCCESS after 0.362s: test/cmd/newapp.sh:272: executing 'oc new-app --search ruby-helloworld-sample' expecting success and text 'ruby-helloworld-sample' Running test/cmd/newapp.sh:274: executing 'oc new-app --search ruby-hellow' expecting success and text 'ruby-helloworld-sample'... SUCCESS after 0.408s: test/cmd/newapp.sh:274: executing 'oc new-app --search ruby-hellow' expecting success and text 'ruby-helloworld-sample' Running test/cmd/newapp.sh:275: executing 'oc new-app --search --template=ruby-hel' expecting success and text 'ruby-helloworld-sample'... SUCCESS after 0.307s: test/cmd/newapp.sh:275: executing 'oc new-app --search --template=ruby-hel' expecting success and text 'ruby-helloworld-sample' Running test/cmd/newapp.sh:276: executing 'oc new-app --search --template=ruby-helloworld-sam -o yaml' expecting success and text 'ruby-helloworld-sample'... SUCCESS after 0.644s: test/cmd/newapp.sh:276: executing 'oc new-app --search --template=ruby-helloworld-sam -o yaml' expecting success and text 'ruby-helloworld-sample' Running test/cmd/newapp.sh:277: executing 'oc new-app --search rub' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest'... SUCCESS after 0.441s: test/cmd/newapp.sh:277: executing 'oc new-app --search rub' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest' Running test/cmd/newapp.sh:278: executing 'oc new-app --search --image-stream=rub' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest'... SUCCESS after 0.309s: test/cmd/newapp.sh:278: executing 'oc new-app --search --image-stream=rub' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest' Running test/cmd/newapp.sh:280: executing 'oc new-app --search --image-stream=ruby-heloworld-sample' expecting failure and not text 'application-template-stibuild'... SUCCESS after 0.353s: test/cmd/newapp.sh:280: executing 'oc new-app --search --image-stream=ruby-heloworld-sample' expecting failure and not text 'application-template-stibuild' Running test/cmd/newapp.sh:281: executing 'oc new-app --search --template=php' expecting failure... SUCCESS after 0.309s: test/cmd/newapp.sh:281: executing 'oc new-app --search --template=php' expecting failure Running test/cmd/newapp.sh:282: executing 'oc new-app -S --template=nodejs' expecting failure... SUCCESS after 0.332s: test/cmd/newapp.sh:282: executing 'oc new-app -S --template=nodejs' expecting failure Running test/cmd/newapp.sh:283: executing 'oc new-app -S --template=perl' expecting failure... SUCCESS after 0.318s: test/cmd/newapp.sh:283: executing 'oc new-app -S --template=perl' expecting failure Running test/cmd/newapp.sh:286: executing 'oc get imagestreamtags mariadb:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.765s: test/cmd/newapp.sh:286: executing 'oc get imagestreamtags mariadb:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:287: executing 'oc get imagestreamtags mariadb:10.1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.508s: test/cmd/newapp.sh:287: executing 'oc get imagestreamtags mariadb:10.1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:288: executing 'oc get imagestreamtags mariadb:10.2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.506s: test/cmd/newapp.sh:288: executing 'oc get imagestreamtags mariadb:10.2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:289: executing 'oc get imagestreamtags mongodb:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.535s: test/cmd/newapp.sh:289: executing 'oc get imagestreamtags mongodb:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:290: executing 'oc get imagestreamtags mongodb:2.4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.494s: test/cmd/newapp.sh:290: executing 'oc get imagestreamtags mongodb:2.4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:291: executing 'oc get imagestreamtags mongodb:2.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.566s: test/cmd/newapp.sh:291: executing 'oc get imagestreamtags mongodb:2.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:292: executing 'oc get imagestreamtags mongodb:3.2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.684s: test/cmd/newapp.sh:292: executing 'oc get imagestreamtags mongodb:3.2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:293: executing 'oc get imagestreamtags mongodb:3.4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.405s: test/cmd/newapp.sh:293: executing 'oc get imagestreamtags mongodb:3.4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:294: executing 'oc get imagestreamtags mysql:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.534s: test/cmd/newapp.sh:294: executing 'oc get imagestreamtags mysql:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:295: executing 'oc get imagestreamtags mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.474s: test/cmd/newapp.sh:295: executing 'oc get imagestreamtags mysql:5.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:296: executing 'oc get imagestreamtags mysql:5.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.804s: test/cmd/newapp.sh:296: executing 'oc get imagestreamtags mysql:5.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:297: executing 'oc get imagestreamtags mysql:5.7' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.812s: test/cmd/newapp.sh:297: executing 'oc get imagestreamtags mysql:5.7' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:298: executing 'oc get imagestreamtags nginx:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.551s: test/cmd/newapp.sh:298: executing 'oc get imagestreamtags nginx:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:299: executing 'oc get imagestreamtags nginx:1.8' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.477s: test/cmd/newapp.sh:299: executing 'oc get imagestreamtags nginx:1.8' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:300: executing 'oc get imagestreamtags nginx:1.10' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.515s: test/cmd/newapp.sh:300: executing 'oc get imagestreamtags nginx:1.10' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:301: executing 'oc get imagestreamtags nginx:1.12' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.536s: test/cmd/newapp.sh:301: executing 'oc get imagestreamtags nginx:1.12' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:302: executing 'oc get imagestreamtags nodejs:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.683s: test/cmd/newapp.sh:302: executing 'oc get imagestreamtags nodejs:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:303: executing 'oc get imagestreamtags nodejs:0.10' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.485s: test/cmd/newapp.sh:303: executing 'oc get imagestreamtags nodejs:0.10' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:304: executing 'oc get imagestreamtags nodejs:4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.494s: test/cmd/newapp.sh:304: executing 'oc get imagestreamtags nodejs:4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:305: executing 'oc get imagestreamtags nodejs:6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.572s: test/cmd/newapp.sh:305: executing 'oc get imagestreamtags nodejs:6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:306: executing 'oc get imagestreamtags nodejs:8' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.497s: test/cmd/newapp.sh:306: executing 'oc get imagestreamtags nodejs:8' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:307: executing 'oc get imagestreamtags perl:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.557s: test/cmd/newapp.sh:307: executing 'oc get imagestreamtags perl:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:308: executing 'oc get imagestreamtags perl:5.16' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.714s: test/cmd/newapp.sh:308: executing 'oc get imagestreamtags perl:5.16' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:309: executing 'oc get imagestreamtags perl:5.20' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.428s: test/cmd/newapp.sh:309: executing 'oc get imagestreamtags perl:5.20' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:310: executing 'oc get imagestreamtags perl:5.24' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.741s: test/cmd/newapp.sh:310: executing 'oc get imagestreamtags perl:5.24' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:311: executing 'oc get imagestreamtags php:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.413s: test/cmd/newapp.sh:311: executing 'oc get imagestreamtags php:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:312: executing 'oc get imagestreamtags php:5.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.397s: test/cmd/newapp.sh:312: executing 'oc get imagestreamtags php:5.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:313: executing 'oc get imagestreamtags php:5.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.690s: test/cmd/newapp.sh:313: executing 'oc get imagestreamtags php:5.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:314: executing 'oc get imagestreamtags php:7.0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.449s: test/cmd/newapp.sh:314: executing 'oc get imagestreamtags php:7.0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:315: executing 'oc get imagestreamtags php:7.1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.667s: test/cmd/newapp.sh:315: executing 'oc get imagestreamtags php:7.1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:316: executing 'oc get imagestreamtags postgresql:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.443s: test/cmd/newapp.sh:316: executing 'oc get imagestreamtags postgresql:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:317: executing 'oc get imagestreamtags postgresql:9.2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.411s: test/cmd/newapp.sh:317: executing 'oc get imagestreamtags postgresql:9.2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:318: executing 'oc get imagestreamtags postgresql:9.4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.503s: test/cmd/newapp.sh:318: executing 'oc get imagestreamtags postgresql:9.4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:319: executing 'oc get imagestreamtags postgresql:9.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.697s: test/cmd/newapp.sh:319: executing 'oc get imagestreamtags postgresql:9.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:320: executing 'oc get imagestreamtags postgresql:9.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.623s: test/cmd/newapp.sh:320: executing 'oc get imagestreamtags postgresql:9.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:321: executing 'oc get imagestreamtags python:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.566s: test/cmd/newapp.sh:321: executing 'oc get imagestreamtags python:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:322: executing 'oc get imagestreamtags python:2.7' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.401s: test/cmd/newapp.sh:322: executing 'oc get imagestreamtags python:2.7' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:323: executing 'oc get imagestreamtags python:3.3' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.475s: test/cmd/newapp.sh:323: executing 'oc get imagestreamtags python:3.3' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:324: executing 'oc get imagestreamtags python:3.4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.628s: test/cmd/newapp.sh:324: executing 'oc get imagestreamtags python:3.4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:325: executing 'oc get imagestreamtags python:3.5' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.604s: test/cmd/newapp.sh:325: executing 'oc get imagestreamtags python:3.5' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:326: executing 'oc get imagestreamtags python:3.6' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.517s: test/cmd/newapp.sh:326: executing 'oc get imagestreamtags python:3.6' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:327: executing 'oc get imagestreamtags ruby:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.434s: test/cmd/newapp.sh:327: executing 'oc get imagestreamtags ruby:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:328: executing 'oc get imagestreamtags ruby:2.0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.471s: test/cmd/newapp.sh:328: executing 'oc get imagestreamtags ruby:2.0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:329: executing 'oc get imagestreamtags ruby:2.2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.505s: test/cmd/newapp.sh:329: executing 'oc get imagestreamtags ruby:2.2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:330: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.805s: test/cmd/newapp.sh:330: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:331: executing 'oc get imagestreamtags ruby:2.4' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.491s: test/cmd/newapp.sh:331: executing 'oc get imagestreamtags ruby:2.4' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:332: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.460s: test/cmd/newapp.sh:332: executing 'oc get imagestreamtags wildfly:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:333: executing 'oc get imagestreamtags wildfly:10.1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.521s: test/cmd/newapp.sh:333: executing 'oc get imagestreamtags wildfly:10.1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:334: executing 'oc get imagestreamtags wildfly:10.0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.550s: test/cmd/newapp.sh:334: executing 'oc get imagestreamtags wildfly:10.0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:335: executing 'oc get imagestreamtags wildfly:9.0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.706s: test/cmd/newapp.sh:335: executing 'oc get imagestreamtags wildfly:9.0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:336: executing 'oc get imagestreamtags wildfly:8.1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.520s: test/cmd/newapp.sh:336: executing 'oc get imagestreamtags wildfly:8.1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:338: executing 'oc new-app --search --image-stream=mariadb' expecting success and text 'Tags:\s+10.1, 10.2, latest'... SUCCESS after 0.249s: test/cmd/newapp.sh:338: executing 'oc new-app --search --image-stream=mariadb' expecting success and text 'Tags:\s+10.1, 10.2, latest' Running test/cmd/newapp.sh:339: executing 'oc new-app --search --image-stream=mongodb' expecting success and text 'Tags:\s+2.6, 3.2, 3.4, latest'... SUCCESS after 0.418s: test/cmd/newapp.sh:339: executing 'oc new-app --search --image-stream=mongodb' expecting success and text 'Tags:\s+2.6, 3.2, 3.4, latest' Running test/cmd/newapp.sh:340: executing 'oc new-app --search --image-stream=mysql' expecting success and text 'Tags:\s+5.6, 5.7, latest'... SUCCESS after 0.320s: test/cmd/newapp.sh:340: executing 'oc new-app --search --image-stream=mysql' expecting success and text 'Tags:\s+5.6, 5.7, latest' Running test/cmd/newapp.sh:341: executing 'oc new-app --search --image-stream=nginx' expecting success and text 'Tags:\s+1.10, 1.12, 1.8, latest'... SUCCESS after 0.395s: test/cmd/newapp.sh:341: executing 'oc new-app --search --image-stream=nginx' expecting success and text 'Tags:\s+1.10, 1.12, 1.8, latest' Running test/cmd/newapp.sh:342: executing 'oc new-app --search --image-stream=nodejs' expecting success and text 'Tags:\s+4, 6, 8, latest'... SUCCESS after 0.385s: test/cmd/newapp.sh:342: executing 'oc new-app --search --image-stream=nodejs' expecting success and text 'Tags:\s+4, 6, 8, latest' Running test/cmd/newapp.sh:343: executing 'oc new-app --search --image-stream=perl' expecting success and text 'Tags:\s+5.20, 5.24, latest'... SUCCESS after 0.732s: test/cmd/newapp.sh:343: executing 'oc new-app --search --image-stream=perl' expecting success and text 'Tags:\s+5.20, 5.24, latest' Running test/cmd/newapp.sh:344: executing 'oc new-app --search --image-stream=php' expecting success and text 'Tags:\s+5.6, 7.0, 7.1, latest'... SUCCESS after 0.346s: test/cmd/newapp.sh:344: executing 'oc new-app --search --image-stream=php' expecting success and text 'Tags:\s+5.6, 7.0, 7.1, latest' Running test/cmd/newapp.sh:345: executing 'oc new-app --search --image-stream=postgresql' expecting success and text 'Tags:\s+9.4, 9.5, 9.6, latest'... SUCCESS after 0.348s: test/cmd/newapp.sh:345: executing 'oc new-app --search --image-stream=postgresql' expecting success and text 'Tags:\s+9.4, 9.5, 9.6, latest' Running test/cmd/newapp.sh:346: executing 'oc new-app -S --image-stream=python' expecting success and text 'Tags:\s+2.7, 3.4, 3.5, 3.6, latest'... SUCCESS after 0.342s: test/cmd/newapp.sh:346: executing 'oc new-app -S --image-stream=python' expecting success and text 'Tags:\s+2.7, 3.4, 3.5, 3.6, latest' Running test/cmd/newapp.sh:347: executing 'oc new-app -S --image-stream=ruby' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest'... SUCCESS after 0.333s: test/cmd/newapp.sh:347: executing 'oc new-app -S --image-stream=ruby' expecting success and text 'Tags:\s+2.2, 2.3, 2.4, latest' Running test/cmd/newapp.sh:348: executing 'oc new-app -S --image-stream=wildfly' expecting success and text 'Tags:\s+10.0, 10.1, 8.1, 9.0, latest'... SUCCESS after 0.287s: test/cmd/newapp.sh:348: executing 'oc new-app -S --image-stream=wildfly' expecting success and text 'Tags:\s+10.0, 10.1, 8.1, 9.0, latest' Running test/cmd/newapp.sh:349: executing 'oc new-app --search --template=ruby-helloworld-sample' expecting success and text 'ruby-helloworld-sample'... SUCCESS after 0.399s: test/cmd/newapp.sh:349: executing 'oc new-app --search --template=ruby-helloworld-sample' expecting success and text 'ruby-helloworld-sample' Running test/cmd/newapp.sh:351: executing 'oc new-app -S foo-the-bar' expecting failure and text 'no matches found'... SUCCESS after 0.445s: test/cmd/newapp.sh:351: executing 'oc new-app -S foo-the-bar' expecting failure and text 'no matches found' Running test/cmd/newapp.sh:352: executing 'oc new-app --search winter-is-coming' expecting failure and text 'no matches found'... SUCCESS after 0.515s: test/cmd/newapp.sh:352: executing 'oc new-app --search winter-is-coming' expecting failure and text 'no matches found' Running test/cmd/newapp.sh:354: executing 'oc new-app -S mysql --env=FOO=BAR' expecting failure and text 'can't be used'... SUCCESS after 0.270s: test/cmd/newapp.sh:354: executing 'oc new-app -S mysql --env=FOO=BAR' expecting failure and text 'can't be used' Running test/cmd/newapp.sh:355: executing 'oc new-app --search mysql --code=https://github.com/openshift/ruby-hello-world' expecting failure and text 'can't be used'... SUCCESS after 0.914s: test/cmd/newapp.sh:355: executing 'oc new-app --search mysql --code=https://github.com/openshift/ruby-hello-world' expecting failure and text 'can't be used' Running test/cmd/newapp.sh:356: executing 'oc new-app --search mysql --param=FOO=BAR' expecting failure and text 'can't be used'... SUCCESS after 0.352s: test/cmd/newapp.sh:356: executing 'oc new-app --search mysql --param=FOO=BAR' expecting failure and text 'can't be used' Running test/cmd/newapp.sh:358: executing 'oc new-app --template foo' expecting failure and not text 'index out of range'... SUCCESS after 0.435s: test/cmd/newapp.sh:358: executing 'oc new-app --template foo' expecting failure and not text 'index out of range' Running test/cmd/newapp.sh:361: executing 'oc new-app https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app'... SUCCESS after 1.747s: test/cmd/newapp.sh:361: executing 'oc new-app https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app' Running test/cmd/newapp.sh:362: executing 'oc new-app ruby~https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app'... SUCCESS after 0.440s: test/cmd/newapp.sh:362: executing 'oc new-app ruby~https://github.com/openshift/sti-ruby.git --context-dir="2.3/test/puma-test-app" -o yaml' expecting success and text 'contextDir: 2.3/test/puma-test-app' Running test/cmd/newapp.sh:365: executing 'oc new-app ruby~https://github.com/openshift/ruby-hello-world.git --strategy=docker -o yaml' expecting success and text 'dockerStrategy'... SUCCESS after 0.486s: test/cmd/newapp.sh:365: executing 'oc new-app ruby~https://github.com/openshift/ruby-hello-world.git --strategy=docker -o yaml' expecting success and text 'dockerStrategy' Running test/cmd/newapp.sh:366: executing 'oc new-app https://github.com/openshift/ruby-hello-world.git --strategy=source -o yaml' expecting success and text 'sourceStrategy'... SUCCESS after 1.201s: test/cmd/newapp.sh:366: executing 'oc new-app https://github.com/openshift/ruby-hello-world.git --strategy=source -o yaml' expecting success and text 'sourceStrategy' Running test/cmd/newapp.sh:369: executing 'oc new-app --dry-run mysql' expecting success and not text 'runs as the 'root' user'... SUCCESS after 0.511s: test/cmd/newapp.sh:369: executing 'oc new-app --dry-run mysql' expecting success and not text 'runs as the 'root' user' Running test/cmd/newapp.sh:370: executing 'oc new-app --dry-run --docker-image=mysql' expecting success and text 'WARNING: Image "mysql" runs as the 'root' user'... SUCCESS after 0.518s: test/cmd/newapp.sh:370: executing 'oc new-app --dry-run --docker-image=mysql' expecting success and text 'WARNING: Image "mysql" runs as the 'root' user' Running test/cmd/newapp.sh:373: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'error: unable to locate any'... SUCCESS after 0.405s: test/cmd/newapp.sh:373: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'error: unable to locate any' Running test/cmd/newapp.sh:374: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'with name "__templatefile_fail"'... SUCCESS after 0.433s: test/cmd/newapp.sh:374: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'with name "__templatefile_fail"' Running test/cmd/newapp.sh:375: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'error: unable to find the specified template file'... SUCCESS after 0.290s: test/cmd/newapp.sh:375: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'error: unable to find the specified template file' Running test/cmd/newapp.sh:376: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'The 'oc new-app' command will match arguments'... SUCCESS after 0.317s: test/cmd/newapp.sh:376: executing 'oc new-app --dry-run __template_fail __templatefile_fail' expecting failure and text 'The 'oc new-app' command will match arguments' Running test/cmd/newapp.sh:379: executing 'oc new-app --dry-run mysq' expecting failure and text 'error: only a partial match was found for "mysq"'... SUCCESS after 0.336s: test/cmd/newapp.sh:379: executing 'oc new-app --dry-run mysq' expecting failure and text 'error: only a partial match was found for "mysq"' Running test/cmd/newapp.sh:380: executing 'oc new-app --dry-run mysq' expecting failure and text 'The argument "mysq" only partially matched'... SUCCESS after 0.623s: test/cmd/newapp.sh:380: executing 'oc new-app --dry-run mysq' expecting failure and text 'The argument "mysq" only partially matched' Running test/cmd/newapp.sh:381: executing 'oc new-app --dry-run mysq' expecting failure and text 'Image stream "mysql" \(tag "5.7"\) in project'... SUCCESS after 0.456s: test/cmd/newapp.sh:381: executing 'oc new-app --dry-run mysq' expecting failure and text 'Image stream "mysql" \(tag "5.7"\) in project' Running test/cmd/newapp.sh:384: executing 'oc new-app https://github.com/openshift/ruby-hello-world#refs/pull/58/head --dry-run' expecting success... SUCCESS after 1.518s: test/cmd/newapp.sh:384: executing 'oc new-app https://github.com/openshift/ruby-hello-world#refs/pull/58/head --dry-run' expecting success Running test/cmd/newapp.sh:388: executing 'printf "apiVersion: v1\nkind: ImageStream\nmetadata:\n name: emptystream\n" | oc create -f -' expecting success... SUCCESS after 0.256s: test/cmd/newapp.sh:388: executing 'printf "apiVersion: v1\nkind: ImageStream\nmetadata:\n name: emptystream\n" | oc create -f -' expecting success Running test/cmd/newapp.sh:389: executing 'oc new-app --dry-run emptystream' expecting failure and text 'error: no tags found on matching image stream'... SUCCESS after 0.767s: test/cmd/newapp.sh:389: executing 'oc new-app --dry-run emptystream' expecting failure and text 'error: no tags found on matching image stream' Running test/cmd/newapp.sh:390: executing 'oc new-app --dry-run emptystream --allow-missing-imagestream-tags' expecting success... SUCCESS after 0.408s: test/cmd/newapp.sh:390: executing 'oc new-app --dry-run emptystream --allow-missing-imagestream-tags' expecting success Running test/cmd/newapp.sh:392: executing 'oc new-build --dry-run emptystream~https://github.com/openshift/ruby-ex' expecting failure and text 'error: no tags found on matching image stream'... SUCCESS after 0.397s: test/cmd/newapp.sh:392: executing 'oc new-build --dry-run emptystream~https://github.com/openshift/ruby-ex' expecting failure and text 'error: no tags found on matching image stream' Running test/cmd/newapp.sh:393: executing 'oc new-build --dry-run emptystream~https://github.com/openshift/ruby-ex --allow-missing-imagestream-tags --strategy=source' expecting success... SUCCESS after 0.559s: test/cmd/newapp.sh:393: executing 'oc new-build --dry-run emptystream~https://github.com/openshift/ruby-ex --allow-missing-imagestream-tags --strategy=source' expecting success Running test/cmd/newapp.sh:396: executing 'oc new-app mysql+ruby~https://github.com/openshift/ruby-ex --name foo -o yaml' expecting success... SUCCESS after 0.424s: test/cmd/newapp.sh:396: executing 'oc new-app mysql+ruby~https://github.com/openshift/ruby-ex --name foo -o yaml' expecting success Running test/cmd/newapp.sh:398: executing 'oc new-app mysql ruby~https://github.com/openshift/ruby-ex --name foo -o yaml' expecting failure and text 'error: only one component or source repository can be used when specifying a name'... SUCCESS after 0.285s: test/cmd/newapp.sh:398: executing 'oc new-app mysql ruby~https://github.com/openshift/ruby-ex --name foo -o yaml' expecting failure and text 'error: only one component or source repository can be used when specifying a name' Running test/cmd/newapp.sh:400: executing 'oc new-build https://github.com/openshift/nodejs-ex https://github.com/openshift/ruby-ex --to foo' expecting failure and text 'error: only one component with source can be used when specifying an output image reference'... SUCCESS after 2.255s: test/cmd/newapp.sh:400: executing 'oc new-build https://github.com/openshift/nodejs-ex https://github.com/openshift/ruby-ex --to foo' expecting failure and text 'error: only one component with source can be used when specifying an output image reference' Running test/cmd/newapp.sh:402: executing 'oc new-build https://github.com/openshift/nodejs-ex https://github.com/openshift/ruby-ex -o yaml' expecting success... SUCCESS after 2.374s: test/cmd/newapp.sh:402: executing 'oc new-build https://github.com/openshift/nodejs-ex https://github.com/openshift/ruby-ex -o yaml' expecting success Running test/cmd/newapp.sh:404: executing 'oc new-build --binary --image-stream=ruby -o yaml' expecting success and text 'type: Source'... SUCCESS after 0.335s: test/cmd/newapp.sh:404: executing 'oc new-build --binary --image-stream=ruby -o yaml' expecting success and text 'type: Source' Running test/cmd/newapp.sh:406: executing 'oc new-build --binary --image=ruby --strategy=docker -o yaml' expecting success and text 'type: Docker'... SUCCESS after 0.597s: test/cmd/newapp.sh:406: executing 'oc new-build --binary --image=ruby --strategy=docker -o yaml' expecting success and text 'type: Docker' Running test/cmd/newapp.sh:411: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting success... SUCCESS after 1.079s: test/cmd/newapp.sh:411: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting success Running test/cmd/newapp.sh:413: executing 'oc delete imagestreamtag ruby:latest' expecting success... SUCCESS after 0.852s: test/cmd/newapp.sh:413: executing 'oc delete imagestreamtag ruby:latest' expecting success Running test/cmd/newapp.sh:414: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting failure and text 'error: multiple images or templates matched \"ruby\":'... SUCCESS after 1.257s: test/cmd/newapp.sh:414: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting failure and text 'error: multiple images or templates matched \"ruby\":' Running test/cmd/newapp.sh:416: executing 'oc delete imagestreamtag ruby:2.2' expecting success... SUCCESS after 0.278s: test/cmd/newapp.sh:416: executing 'oc delete imagestreamtag ruby:2.2' expecting success Running test/cmd/newapp.sh:417: executing 'oc delete imagestreamtag ruby:2.3' expecting success... SUCCESS after 0.351s: test/cmd/newapp.sh:417: executing 'oc delete imagestreamtag ruby:2.3' expecting success Running test/cmd/newapp.sh:418: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting failure and text 'error: only a partial match was found for \"ruby\":'... SUCCESS after 1.464s: test/cmd/newapp.sh:418: executing 'oc new-app --image-stream ruby https://github.com/openshift/rails-ex --dry-run' expecting failure and text 'error: only a partial match was found for \"ruby\":' Running test/cmd/newapp.sh:420: executing 'oc new-app --image-stream ruby:2.4 https://github.com/openshift/rails-ex --dry-run' expecting success... SUCCESS after 1.213s: test/cmd/newapp.sh:420: executing 'oc new-app --image-stream ruby:2.4 https://github.com/openshift/rails-ex --dry-run' expecting success Running test/cmd/newapp.sh:421: executing 'oc delete imagestreams --all' expecting success... SUCCESS after 0.604s: test/cmd/newapp.sh:421: executing 'oc delete imagestreams --all' expecting success Running test/cmd/newapp.sh:424: executing 'oc new-app docker.io/ruby:latest~https://github.com/openshift/ruby-ex.git --name=testapp1 --strategy=docker' expecting success and text 'imagestream "ruby" created'... SUCCESS after 1.119s: test/cmd/newapp.sh:424: executing 'oc new-app docker.io/ruby:latest~https://github.com/openshift/ruby-ex.git --name=testapp1 --strategy=docker' expecting success and text 'imagestream "ruby" created' Running test/cmd/newapp.sh:425: executing 'oc new-app docker.io/ruby:latest~https://github.com/openshift/ruby-ex.git --name=testapp2 --strategy=docker' expecting success and not text '"ruby" already exists'... SUCCESS after 0.592s: test/cmd/newapp.sh:425: executing 'oc new-app docker.io/ruby:latest~https://github.com/openshift/ruby-ex.git --name=testapp2 --strategy=docker' expecting success and not text '"ruby" already exists' Running test/cmd/newapp.sh:426: executing 'oc delete all -l app=testapp2' expecting success... SUCCESS after 1.649s: test/cmd/newapp.sh:426: executing 'oc delete all -l app=testapp2' expecting success Running test/cmd/newapp.sh:427: executing 'oc delete all -l app=testapp1' expecting success... SUCCESS after 1.626s: test/cmd/newapp.sh:427: executing 'oc delete all -l app=testapp1' expecting success Running test/cmd/newapp.sh:428: executing 'oc delete all -l app=ruby --ignore-not-found' expecting success... SUCCESS after 0.630s: test/cmd/newapp.sh:428: executing 'oc delete all -l app=ruby --ignore-not-found' expecting success Running test/cmd/newapp.sh:429: executing 'oc delete imagestreams --all --ignore-not-found' expecting success... SUCCESS after 0.334s: test/cmd/newapp.sh:429: executing 'oc delete imagestreams --all --ignore-not-found' expecting success Running test/cmd/newapp.sh:431: executing 'oc new-app docker.io/ruby:2.2' expecting success... SUCCESS after 0.624s: test/cmd/newapp.sh:431: executing 'oc new-app docker.io/ruby:2.2' expecting success Running test/cmd/newapp.sh:433: executing 'oc new-app docker.io/ruby:2.4' expecting failure and text 'imagestreamtag "ruby:2.4" created'... SUCCESS after 0.578s: test/cmd/newapp.sh:433: executing 'oc new-app docker.io/ruby:2.4' expecting failure and text 'imagestreamtag "ruby:2.4" created' Running test/cmd/newapp.sh:434: executing 'oc delete imagestreams --all --ignore-not-found' expecting success... SUCCESS after 0.311s: test/cmd/newapp.sh:434: executing 'oc delete imagestreams --all --ignore-not-found' expecting success Running test/cmd/newapp.sh:437: executing 'oc new-app ruby-helloworld-sample -l app=helloworld' expecting success and text 'service "frontend" created'... SUCCESS after 0.687s: test/cmd/newapp.sh:437: executing 'oc new-app ruby-helloworld-sample -l app=helloworld' expecting success and text 'service "frontend" created' Running test/cmd/newapp.sh:438: executing 'oc delete all -l app=helloworld' expecting success... SUCCESS after 2.919s: test/cmd/newapp.sh:438: executing 'oc delete all -l app=helloworld' expecting success Running test/cmd/newapp.sh:439: executing 'oc delete secret dbsecret' expecting success... SUCCESS after 0.413s: test/cmd/newapp.sh:439: executing 'oc delete secret dbsecret' expecting success Running test/cmd/newapp.sh:440: executing 'oc new-app ruby-helloworld-sample -l app=helloworld -o name' expecting success and text 'service/frontend'... SUCCESS after 0.774s: test/cmd/newapp.sh:440: executing 'oc new-app ruby-helloworld-sample -l app=helloworld -o name' expecting success and text 'service/frontend' Running test/cmd/newapp.sh:441: executing 'oc delete all -l app=helloworld' expecting success... SUCCESS after 3.030s: test/cmd/newapp.sh:441: executing 'oc delete all -l app=helloworld' expecting success Running test/cmd/newapp.sh:442: executing 'oc delete secret dbsecret' expecting success... SUCCESS after 0.396s: test/cmd/newapp.sh:442: executing 'oc delete secret dbsecret' expecting success Running test/cmd/newapp.sh:443: executing 'oc delete template ruby-helloworld-sample' expecting success... SUCCESS after 0.312s: test/cmd/newapp.sh:443: executing 'oc delete template ruby-helloworld-sample' expecting success Running test/cmd/newapp.sh:445: executing 'oc new-app mysql --name=db' expecting success and text 'db'... SUCCESS after 0.596s: test/cmd/newapp.sh:445: executing 'oc new-app mysql --name=db' expecting success and text 'db' Running test/cmd/newapp.sh:446: executing 'oc new-app https://github.com/openshift/ruby-hello-world -l app=ruby' expecting success... SUCCESS after 1.470s: test/cmd/newapp.sh:446: executing 'oc new-app https://github.com/openshift/ruby-hello-world -l app=ruby' expecting success Running test/cmd/newapp.sh:447: executing 'oc delete all -l app=ruby' expecting success... SUCCESS after 2.933s: test/cmd/newapp.sh:447: executing 'oc delete all -l app=ruby' expecting success Running test/cmd/newapp.sh:450: executing 'oc new-app '/go/src/github.com/openshift/origin/test/testdata/invalid.json'' expecting failure and text 'error: unable to load template file "/go/src/github.com/openshift/origin/test/testdata/invalid.json": json: line 0: invalid character '}' after object key'... SUCCESS after 0.392s: test/cmd/newapp.sh:450: executing 'oc new-app '/go/src/github.com/openshift/origin/test/testdata/invalid.json'' expecting failure and text 'error: unable to load template file "/go/src/github.com/openshift/origin/test/testdata/invalid.json": json: line 0: invalid character '}' after object key' Running test/cmd/newapp.sh:453: executing 'oc new-build mysql -o yaml' expecting failure and text 'you must specify at least one source repository URL'... SUCCESS after 0.607s: test/cmd/newapp.sh:453: executing 'oc new-build mysql -o yaml' expecting failure and text 'you must specify at least one source repository URL' Running test/cmd/newapp.sh:454: executing 'oc new-build mysql --binary -o yaml --to mysql:bin' expecting success and text 'type: Binary'... SUCCESS after 0.586s: test/cmd/newapp.sh:454: executing 'oc new-build mysql --binary -o yaml --to mysql:bin' expecting success and text 'type: Binary' Running test/cmd/newapp.sh:455: executing 'oc new-build mysql https://github.com/openshift/ruby-hello-world --strategy=docker -o yaml' expecting success and text 'type: Docker'... SUCCESS after 1.499s: test/cmd/newapp.sh:455: executing 'oc new-build mysql https://github.com/openshift/ruby-hello-world --strategy=docker -o yaml' expecting success and text 'type: Docker' Running test/cmd/newapp.sh:456: executing 'oc new-build mysql https://github.com/openshift/ruby-hello-world --binary' expecting failure and text 'specifying binary builds and source repositories at the same time is not allowed'... SUCCESS after 1.184s: test/cmd/newapp.sh:456: executing 'oc new-build mysql https://github.com/openshift/ruby-hello-world --binary' expecting failure and text 'specifying binary builds and source repositories at the same time is not allowed' Running test/cmd/newapp.sh:458: executing 'oc new-build --name mybuild --binary --strategy=source -o yaml' expecting failure and text 'you must provide a builder image when using the source strategy with a binary build'... SUCCESS after 0.344s: test/cmd/newapp.sh:458: executing 'oc new-build --name mybuild --binary --strategy=source -o yaml' expecting failure and text 'you must provide a builder image when using the source strategy with a binary build' Running test/cmd/newapp.sh:459: executing 'oc new-build --name mybuild centos/ruby-22-centos7 --binary --strategy=source -o yaml' expecting success and text 'name: ruby-22-centos7:latest'... SUCCESS after 0.725s: test/cmd/newapp.sh:459: executing 'oc new-build --name mybuild centos/ruby-22-centos7 --binary --strategy=source -o yaml' expecting success and text 'name: ruby-22-centos7:latest' Running test/cmd/newapp.sh:461: executing 'oc new-build --name mybuild --binary -o yaml' expecting success and text 'type: Binary'... SUCCESS after 0.313s: test/cmd/newapp.sh:461: executing 'oc new-build --name mybuild --binary -o yaml' expecting success and text 'type: Binary' Running test/cmd/newapp.sh:462: executing 'oc new-build --name mybuild --binary --strategy=docker -o yaml' expecting success and text 'type: Binary'... SUCCESS after 0.557s: test/cmd/newapp.sh:462: executing 'oc new-build --name mybuild --binary --strategy=docker -o yaml' expecting success and text 'type: Binary' Running test/cmd/newapp.sh:465: executing 'oc new-build mysql --source-image centos' expecting failure and text 'error: --source-image-path must be specified when --source-image is specified.'... SUCCESS after 0.354s: test/cmd/newapp.sh:465: executing 'oc new-build mysql --source-image centos' expecting failure and text 'error: --source-image-path must be specified when --source-image is specified.' Running test/cmd/newapp.sh:466: executing 'oc new-build mysql --source-image-path foo' expecting failure and text 'error: --source-image must be specified when --source-image-path is specified.'... SUCCESS after 0.356s: test/cmd/newapp.sh:466: executing 'oc new-build mysql --source-image-path foo' expecting failure and text 'error: --source-image must be specified when --source-image-path is specified.' Running test/cmd/newapp.sh:469: executing 'oc create -f test/testdata/circular-is.yaml' expecting success... SUCCESS after 0.305s: test/cmd/newapp.sh:469: executing 'oc create -f test/testdata/circular-is.yaml' expecting success Running test/cmd/newapp.sh:470: executing 'oc new-app -f test/testdata/circular.yaml' expecting success and text 'should be different than input'... SUCCESS after 0.420s: test/cmd/newapp.sh:470: executing 'oc new-app -f test/testdata/circular.yaml' expecting success and text 'should be different than input' Running test/cmd/newapp.sh:472: executing 'oc new-app -f test/testdata/bc-from-imagestreamimage.json --dry-run' expecting success and not text 'Unable to follow reference type'... SUCCESS after 0.397s: test/cmd/newapp.sh:472: executing 'oc new-app -f test/testdata/bc-from-imagestreamimage.json --dry-run' expecting success and not text 'Unable to follow reference type' Running test/cmd/newapp.sh:475: executing 'oc new-app openshift/bogusimage https://github.com/openshift/ruby-hello-world.git -o yaml' expecting failure and text 'unable to locate any'... SUCCESS after 1.365s: test/cmd/newapp.sh:475: executing 'oc new-app openshift/bogusimage https://github.com/openshift/ruby-hello-world.git -o yaml' expecting failure and text 'unable to locate any' Running test/cmd/newapp.sh:477: executing 'oc new-app openshift/bogusimage https://github.com/openshift/ruby-hello-world.git -o yaml --allow-missing-images' expecting success... SUCCESS after 1.316s: test/cmd/newapp.sh:477: executing 'oc new-app openshift/bogusimage https://github.com/openshift/ruby-hello-world.git -o yaml --allow-missing-images' expecting success Running test/cmd/newapp.sh:479: executing 'oc create -f test/testdata/installable-stream.yaml' expecting success... SUCCESS after 0.411s: test/cmd/newapp.sh:479: executing 'oc create -f test/testdata/installable-stream.yaml' expecting success Running test/cmd/newapp.sh:482: executing 'oc policy add-role-to-user edit test-user' expecting success... SUCCESS after 0.220s: test/cmd/newapp.sh:482: executing 'oc policy add-role-to-user edit test-user' expecting success Running test/cmd/newapp.sh:483: executing 'oc login -u test-user -p anything' expecting success... SUCCESS after 0.803s: test/cmd/newapp.sh:483: executing 'oc login -u test-user -p anything' expecting success Running test/cmd/newapp.sh:484: executing 'oc project ${project}' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.351s: test/cmd/newapp.sh:484: executing 'oc project ${project}' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:486: executing 'oc get imagestreamtags installable:file' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.552s: test/cmd/newapp.sh:486: executing 'oc get imagestreamtags installable:file' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:487: executing 'oc get imagestreamtags installable:token' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.676s: test/cmd/newapp.sh:487: executing 'oc get imagestreamtags installable:token' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:488: executing 'oc get imagestreamtags installable:serviceaccount' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.590s: test/cmd/newapp.sh:488: executing 'oc get imagestreamtags installable:serviceaccount' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:489: executing 'oc new-app installable:file' expecting failure... SUCCESS after 0.693s: test/cmd/newapp.sh:489: executing 'oc new-app installable:file' expecting failure Running test/cmd/newapp.sh:490: executing 'oc new-app installable:file' expecting failure and text 'requires that you grant the image access'... SUCCESS after 0.377s: test/cmd/newapp.sh:490: executing 'oc new-app installable:file' expecting failure and text 'requires that you grant the image access' Running test/cmd/newapp.sh:491: executing 'oc new-app installable:serviceaccount' expecting failure and text 'requires an 'installer' service account with project editor access'... SUCCESS after 0.417s: test/cmd/newapp.sh:491: executing 'oc new-app installable:serviceaccount' expecting failure and text 'requires an 'installer' service account with project editor access' Running test/cmd/newapp.sh:492: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text '/var/run/openshift.secret.token'... SUCCESS after 0.455s: test/cmd/newapp.sh:492: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text '/var/run/openshift.secret.token' Running test/cmd/newapp.sh:493: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'activeDeadlineSeconds: 14400'... SUCCESS after 0.503s: test/cmd/newapp.sh:493: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'activeDeadlineSeconds: 14400' Running test/cmd/newapp.sh:494: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'openshift.io/generated-job: "true"'... SUCCESS after 0.294s: test/cmd/newapp.sh:494: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'openshift.io/generated-job: "true"' Running test/cmd/newapp.sh:495: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'openshift.io/generated-job.for: installable:file'... SUCCESS after 0.332s: test/cmd/newapp.sh:495: executing 'oc new-app installable:file --grant-install-rights -o yaml' expecting success and text 'openshift.io/generated-job.for: installable:file' Running test/cmd/newapp.sh:496: executing 'oc new-app installable:token --grant-install-rights -o yaml' expecting success and text 'name: TOKEN_ENV'... SUCCESS after 0.635s: test/cmd/newapp.sh:496: executing 'oc new-app installable:token --grant-install-rights -o yaml' expecting success and text 'name: TOKEN_ENV' Running test/cmd/newapp.sh:497: executing 'oc new-app installable:token --grant-install-rights -o yaml' expecting success and text 'openshift/origin@sha256:'... SUCCESS after 0.397s: test/cmd/newapp.sh:497: executing 'oc new-app installable:token --grant-install-rights -o yaml' expecting success and text 'openshift/origin@sha256:' Running test/cmd/newapp.sh:498: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml' expecting success and text 'serviceAccountName: installer'... SUCCESS after 0.522s: test/cmd/newapp.sh:498: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml' expecting success and text 'serviceAccountName: installer' Running test/cmd/newapp.sh:499: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml' expecting success and text 'fieldPath: metadata.namespace'... SUCCESS after 0.446s: test/cmd/newapp.sh:499: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml' expecting success and text 'fieldPath: metadata.namespace' Running test/cmd/newapp.sh:500: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml A=B' expecting success and text 'name: A'... SUCCESS after 0.533s: test/cmd/newapp.sh:500: executing 'oc new-app installable:serviceaccount --grant-install-rights -o yaml A=B' expecting success and text 'name: A' Running test/cmd/newapp.sh:503: executing 'oc new-app mongo -o json | python -m json.tool' expecting success... SUCCESS after 0.468s: test/cmd/newapp.sh:503: executing 'oc new-app mongo -o json | python -m json.tool' expecting success Running test/cmd/newapp.sh:506: executing 'oc new-app https://github.com/openshift/ruby-hello-world#beta4' expecting success... SUCCESS after 1.801s: test/cmd/newapp.sh:506: executing 'oc new-app https://github.com/openshift/ruby-hello-world#beta4' expecting success Running test/cmd/newapp.sh:509: executing 'oc new-app https://github.com/openshift/ruby-hello-world --output-version=v1 -o=jsonpath="{.items[?(@.kind==\"BuildConfig\")].spec.source}"' expecting success and not text 'dockerfile|binary'... SUCCESS after 1.594s: test/cmd/newapp.sh:509: executing 'oc new-app https://github.com/openshift/ruby-hello-world --output-version=v1 -o=jsonpath="{.items[?(@.kind==\"BuildConfig\")].spec.source}"' expecting success and not text 'dockerfile|binary' Running test/cmd/newapp.sh:512: executing 'oc new-app https://raw.githubusercontent.com/openshift/origin/release-3.9/examples/wordpress/template/wordpress-mysql.json --dry-run' expecting success... SUCCESS after 1.474s: test/cmd/newapp.sh:512: executing 'oc new-app https://raw.githubusercontent.com/openshift/origin/release-3.9/examples/wordpress/template/wordpress-mysql.json --dry-run' expecting success Running test/cmd/newapp.sh:515: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy source --dry-run -o yaml' expecting success and text 'sourceStrategy'... SUCCESS after 1.168s: test/cmd/newapp.sh:515: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy source --dry-run -o yaml' expecting success and text 'sourceStrategy' Running test/cmd/newapp.sh:516: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy pipeline --dry-run -o yaml' expecting success and text 'jenkinsPipelineStrategy'... SUCCESS after 1.084s: test/cmd/newapp.sh:516: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy pipeline --dry-run -o yaml' expecting success and text 'jenkinsPipelineStrategy' Running test/cmd/newapp.sh:517: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy docker --dry-run -o yaml' expecting success and text 'dockerStrategy'... SUCCESS after 1.099s: test/cmd/newapp.sh:517: executing 'oc new-build --name sourcetest python~https://github.com/sclorg/django-ex --source-image centos:latest --source-image-path /tmp --strategy docker --dry-run -o yaml' expecting success and text 'dockerStrategy' Running test/cmd/newapp.sh:519: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.777s: test/cmd/newapp.sh:519: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/newapp.sh:520: executing 'oc get imagestreamtags nodejs:latest' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.420s: test/cmd/newapp.sh:520: executing 'oc get imagestreamtags nodejs:latest' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/newapp.sh:522: executing 'oc new-build --name sourcetest --source-image centos:latest --source-image-path /tmp --image-stream nodejs --dry-run -o yaml' expecting success and text 'sourceStrategy'... SUCCESS after 1.259s: test/cmd/newapp.sh:522: executing 'oc new-build --name sourcetest --source-image centos:latest --source-image-path /tmp --image-stream nodejs --dry-run -o yaml' expecting success and text 'sourceStrategy' Running test/cmd/newapp.sh:524: executing 'oc new-build --name sourcetest --source-image centos:latest --source-image-path /tmp --image-stream nodejs --binary --dry-run -o yaml' expecting failure and text 'specifying binary builds and source repositories at the same time is not allowed'... SUCCESS after 0.319s: test/cmd/newapp.sh:524: executing 'oc new-build --name sourcetest --source-image centos:latest --source-image-path /tmp --image-stream nodejs --binary --dry-run -o yaml' expecting failure and text 'specifying binary builds and source repositories at the same time is not allowed' Running test/cmd/newapp.sh:525: executing 'oc delete imagestreams --all --ignore-not-found' expecting success... SUCCESS after 1.011s: test/cmd/newapp.sh:525: executing 'oc delete imagestreams --all --ignore-not-found' expecting success Running test/cmd/newapp.sh:528: executing 'oc new-project new-app-syntax' expecting success... SUCCESS after 0.319s: test/cmd/newapp.sh:528: executing 'oc new-project new-app-syntax' expecting success Running test/cmd/newapp.sh:529: executing 'oc import-image openshift/ruby-20-centos7:latest --confirm' expecting success... SUCCESS after 0.429s: test/cmd/newapp.sh:529: executing 'oc import-image openshift/ruby-20-centos7:latest --confirm' expecting success Running test/cmd/newapp.sh:530: executing 'oc import-image openshift/php-55-centos7:latest --confirm' expecting success... SUCCESS after 0.544s: test/cmd/newapp.sh:530: executing 'oc import-image openshift/php-55-centos7:latest --confirm' expecting success Cloning into './test/testdata/testapp'... Running test/cmd/newapp.sh:533: executing 'oc new-app ruby-20-centos7:latest~https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success... SUCCESS after 0.365s: test/cmd/newapp.sh:533: executing 'oc new-app ruby-20-centos7:latest~https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success Running test/cmd/newapp.sh:534: executing 'oc new-app ruby-20-centos7:latest~./test/testdata/testapp --dry-run' expecting success... SUCCESS after 0.843s: test/cmd/newapp.sh:534: executing 'oc new-app ruby-20-centos7:latest~./test/testdata/testapp --dry-run' expecting success Running test/cmd/newapp.sh:535: executing 'oc new-app -i ruby-20-centos7:latest https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success... SUCCESS after 1.160s: test/cmd/newapp.sh:535: executing 'oc new-app -i ruby-20-centos7:latest https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success Running test/cmd/newapp.sh:536: executing 'oc new-app -i ruby-20-centos7:latest ./test/testdata/testapp --dry-run' expecting success... SUCCESS after 0.756s: test/cmd/newapp.sh:536: executing 'oc new-app -i ruby-20-centos7:latest ./test/testdata/testapp --dry-run' expecting success Running test/cmd/newapp.sh:537: executing 'oc new-app ruby-20-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success... SUCCESS after 1.296s: test/cmd/newapp.sh:537: executing 'oc new-app ruby-20-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success Running test/cmd/newapp.sh:538: executing 'oc new-app ruby-20-centos7:latest --code ./test/testdata/testapp --dry-run' expecting success... SUCCESS after 0.539s: test/cmd/newapp.sh:538: executing 'oc new-app ruby-20-centos7:latest --code ./test/testdata/testapp --dry-run' expecting success Running test/cmd/newapp.sh:539: executing 'oc new-app -i ruby-20-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success... SUCCESS after 1.238s: test/cmd/newapp.sh:539: executing 'oc new-app -i ruby-20-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --dry-run' expecting success Running test/cmd/newapp.sh:540: executing 'oc new-app -i ruby-20-centos7:latest --code ./test/testdata/testapp --dry-run' expecting success... SUCCESS after 0.511s: test/cmd/newapp.sh:540: executing 'oc new-app -i ruby-20-centos7:latest --code ./test/testdata/testapp --dry-run' expecting success Running test/cmd/newapp.sh:542: executing 'oc new-app --code ./test/testdata/testapp --name test' expecting success... SUCCESS after 1.017s: test/cmd/newapp.sh:542: executing 'oc new-app --code ./test/testdata/testapp --name test' expecting success Running test/cmd/newapp.sh:543: executing 'oc get bc test --template={{.spec.strategy.dockerStrategy.from.name}}' expecting success and text 'ruby-22-centos7:latest'... SUCCESS after 0.247s: test/cmd/newapp.sh:543: executing 'oc get bc test --template={{.spec.strategy.dockerStrategy.from.name}}' expecting success and text 'ruby-22-centos7:latest' Running test/cmd/newapp.sh:545: executing 'oc new-app -i php-55-centos7:latest --code ./test/testdata/testapp --name test2' expecting success... SUCCESS after 0.627s: test/cmd/newapp.sh:545: executing 'oc new-app -i php-55-centos7:latest --code ./test/testdata/testapp --name test2' expecting success Running test/cmd/newapp.sh:546: executing 'oc get bc test2 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.666s: test/cmd/newapp.sh:546: executing 'oc get bc test2 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:548: executing 'oc new-app -i php-55-centos7:latest~https://github.com/openshift/ruby-hello-world.git --name test3' expecting success... SUCCESS after 0.478s: test/cmd/newapp.sh:548: executing 'oc new-app -i php-55-centos7:latest~https://github.com/openshift/ruby-hello-world.git --name test3' expecting success Running test/cmd/newapp.sh:549: executing 'oc get bc test3 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.464s: test/cmd/newapp.sh:549: executing 'oc get bc test3 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:551: executing 'oc new-app php-55-centos7:latest~https://github.com/openshift/ruby-hello-world.git --name test4' expecting success... SUCCESS after 0.540s: test/cmd/newapp.sh:551: executing 'oc new-app php-55-centos7:latest~https://github.com/openshift/ruby-hello-world.git --name test4' expecting success Running test/cmd/newapp.sh:552: executing 'oc get bc test4 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.332s: test/cmd/newapp.sh:552: executing 'oc get bc test4 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:554: executing 'oc new-app -i php-55-centos7:latest https://github.com/openshift/ruby-hello-world.git --name test5' expecting success... SUCCESS after 1.657s: test/cmd/newapp.sh:554: executing 'oc new-app -i php-55-centos7:latest https://github.com/openshift/ruby-hello-world.git --name test5' expecting success Running test/cmd/newapp.sh:555: executing 'oc get bc test5 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.370s: test/cmd/newapp.sh:555: executing 'oc get bc test5 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:557: executing 'oc new-app php-55-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --name test6' expecting success... SUCCESS after 1.285s: test/cmd/newapp.sh:557: executing 'oc new-app php-55-centos7:latest --code https://github.com/openshift/ruby-hello-world.git --name test6' expecting success Running test/cmd/newapp.sh:558: executing 'oc get bc test6 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.251s: test/cmd/newapp.sh:558: executing 'oc get bc test6 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:560: executing 'oc new-app https://github.com/openshift/ruby-hello-world.git --name test7' expecting success... SUCCESS after 1.536s: test/cmd/newapp.sh:560: executing 'oc new-app https://github.com/openshift/ruby-hello-world.git --name test7' expecting success Running test/cmd/newapp.sh:561: executing 'oc get bc test7 --template={{.spec.strategy.dockerStrategy.from.name}}' expecting success and text 'ruby-22-centos7:latest'... SUCCESS after 0.338s: test/cmd/newapp.sh:561: executing 'oc get bc test7 --template={{.spec.strategy.dockerStrategy.from.name}}' expecting success and text 'ruby-22-centos7:latest' Running test/cmd/newapp.sh:563: executing 'oc new-app php-55-centos7:latest https://github.com/openshift/ruby-hello-world.git --name test8' expecting success... SUCCESS after 1.499s: test/cmd/newapp.sh:563: executing 'oc new-app php-55-centos7:latest https://github.com/openshift/ruby-hello-world.git --name test8' expecting success Running test/cmd/newapp.sh:564: executing 'oc get bc test8 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest'... SUCCESS after 0.651s: test/cmd/newapp.sh:564: executing 'oc get bc test8 --template={{.spec.strategy.sourceStrategy.from.name}}' expecting success and text 'php-55-centos7:latest' Running test/cmd/newapp.sh:565: executing 'oc delete project new-app-syntax' expecting success... SUCCESS after 0.326s: test/cmd/newapp.sh:565: executing 'oc delete project new-app-syntax' expecting success new-app: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.328s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-newapp'' expecting success... SUCCESS after 0.514s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-newapp'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/observe.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.519s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.234s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-observe'' expecting success... SUCCESS after 0.599s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-observe'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-observe'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.472s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-observe'; re-trying every 0.2s until completion or 60.000s Running test/cmd/observe.sh:14: executing 'oc observe' expecting failure and text 'you must specify at least one argument containing the resource to observe'... SUCCESS after 0.291s: test/cmd/observe.sh:14: executing 'oc observe' expecting failure and text 'you must specify at least one argument containing the resource to observe' Running test/cmd/observe.sh:15: executing 'oc observe serviceaccounts --once' expecting success and text 'Sync ended'... SUCCESS after 0.501s: test/cmd/observe.sh:15: executing 'oc observe serviceaccounts --once' expecting success and text 'Sync ended' Running test/cmd/observe.sh:16: executing 'oc observe daemonsets --once' expecting success and text 'Nothing to sync, exiting immediately'... SUCCESS after 0.484s: test/cmd/observe.sh:16: executing 'oc observe daemonsets --once' expecting success and text 'Nothing to sync, exiting immediately' Running test/cmd/observe.sh:17: executing 'oc observe services --once --all-namespaces' expecting success and text 'default kubernetes'... SUCCESS after 0.502s: test/cmd/observe.sh:17: executing 'oc observe services --once --all-namespaces' expecting success and text 'default kubernetes' Running test/cmd/observe.sh:18: executing 'oc observe services --once --all-namespaces --print-metrics-on-exit' expecting success and text 'observe_counts{type="Sync"}'... SUCCESS after 0.517s: test/cmd/observe.sh:18: executing 'oc observe services --once --all-namespaces --print-metrics-on-exit' expecting success and text 'observe_counts{type="Sync"}' Running test/cmd/observe.sh:19: executing 'oc observe services --once --names echo' expecting failure and text '\-\-delete and \-\-names must both be specified'... SUCCESS after 0.671s: test/cmd/observe.sh:19: executing 'oc observe services --once --names echo' expecting failure and text '\-\-delete and \-\-names must both be specified' Running test/cmd/observe.sh:20: executing 'oc observe services --exit-after=1s' expecting success and text 'Shutting down after 1s ...'... SUCCESS after 1.329s: test/cmd/observe.sh:20: executing 'oc observe services --exit-after=1s' expecting success and text 'Shutting down after 1s ...' Running test/cmd/observe.sh:21: executing 'oc observe services --exit-after=1s --all-namespaces --print-metrics-on-exit' expecting success and text 'observe_counts{type="Sync"}'... SUCCESS after 1.338s: test/cmd/observe.sh:21: executing 'oc observe services --exit-after=1s --all-namespaces --print-metrics-on-exit' expecting success and text 'observe_counts{type="Sync"}' Running test/cmd/observe.sh:22: executing 'oc observe services --once --all-namespaces' expecting success and text 'default kubernetes'... SUCCESS after 0.363s: test/cmd/observe.sh:22: executing 'oc observe services --once --all-namespaces' expecting success and text 'default kubernetes' Running test/cmd/observe.sh:24: executing 'oc observe services --exit-after=3s --all-namespaces --names echo --names default/notfound --delete echo --delete remove' expecting success and text 'remove default notfound'... SUCCESS after 3.259s: test/cmd/observe.sh:24: executing 'oc observe services --exit-after=3s --all-namespaces --names echo --names default/notfound --delete echo --delete remove' expecting success and text 'remove default notfound' Running test/cmd/observe.sh:27: executing 'oc observe services --exit-after=1m --all-namespaces --maximum-errors=1 -- /bin/sh -c "exit 1"' expecting failure and text 'reached maximum error limit of 1, exiting'... SUCCESS after 0.286s: test/cmd/observe.sh:27: executing 'oc observe services --exit-after=1m --all-namespaces --maximum-errors=1 -- /bin/sh -c "exit 1"' expecting failure and text 'reached maximum error limit of 1, exiting' Running test/cmd/observe.sh:28: executing 'oc observe services --exit-after=1m --all-namespaces --retry-on-exit-code=2 --maximum-errors=1 --loglevel=4 -- /bin/sh -c "exit 2"' expecting failure and text 'retrying command: exit status 2'... SUCCESS after 0.696s: test/cmd/observe.sh:28: executing 'oc observe services --exit-after=1m --all-namespaces --retry-on-exit-code=2 --maximum-errors=1 --loglevel=4 -- /bin/sh -c "exit 2"' expecting failure and text 'retrying command: exit status 2' Running test/cmd/observe.sh:31: executing 'oc observe services --once --all-namespaces -a "{ .spec.clusterIP }"' expecting success and text '172.30.0.1'... SUCCESS after 0.287s: test/cmd/observe.sh:31: executing 'oc observe services --once --all-namespaces -a "{ .spec.clusterIP }"' expecting success and text '172.30.0.1' Running test/cmd/observe.sh:32: executing 'oc observe services --once --all-namespaces -a "{{ .spec.clusterIP }}" --output=gotemplate' expecting success and text '172.30.0.1'... SUCCESS after 0.334s: test/cmd/observe.sh:32: executing 'oc observe services --once --all-namespaces -a "{{ .spec.clusterIP }}" --output=gotemplate' expecting success and text '172.30.0.1' Running test/cmd/observe.sh:33: executing 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key"' expecting success and text 'badkey'... SUCCESS after 0.302s: test/cmd/observe.sh:33: executing 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key"' expecting success and text 'badkey' Running test/cmd/observe.sh:34: executing 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key" --strict-templates' expecting failure and text 'missingkey is not found'... SUCCESS after 0.716s: test/cmd/observe.sh:34: executing 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key" --strict-templates' expecting failure and text 'missingkey is not found' Running test/cmd/observe.sh:35: executing 'oc observe services --once --all-namespaces -a "{{ .unknown }}" --output=gotemplate' expecting success and text '""'... SUCCESS after 0.306s: test/cmd/observe.sh:35: executing 'oc observe services --once --all-namespaces -a "{{ .unknown }}" --output=gotemplate' expecting success and text '""' Running test/cmd/observe.sh:36: executing 'oc observe services --once --all-namespaces -a "bad{{ or (.unknown) \"\" }}key" --output=gotemplate' expecting success and text 'badkey'... SUCCESS after 0.739s: test/cmd/observe.sh:36: executing 'oc observe services --once --all-namespaces -a "bad{{ or (.unknown) \"\" }}key" --output=gotemplate' expecting success and text 'badkey' Running test/cmd/observe.sh:37: executing 'oc observe services --once --all-namespaces -a "bad{{ .unknown }}key" --output=gotemplate --strict-templates' expecting success and text '\<no value\>'... SUCCESS after 0.490s: test/cmd/observe.sh:37: executing 'oc observe services --once --all-namespaces -a "bad{{ .unknown }}key" --output=gotemplate --strict-templates' expecting success and text '\<no value\>' Running test/cmd/observe.sh:40: executing 'MYENV=should_be_passed oc observe services --once --all-namespaces --type-env-var=EVENT -- /bin/sh -c "echo \$EVENT \$MYENV"' expecting success and text 'Sync should_be_passed'... SUCCESS after 0.411s: test/cmd/observe.sh:40: executing 'MYENV=should_be_passed oc observe services --once --all-namespaces --type-env-var=EVENT -- /bin/sh -c "echo \$EVENT \$MYENV"' expecting success and text 'Sync should_be_passed' observe: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.218s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-observe'' expecting success... SUCCESS after 0.377s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-observe'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/plugins.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.501s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.410s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-plugins'' expecting success... SUCCESS after 0.703s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-plugins'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-plugins'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.419s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-plugins'; re-trying every 0.2s until completion or 60.000s Running test/cmd/plugins.sh:8: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc -h 2>&1' expecting success and text 'Runs a command-line plugin'... SUCCESS after 0.231s: test/cmd/plugins.sh:8: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc -h 2>&1' expecting success and text 'Runs a command-line plugin' Running test/cmd/plugins.sh:11: executing 'oc plugin 2>&1' expecting failure and text 'no plugins installed'... SUCCESS after 0.272s: test/cmd/plugins.sh:11: executing 'oc plugin 2>&1' expecting failure and text 'no plugins installed' Running test/cmd/plugins.sh:14: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'Echoes for test\-cmd'... SUCCESS after 0.469s: test/cmd/plugins.sh:14: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'Echoes for test\-cmd' Running test/cmd/plugins.sh:15: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'The wonderful new plugin-based get!'... SUCCESS after 0.285s: test/cmd/plugins.sh:15: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'The wonderful new plugin-based get!' Running test/cmd/plugins.sh:16: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'The tremendous plugin that always fails!'... SUCCESS after 0.356s: test/cmd/plugins.sh:16: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and text 'The tremendous plugin that always fails!' Running test/cmd/plugins.sh:17: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'The hello plugin'... SUCCESS after 0.473s: test/cmd/plugins.sh:17: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'The hello plugin' Running test/cmd/plugins.sh:18: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'Incomplete plugin'... SUCCESS after 0.346s: test/cmd/plugins.sh:18: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'Incomplete plugin' Running test/cmd/plugins.sh:19: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'no plugins installed'... SUCCESS after 0.303s: test/cmd/plugins.sh:19: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin 2>&1' expecting failure and not text 'no plugins installed' Running test/cmd/plugins.sh:22: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'Echoes for test-cmd'... SUCCESS after 0.335s: test/cmd/plugins.sh:22: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'Echoes for test-cmd' Running test/cmd/plugins.sh:23: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The wonderful new plugin-based get!'... SUCCESS after 0.416s: test/cmd/plugins.sh:23: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The wonderful new plugin-based get!' Running test/cmd/plugins.sh:24: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The tremendous plugin that always fails!'... SUCCESS after 0.294s: test/cmd/plugins.sh:24: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The tremendous plugin that always fails!' Running test/cmd/plugins.sh:25: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The hello plugin'... SUCCESS after 0.297s: test/cmd/plugins.sh:25: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and text 'The hello plugin' Running test/cmd/plugins.sh:26: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and not text 'Incomplete plugin'... SUCCESS after 0.507s: test/cmd/plugins.sh:26: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin -h 2>&1' expecting success and not text 'Incomplete plugin' Running test/cmd/plugins.sh:29: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc get -h 2>&1' expecting success and text 'Display one or many resources'... SUCCESS after 0.272s: test/cmd/plugins.sh:29: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc get -h 2>&1' expecting success and text 'Display one or many resources' Running test/cmd/plugins.sh:30: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc get -h 2>&1' expecting success and not text 'The wonderful new plugin-based get'... SUCCESS after 0.287s: test/cmd/plugins.sh:30: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc get -h 2>&1' expecting success and not text 'The wonderful new plugin-based get' Running test/cmd/plugins.sh:33: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello -h 2>&1' expecting success and text 'The hello plugin is a new plugin used by test-cmd to test multiple plugin locations.'... SUCCESS after 0.429s: test/cmd/plugins.sh:33: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello -h 2>&1' expecting success and text 'The hello plugin is a new plugin used by test-cmd to test multiple plugin locations.' Running test/cmd/plugins.sh:34: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello -h 2>&1' expecting success and text 'Usage:'... SUCCESS after 0.241s: test/cmd/plugins.sh:34: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello -h 2>&1' expecting success and text 'Usage:' Running test/cmd/plugins.sh:37: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello 2>&1' expecting success and text '#hello#'... SUCCESS after 0.421s: test/cmd/plugins.sh:37: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin hello 2>&1' expecting success and text '#hello#' Running test/cmd/plugins.sh:38: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin echo 2>&1' expecting success and text 'This plugin works!'... SUCCESS after 0.338s: test/cmd/plugins.sh:38: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins/:test/testdata/plugin/plugins2/ oc plugin echo 2>&1' expecting success and text 'This plugin works!' Running test/cmd/plugins.sh:39: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin hello 2>&1' expecting failure and text 'unknown command'... SUCCESS after 0.316s: test/cmd/plugins.sh:39: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin hello 2>&1' expecting failure and text 'unknown command' Running test/cmd/plugins.sh:40: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin error 2>&1' expecting failure and text 'error: exit status 1'... SUCCESS after 0.485s: test/cmd/plugins.sh:40: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin error 2>&1' expecting failure and text 'error: exit status 1' Running test/cmd/plugins.sh:43: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'Plugin with a tree of commands'... SUCCESS after 0.284s: test/cmd/plugins.sh:43: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'Plugin with a tree of commands' Running test/cmd/plugins.sh:44: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The first child of a tree'... SUCCESS after 0.407s: test/cmd/plugins.sh:44: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The first child of a tree' Running test/cmd/plugins.sh:45: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The second child of a tree'... SUCCESS after 0.337s: test/cmd/plugins.sh:45: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The second child of a tree' Running test/cmd/plugins.sh:46: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The third child of a tree'... SUCCESS after 0.367s: test/cmd/plugins.sh:46: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree 2>&1' expecting failure and text 'The third child of a tree' Running test/cmd/plugins.sh:47: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and text 'The first child of a tree'... SUCCESS after 0.267s: test/cmd/plugins.sh:47: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and text 'The first child of a tree' Running test/cmd/plugins.sh:48: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and not text 'The second child'... SUCCESS after 0.244s: test/cmd/plugins.sh:48: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and not text 'The second child' Running test/cmd/plugins.sh:49: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and not text 'child2'... SUCCESS after 0.243s: test/cmd/plugins.sh:49: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 --help 2>&1' expecting success and not text 'child2' Running test/cmd/plugins.sh:50: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and text 'child one'... SUCCESS after 0.526s: test/cmd/plugins.sh:50: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and text 'child one' Running test/cmd/plugins.sh:51: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and not text 'child1'... SUCCESS after 0.279s: test/cmd/plugins.sh:51: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and not text 'child1' Running test/cmd/plugins.sh:52: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and not text 'The first child'... SUCCESS after 0.474s: test/cmd/plugins.sh:52: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin tree child1 2>&1' expecting success and not text 'The first child' Running test/cmd/plugins.sh:55: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 1'... SUCCESS after 0.318s: test/cmd/plugins.sh:55: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 1' Running test/cmd/plugins.sh:56: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 2'... SUCCESS after 0.392s: test/cmd/plugins.sh:56: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 2' Running test/cmd/plugins.sh:57: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 3'... SUCCESS after 0.270s: test/cmd/plugins.sh:57: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env -h 2>&1' expecting success and text 'This is a flag 3' Running test/cmd/plugins.sh:59: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_CURRENT_NAMESPACE'... SUCCESS after 0.234s: test/cmd/plugins.sh:59: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_CURRENT_NAMESPACE' Running test/cmd/plugins.sh:60: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_CALLER'... SUCCESS after 0.311s: test/cmd/plugins.sh:60: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_CALLER' Running test/cmd/plugins.sh:61: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_DESCRIPTOR_COMMAND=./env.sh'... SUCCESS after 0.351s: test/cmd/plugins.sh:61: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_DESCRIPTOR_COMMAND=./env.sh' Running test/cmd/plugins.sh:62: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_DESCRIPTOR_SHORT_DESC=The plugin envs plugin'... SUCCESS after 0.302s: test/cmd/plugins.sh:62: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_DESCRIPTOR_SHORT_DESC=The plugin envs plugin' Running test/cmd/plugins.sh:63: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_GLOBAL_FLAG_CONFIG'... SUCCESS after 0.424s: test/cmd/plugins.sh:63: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_GLOBAL_FLAG_CONFIG' Running test/cmd/plugins.sh:64: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_GLOBAL_FLAG_REQUEST_TIMEOUT=0'... SUCCESS after 0.494s: test/cmd/plugins.sh:64: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_GLOBAL_FLAG_REQUEST_TIMEOUT=0' Running test/cmd/plugins.sh:65: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST1=value1'... SUCCESS after 0.457s: test/cmd/plugins.sh:65: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST1=value1' Running test/cmd/plugins.sh:66: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST2=value2'... SUCCESS after 0.263s: test/cmd/plugins.sh:66: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST2=value2' Running test/cmd/plugins.sh:67: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST3=default'... SUCCESS after 0.262s: test/cmd/plugins.sh:67: executing 'KUBECTL_PLUGINS_PATH=test/testdata/plugin/plugins oc plugin env --test1=value1 -t value2 2>&1' expecting success and text 'KUBECTL_PLUGINS_LOCAL_FLAG_TEST3=default' oc plugin: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.300s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-plugins'' expecting success... SUCCESS after 0.394s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-plugins'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/policy-storage-admin.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.547s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.424s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-policy-storage-admin'' expecting success... SUCCESS after 0.568s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-policy-storage-admin'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-policy-storage-admin'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.292s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-policy-storage-admin'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy-storage-admin.sh:10: executing 'oc adm policy add-cluster-role-to-user storage-admin storage-adm' expecting success... SUCCESS after 0.275s: test/cmd/policy-storage-admin.sh:10: executing 'oc adm policy add-cluster-role-to-user storage-admin storage-adm' expecting success Running test/cmd/policy-storage-admin.sh:11: executing 'oc adm policy add-cluster-role-to-user storage-admin storage-adm2' expecting success... SUCCESS after 0.493s: test/cmd/policy-storage-admin.sh:11: executing 'oc adm policy add-cluster-role-to-user storage-admin storage-adm2' expecting success Running test/cmd/policy-storage-admin.sh:12: executing 'oc adm policy add-role-to-user admin storage-adm2' expecting success... SUCCESS after 0.393s: test/cmd/policy-storage-admin.sh:12: executing 'oc adm policy add-role-to-user admin storage-adm2' expecting success Running test/cmd/policy-storage-admin.sh:13: executing 'oc policy who-can impersonate storage-admin' expecting success and text 'cluster-admin'... SUCCESS after 0.542s: test/cmd/policy-storage-admin.sh:13: executing 'oc policy who-can impersonate storage-admin' expecting success and text 'cluster-admin' Running test/cmd/policy-storage-admin.sh:16: executing 'oc login -u storage-adm -p pw' expecting success... SUCCESS after 0.672s: test/cmd/policy-storage-admin.sh:16: executing 'oc login -u storage-adm -p pw' expecting success Running test/cmd/policy-storage-admin.sh:17: executing 'oc whoami' expecting success and text 'storage-adm'... SUCCESS after 0.277s: test/cmd/policy-storage-admin.sh:17: executing 'oc whoami' expecting success and text 'storage-adm' Running test/cmd/policy-storage-admin.sh:18: executing 'oc whoami --as=basic-user' expecting failure... SUCCESS after 0.294s: test/cmd/policy-storage-admin.sh:18: executing 'oc whoami --as=basic-user' expecting failure Running test/cmd/policy-storage-admin.sh:19: executing 'oc whoami --as=cluster-admin' expecting failure... SUCCESS after 0.379s: test/cmd/policy-storage-admin.sh:19: executing 'oc whoami --as=cluster-admin' expecting failure Running test/cmd/policy-storage-admin.sh:22: executing 'oc policy can-i create pods --all-namespaces' expecting success and text 'no'... SUCCESS after 0.420s: test/cmd/policy-storage-admin.sh:22: executing 'oc policy can-i create pods --all-namespaces' expecting success and text 'no' Running test/cmd/policy-storage-admin.sh:23: executing 'oc policy can-i create projects' expecting success and text 'no'... SUCCESS after 0.341s: test/cmd/policy-storage-admin.sh:23: executing 'oc policy can-i create projects' expecting success and text 'no' Running test/cmd/policy-storage-admin.sh:24: executing 'oc policy can-i get pods --all-namespaces' expecting success and text 'no'... SUCCESS after 0.433s: test/cmd/policy-storage-admin.sh:24: executing 'oc policy can-i get pods --all-namespaces' expecting success and text 'no' Running test/cmd/policy-storage-admin.sh:25: executing 'oc policy can-i create pvc' expecting success and text 'no'... SUCCESS after 0.346s: test/cmd/policy-storage-admin.sh:25: executing 'oc policy can-i create pvc' expecting success and text 'no' Running test/cmd/policy-storage-admin.sh:28: executing 'oc policy can-i get pvc --all-namespaces' expecting success and text 'yes'... SUCCESS after 0.458s: test/cmd/policy-storage-admin.sh:28: executing 'oc policy can-i get pvc --all-namespaces' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:29: executing 'oc policy can-i get storageclass' expecting success and text 'yes'... SUCCESS after 0.354s: test/cmd/policy-storage-admin.sh:29: executing 'oc policy can-i get storageclass' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:30: executing 'oc policy can-i create pv' expecting success and text 'yes'... SUCCESS after 0.333s: test/cmd/policy-storage-admin.sh:30: executing 'oc policy can-i create pv' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:31: executing 'oc policy can-i create storageclass' expecting success and text 'yes'... SUCCESS after 0.318s: test/cmd/policy-storage-admin.sh:31: executing 'oc policy can-i create storageclass' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:34: executing 'oc policy add-role-to-user admin storage-adm' expecting failure and text 'cannot list rolebindings'... SUCCESS after 0.318s: test/cmd/policy-storage-admin.sh:34: executing 'oc policy add-role-to-user admin storage-adm' expecting failure and text 'cannot list rolebindings' Running test/cmd/policy-storage-admin.sh:35: executing 'oc policy remove-user screeley' expecting failure and text 'cannot list rolebindings'... SUCCESS after 0.353s: test/cmd/policy-storage-admin.sh:35: executing 'oc policy remove-user screeley' expecting failure and text 'cannot list rolebindings' Running test/cmd/policy-storage-admin.sh:36: executing 'oc logout' expecting success... SUCCESS after 0.292s: test/cmd/policy-storage-admin.sh:36: executing 'oc logout' expecting success Running test/cmd/policy-storage-admin.sh:39: executing 'oc login -u storage-adm2 -p pw' expecting success... SUCCESS after 0.605s: test/cmd/policy-storage-admin.sh:39: executing 'oc login -u storage-adm2 -p pw' expecting success Running test/cmd/policy-storage-admin.sh:40: executing 'oc whoami' expecting success and text 'storage-adm2'... SUCCESS after 0.422s: test/cmd/policy-storage-admin.sh:40: executing 'oc whoami' expecting success and text 'storage-adm2' Running test/cmd/policy-storage-admin.sh:41: executing 'oc new-project policy-can-i' expecting success... SUCCESS after 0.382s: test/cmd/policy-storage-admin.sh:41: executing 'oc new-project policy-can-i' expecting success Running test/cmd/policy-storage-admin.sh:42: executing 'oc policy can-i create pod --all-namespaces' expecting success and text 'no'... SUCCESS after 0.257s: test/cmd/policy-storage-admin.sh:42: executing 'oc policy can-i create pod --all-namespaces' expecting success and text 'no' Running test/cmd/policy-storage-admin.sh:43: executing 'oc policy can-i create pod' expecting success and text 'yes'... SUCCESS after 0.439s: test/cmd/policy-storage-admin.sh:43: executing 'oc policy can-i create pod' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:44: executing 'oc policy can-i create pvc' expecting success and text 'yes'... SUCCESS after 0.317s: test/cmd/policy-storage-admin.sh:44: executing 'oc policy can-i create pvc' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:45: executing 'oc policy can-i create endpoints' expecting success and text 'yes'... SUCCESS after 0.345s: test/cmd/policy-storage-admin.sh:45: executing 'oc policy can-i create endpoints' expecting success and text 'yes' Running test/cmd/policy-storage-admin.sh:46: executing 'oc delete project policy-can-i' expecting success... SUCCESS after 0.618s: test/cmd/policy-storage-admin.sh:46: executing 'oc delete project policy-can-i' expecting success Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.460s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-policy-storage-admin'' expecting success... SUCCESS after 0.345s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-policy-storage-admin'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/policy.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.374s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.317s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-policy'' expecting success... SUCCESS after 0.432s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-policy'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-policy'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.386s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-policy'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:21: executing 'oc whoami --as deads' expecting success and text 'deads'... SUCCESS after 0.386s: test/cmd/policy.sh:21: executing 'oc whoami --as deads' expecting success and text 'deads' Running test/cmd/policy.sh:23: executing 'oc adm policy add-cluster-role-to-user sudoer wheel' expecting success... SUCCESS after 0.332s: test/cmd/policy.sh:23: executing 'oc adm policy add-cluster-role-to-user sudoer wheel' expecting success Running test/cmd/policy.sh:24: executing 'oc policy who-can impersonate users system:admin' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.400s: test/cmd/policy.sh:24: executing 'oc policy who-can impersonate users system:admin' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:25: executing 'oc policy who-can impersonate groups system:masters' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.554s: test/cmd/policy.sh:25: executing 'oc policy who-can impersonate groups system:masters' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:26: executing 'oc policy who-can impersonate systemusers system:admin' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.535s: test/cmd/policy.sh:26: executing 'oc policy who-can impersonate systemusers system:admin' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:27: executing 'oc policy who-can impersonate systemgroups system:masters' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.514s: test/cmd/policy.sh:27: executing 'oc policy who-can impersonate systemgroups system:masters' expecting any result and text 'wheel'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:28: executing 'oc login -u wheel -p pw' expecting success... SUCCESS after 0.434s: test/cmd/policy.sh:28: executing 'oc login -u wheel -p pw' expecting success Running test/cmd/policy.sh:29: executing 'oc whoami' expecting success and text 'wheel'... SUCCESS after 0.343s: test/cmd/policy.sh:29: executing 'oc whoami' expecting success and text 'wheel' Running test/cmd/policy.sh:30: executing 'oc whoami --as deads' expecting failure... SUCCESS after 0.547s: test/cmd/policy.sh:30: executing 'oc whoami --as deads' expecting failure Running test/cmd/policy.sh:31: executing 'oc whoami --as=system:admin' expecting success and text 'system:admin'... SUCCESS after 0.474s: test/cmd/policy.sh:31: executing 'oc whoami --as=system:admin' expecting success and text 'system:admin' Running test/cmd/policy.sh:32: executing 'oc policy can-i --list --as=system:admin' expecting success and text '.*'... SUCCESS after 0.247s: test/cmd/policy.sh:32: executing 'oc policy can-i --list --as=system:admin' expecting success and text '.*' Running test/cmd/policy.sh:34: executing 'oc login -u local-admin -p pw' expecting success... SUCCESS after 0.353s: test/cmd/policy.sh:34: executing 'oc login -u local-admin -p pw' expecting success Running test/cmd/policy.sh:35: executing 'oc new-project policy-login' expecting success... SUCCESS after 0.551s: test/cmd/policy.sh:35: executing 'oc new-project policy-login' expecting success Running test/cmd/policy.sh:36: executing 'oc whoami --as=system:admin' expecting failure... SUCCESS after 0.381s: test/cmd/policy.sh:36: executing 'oc whoami --as=system:admin' expecting failure Running test/cmd/policy.sh:37: executing 'oc whoami --as=system:serviceaccount:policy-login:default' expecting success and text 'system:serviceaccount:policy-login:default'... SUCCESS after 0.293s: test/cmd/policy.sh:37: executing 'oc whoami --as=system:serviceaccount:policy-login:default' expecting success and text 'system:serviceaccount:policy-login:default' Running test/cmd/policy.sh:38: executing 'oc whoami --as=system:serviceaccount:another:default' expecting failure... SUCCESS after 0.345s: test/cmd/policy.sh:38: executing 'oc whoami --as=system:serviceaccount:another:default' expecting failure Running test/cmd/policy.sh:39: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success... SUCCESS after 0.587s: test/cmd/policy.sh:39: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success Running test/cmd/policy.sh:40: executing 'oc delete project policy-login' expecting success... SUCCESS after 0.448s: test/cmd/policy.sh:40: executing 'oc delete project policy-login' expecting success Running test/cmd/policy.sh:41: executing 'oc create policybinding default -n myproject' expecting failure and text 'error: the server does not support legacy policy resources'... SUCCESS after 0.301s: test/cmd/policy.sh:41: executing 'oc create policybinding default -n myproject' expecting failure and text 'error: the server does not support legacy policy resources' Running test/cmd/policy.sh:44: executing 'oc policy add-role-to-user admin -z default' expecting success and text 'role "admin" added\: "default"'... SUCCESS after 0.245s: test/cmd/policy.sh:44: executing 'oc policy add-role-to-user admin -z default' expecting success and text 'role "admin" added\: "default"' Running test/cmd/policy.sh:45: executing 'oc policy add-role-to-user admin -z system:serviceaccount:test:default' expecting failure and text 'should only be used with short\-form serviceaccount names'... SUCCESS after 0.306s: test/cmd/policy.sh:45: executing 'oc policy add-role-to-user admin -z system:serviceaccount:test:default' expecting failure and text 'should only be used with short\-form serviceaccount names' Running test/cmd/policy.sh:46: executing 'oc policy add-role-to-user admin -z :invalid' expecting failure and text '"\:invalid" is not a valid serviceaccount name'... SUCCESS after 0.403s: test/cmd/policy.sh:46: executing 'oc policy add-role-to-user admin -z :invalid' expecting failure and text '"\:invalid" is not a valid serviceaccount name' Running test/cmd/policy.sh:49: executing 'oc policy add-role-to-user' expecting failure and text 'you must specify a role'... SUCCESS after 0.374s: test/cmd/policy.sh:49: executing 'oc policy add-role-to-user' expecting failure and text 'you must specify a role' Running test/cmd/policy.sh:50: executing 'oc policy add-role-to-user -z NamespaceWithoutRole' expecting failure and text 'you must specify a role'... SUCCESS after 0.525s: test/cmd/policy.sh:50: executing 'oc policy add-role-to-user -z NamespaceWithoutRole' expecting failure and text 'you must specify a role' Running test/cmd/policy.sh:51: executing 'oc policy add-role-to-user view' expecting failure and text 'you must specify at least one user or service account'... SUCCESS after 0.384s: test/cmd/policy.sh:51: executing 'oc policy add-role-to-user view' expecting failure and text 'you must specify at least one user or service account' Running test/cmd/policy.sh:53: executing 'oc policy add-role-to-group cluster-admin --rolebinding-name cluster-admin system:unauthenticated' expecting success and text 'role "cluster-admin" added: "system:unauthenticated"'... SUCCESS after 0.479s: test/cmd/policy.sh:53: executing 'oc policy add-role-to-group cluster-admin --rolebinding-name cluster-admin system:unauthenticated' expecting success and text 'role "cluster-admin" added: "system:unauthenticated"' Running test/cmd/policy.sh:54: executing 'oc policy add-role-to-user --rolebinding-name cluster-admin cluster-admin system:no-user' expecting success and text 'role "cluster-admin" added: "system:no-user"'... SUCCESS after 0.260s: test/cmd/policy.sh:54: executing 'oc policy add-role-to-user --rolebinding-name cluster-admin cluster-admin system:no-user' expecting success and text 'role "cluster-admin" added: "system:no-user"' Running test/cmd/policy.sh:55: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success... SUCCESS after 0.439s: test/cmd/policy.sh:55: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success Running test/cmd/policy.sh:56: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'system:no-user'... SUCCESS after 0.585s: test/cmd/policy.sh:56: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'system:no-user' Running test/cmd/policy.sh:58: executing 'oc policy add-role-to-user --rolebinding-name cluster-admin cluster-admin -z=one,two --serviceaccount=three,four' expecting success and text 'role "cluster-admin" added: \["one" "two" "three" "four"\]'... SUCCESS after 0.516s: test/cmd/policy.sh:58: executing 'oc policy add-role-to-user --rolebinding-name cluster-admin cluster-admin -z=one,two --serviceaccount=three,four' expecting success and text 'role "cluster-admin" added: \["one" "two" "three" "four"\]' Running test/cmd/policy.sh:59: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success... SUCCESS after 0.615s: test/cmd/policy.sh:59: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success Running test/cmd/policy.sh:60: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'one'... SUCCESS after 0.623s: test/cmd/policy.sh:60: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'one' Running test/cmd/policy.sh:61: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'four'... SUCCESS after 0.523s: test/cmd/policy.sh:61: executing 'oc get rolebinding/cluster-admin --no-headers' expecting success and text 'four' Running test/cmd/policy.sh:63: executing 'oc policy remove-role-from-group --rolebinding-name cluster-admin cluster-admin system:unauthenticated' expecting success and text 'role "cluster-admin" removed: "system:unauthenticated"'... SUCCESS after 0.251s: test/cmd/policy.sh:63: executing 'oc policy remove-role-from-group --rolebinding-name cluster-admin cluster-admin system:unauthenticated' expecting success and text 'role "cluster-admin" removed: "system:unauthenticated"' Running test/cmd/policy.sh:65: executing 'oc policy remove-role-from-user --rolebinding-name cluster-admin cluster-admin system:no-user' expecting success and text 'role "cluster-admin" removed: "system:no-user"'... SUCCESS after 0.382s: test/cmd/policy.sh:65: executing 'oc policy remove-role-from-user --rolebinding-name cluster-admin cluster-admin system:no-user' expecting success and text 'role "cluster-admin" removed: "system:no-user"' Running test/cmd/policy.sh:66: executing 'oc policy remove-role-from-user --rolebinding-name cluster-admin cluster-admin -z=one,two --serviceaccount=three,four' expecting success and text 'role "cluster-admin" removed: \["one" "two" "three" "four"\]'... SUCCESS after 0.377s: test/cmd/policy.sh:66: executing 'oc policy remove-role-from-user --rolebinding-name cluster-admin cluster-admin -z=one,two --serviceaccount=three,four' expecting success and text 'role "cluster-admin" removed: \["one" "two" "three" "four"\]' Running test/cmd/policy.sh:67: executing 'oc get rolebinding/cluster-admin --no-headers' expecting failure and text 'NotFound'... SUCCESS after 0.367s: test/cmd/policy.sh:67: executing 'oc get rolebinding/cluster-admin --no-headers' expecting failure and text 'NotFound' Running test/cmd/policy.sh:69: executing 'oc policy remove-group system:unauthenticated' expecting success... SUCCESS after 0.347s: test/cmd/policy.sh:69: executing 'oc policy remove-group system:unauthenticated' expecting success Running test/cmd/policy.sh:70: executing 'oc policy remove-user system:no-user' expecting success... SUCCESS after 0.405s: test/cmd/policy.sh:70: executing 'oc policy remove-user system:no-user' expecting success Running test/cmd/policy.sh:73: executing 'oc login -u local-admin -p pw' expecting success... SUCCESS after 0.438s: test/cmd/policy.sh:73: executing 'oc login -u local-admin -p pw' expecting success Running test/cmd/policy.sh:74: executing 'oc new-project mismatch-prj' expecting success... SUCCESS after 0.608s: test/cmd/policy.sh:74: executing 'oc new-project mismatch-prj' expecting success Running test/cmd/policy.sh:75: executing 'oc create rolebinding match --clusterrole=admin --user=user' expecting success... SUCCESS after 0.361s: test/cmd/policy.sh:75: executing 'oc create rolebinding match --clusterrole=admin --user=user' expecting success Running test/cmd/policy.sh:76: executing 'oc create rolebinding mismatch --clusterrole=edit --user=user' expecting success... SUCCESS after 0.309s: test/cmd/policy.sh:76: executing 'oc create rolebinding mismatch --clusterrole=edit --user=user' expecting success Running test/cmd/policy.sh:77: executing 'oc policy remove-role-from-user admin user --rolebinding-name mismatch' expecting failure and text 'rolebinding mismatch'... SUCCESS after 0.299s: test/cmd/policy.sh:77: executing 'oc policy remove-role-from-user admin user --rolebinding-name mismatch' expecting failure and text 'rolebinding mismatch' Running test/cmd/policy.sh:78: executing 'oc policy remove-user user' expecting success and text 'user'... SUCCESS after 0.472s: test/cmd/policy.sh:78: executing 'oc policy remove-user user' expecting success and text 'user' Running test/cmd/policy.sh:79: executing 'oc get rolebinding mismatch --no-headers' expecting failure and text 'NotFound'... SUCCESS after 0.419s: test/cmd/policy.sh:79: executing 'oc get rolebinding mismatch --no-headers' expecting failure and text 'NotFound' Running test/cmd/policy.sh:80: executing 'oc get rolebinding match --no-headers' expecting failure and text 'NotFound'... SUCCESS after 0.499s: test/cmd/policy.sh:80: executing 'oc get rolebinding match --no-headers' expecting failure and text 'NotFound' Running test/cmd/policy.sh:81: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success... SUCCESS after 0.459s: test/cmd/policy.sh:81: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success Running test/cmd/policy.sh:82: executing 'oc delete project mismatch-prj' expecting success... SUCCESS after 0.421s: test/cmd/policy.sh:82: executing 'oc delete project mismatch-prj' expecting success Running test/cmd/policy.sh:85: executing 'oc create -f ${OS_ROOT}/test/testdata/privileged-pod.yaml' expecting success... SUCCESS after 0.315s: test/cmd/policy.sh:85: executing 'oc create -f ${OS_ROOT}/test/testdata/privileged-pod.yaml' expecting success Running test/cmd/policy.sh:86: executing 'oc delete pod/test-build-pod-issue --cascade=false' expecting success... SUCCESS after 0.274s: test/cmd/policy.sh:86: executing 'oc delete pod/test-build-pod-issue --cascade=false' expecting success Running test/cmd/policy.sh:87: executing 'oc get pods pod/test-build-pod-issue' expecting failure; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.420s: test/cmd/policy.sh:87: executing 'oc get pods pod/test-build-pod-issue' expecting failure; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:90: executing 'oc policy add-role-to-user admin namespaced-user' expecting success and text 'role "admin" added: "namespaced-user"'... SUCCESS after 0.422s: test/cmd/policy.sh:90: executing 'oc policy add-role-to-user admin namespaced-user' expecting success and text 'role "admin" added: "namespaced-user"' Running test/cmd/policy.sh:92: executing 'oc adm policy who-can create builds' expecting any result and text 'namespaced-user'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.569s: test/cmd/policy.sh:92: executing 'oc adm policy who-can create builds' expecting any result and text 'namespaced-user'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:93: executing 'oc adm policy who-can create builds/docker' expecting success and not text 'namespaced-user'... SUCCESS after 0.489s: test/cmd/policy.sh:93: executing 'oc adm policy who-can create builds/docker' expecting success and not text 'namespaced-user' Running test/cmd/policy.sh:94: executing 'oc adm policy who-can create builds/custom' expecting success and not text 'namespaced-user'... SUCCESS after 0.435s: test/cmd/policy.sh:94: executing 'oc adm policy who-can create builds/custom' expecting success and not text 'namespaced-user' Running test/cmd/policy.sh:95: executing 'oc adm policy who-can create builds/source' expecting success and not text 'namespaced-user'... SUCCESS after 0.287s: test/cmd/policy.sh:95: executing 'oc adm policy who-can create builds/source' expecting success and not text 'namespaced-user' Running test/cmd/policy.sh:96: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and not text 'namespaced-user'... SUCCESS after 0.476s: test/cmd/policy.sh:96: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and not text 'namespaced-user' Running test/cmd/policy.sh:97: executing 'oc adm policy who-can create builds/docker' expecting success and text 'system:authenticated'... SUCCESS after 0.585s: test/cmd/policy.sh:97: executing 'oc adm policy who-can create builds/docker' expecting success and text 'system:authenticated' Running test/cmd/policy.sh:98: executing 'oc adm policy who-can create builds/source' expecting success and text 'system:authenticated'... SUCCESS after 0.561s: test/cmd/policy.sh:98: executing 'oc adm policy who-can create builds/source' expecting success and text 'system:authenticated' Running test/cmd/policy.sh:99: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and text 'system:authenticated'... SUCCESS after 0.649s: test/cmd/policy.sh:99: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and text 'system:authenticated' Running test/cmd/policy.sh:101: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated' expecting success and text 'cluster role "system:build-strategy-docker" removed: "system:authenticated"'... SUCCESS after 0.287s: test/cmd/policy.sh:101: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated' expecting success and text 'cluster role "system:build-strategy-docker" removed: "system:authenticated"' Running test/cmd/policy.sh:102: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-source system:authenticated' expecting success and text 'cluster role "system:build-strategy-source" removed: "system:authenticated"'... SUCCESS after 0.291s: test/cmd/policy.sh:102: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-source system:authenticated' expecting success and text 'cluster role "system:build-strategy-source" removed: "system:authenticated"' Running test/cmd/policy.sh:103: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-jenkinspipeline system:authenticated' expecting success and text 'cluster role "system:build-strategy-jenkinspipeline" removed: "system:authenticated"'... SUCCESS after 0.508s: test/cmd/policy.sh:103: executing 'oc adm policy remove-cluster-role-from-group system:build-strategy-jenkinspipeline system:authenticated' expecting success and text 'cluster role "system:build-strategy-jenkinspipeline" removed: "system:authenticated"' Running test/cmd/policy.sh:106: executing 'oc adm policy who-can create builds/source | grep system:authenticated' expecting failure; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.466s: test/cmd/policy.sh:106: executing 'oc adm policy who-can create builds/source | grep system:authenticated' expecting failure; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:107: executing 'oc adm policy who-can create builds/docker' expecting success and not text 'system:authenticated'... SUCCESS after 0.363s: test/cmd/policy.sh:107: executing 'oc adm policy who-can create builds/docker' expecting success and not text 'system:authenticated' Running test/cmd/policy.sh:108: executing 'oc adm policy who-can create builds/source' expecting success and not text 'system:authenticated'... SUCCESS after 0.661s: test/cmd/policy.sh:108: executing 'oc adm policy who-can create builds/source' expecting success and not text 'system:authenticated' Running test/cmd/policy.sh:109: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and not text 'system:authenticated'... SUCCESS after 0.462s: test/cmd/policy.sh:109: executing 'oc adm policy who-can create builds/jenkinspipeline' expecting success and not text 'system:authenticated' Running test/cmd/policy.sh:112: executing 'oc adm policy remove-role-from-user admin namespaced-user -o yaml' expecting success and text 'name: admin'... SUCCESS after 0.340s: test/cmd/policy.sh:112: executing 'oc adm policy remove-role-from-user admin namespaced-user -o yaml' expecting success and text 'name: admin' Running test/cmd/policy.sh:113: executing 'oc adm policy add-role-to-user admin namespaced-user -o yaml' expecting success and text 'name: namespaced-user'... SUCCESS after 0.594s: test/cmd/policy.sh:113: executing 'oc adm policy add-role-to-user admin namespaced-user -o yaml' expecting success and text 'name: namespaced-user' Running test/cmd/policy.sh:115: executing 'oc adm policy remove-role-from-user admin namespaced-user --dry-run' expecting success and text 'role "admin" removed: "namespaced\-user" \(dry run\)'... SUCCESS after 0.342s: test/cmd/policy.sh:115: executing 'oc adm policy remove-role-from-user admin namespaced-user --dry-run' expecting success and text 'role "admin" removed: "namespaced\-user" \(dry run\)' Running test/cmd/policy.sh:116: executing 'oc adm policy add-role-to-user admin namespaced-user --dry-run' expecting success and text 'role "admin" added: "namespaced\-user" \(dry run\)'... SUCCESS after 0.275s: test/cmd/policy.sh:116: executing 'oc adm policy add-role-to-user admin namespaced-user --dry-run' expecting success and text 'role "admin" added: "namespaced\-user" \(dry run\)' Running test/cmd/policy.sh:119: executing 'oc adm policy who-can create pods -o yaml' expecting success and text '\- namespaced\-user'... SUCCESS after 0.439s: test/cmd/policy.sh:119: executing 'oc adm policy who-can create pods -o yaml' expecting success and text '\- namespaced\-user' Running test/cmd/policy.sh:123: executing 'oc adm policy scc-subject-review -u namespaced-user --output yaml -f - << __EOF__ $testpod __EOF__' expecting success and text 'name: testpod'... SUCCESS after 0.560s: test/cmd/policy.sh:123: executing 'oc adm policy scc-subject-review -u namespaced-user --output yaml -f - << __EOF__ $testpod __EOF__' expecting success and text 'name: testpod' Running test/cmd/policy.sh:126: executing 'oc adm policy scc-subject-review -u namespaced-user --output wide -f - << __EOF__ $testpod __EOF__' expecting success and text 'Pod/testpod'... SUCCESS after 0.419s: test/cmd/policy.sh:126: executing 'oc adm policy scc-subject-review -u namespaced-user --output wide -f - << __EOF__ $testpod __EOF__' expecting success and text 'Pod/testpod' Running test/cmd/policy.sh:130: executing 'oc adm policy scc-review --output yaml -f - << __EOF__ $testpod __EOF__' expecting success and text 'allowedServiceAccounts: null'... SUCCESS after 0.252s: test/cmd/policy.sh:130: executing 'oc adm policy scc-review --output yaml -f - << __EOF__ $testpod __EOF__' expecting success and text 'allowedServiceAccounts: null' Running test/cmd/policy.sh:132: executing 'oc adm policy add-role-to-group view testgroup -o yaml' expecting success and text 'name: view'... SUCCESS after 0.651s: test/cmd/policy.sh:132: executing 'oc adm policy add-role-to-group view testgroup -o yaml' expecting success and text 'name: view' Running test/cmd/policy.sh:133: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup -o yaml' expecting success and text '\- testgroup'... SUCCESS after 0.305s: test/cmd/policy.sh:133: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup -o yaml' expecting success and text '\- testgroup' Running test/cmd/policy.sh:134: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user -o yaml' expecting success and text 'name: namespaced\-user'... SUCCESS after 0.267s: test/cmd/policy.sh:134: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user -o yaml' expecting success and text 'name: namespaced\-user' Running test/cmd/policy.sh:136: executing 'oc adm policy add-role-to-group view testgroup --dry-run' expecting success and text 'role "view" added: "testgroup" \(dry run\)'... SUCCESS after 0.360s: test/cmd/policy.sh:136: executing 'oc adm policy add-role-to-group view testgroup --dry-run' expecting success and text 'role "view" added: "testgroup" \(dry run\)' Running test/cmd/policy.sh:137: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup --dry-run' expecting success and text 'cluster role "cluster\-reader" added: "testgroup" \(dry run\)'... SUCCESS after 0.407s: test/cmd/policy.sh:137: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup --dry-run' expecting success and text 'cluster role "cluster\-reader" added: "testgroup" \(dry run\)' Running test/cmd/policy.sh:138: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user --dry-run' expecting success and text 'cluster role "cluster\-reader" added: "namespaced\-user" \(dry run\)'... SUCCESS after 0.455s: test/cmd/policy.sh:138: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user --dry-run' expecting success and text 'cluster role "cluster\-reader" added: "namespaced\-user" \(dry run\)' Running test/cmd/policy.sh:140: executing 'oc adm policy add-role-to-group view testgroup' expecting success... SUCCESS after 0.375s: test/cmd/policy.sh:140: executing 'oc adm policy add-role-to-group view testgroup' expecting success Running test/cmd/policy.sh:141: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup' expecting success... SUCCESS after 0.578s: test/cmd/policy.sh:141: executing 'oc adm policy add-cluster-role-to-group cluster-reader testgroup' expecting success Running test/cmd/policy.sh:142: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user' expecting success... SUCCESS after 0.370s: test/cmd/policy.sh:142: executing 'oc adm policy add-cluster-role-to-user cluster-reader namespaced-user' expecting success Running test/cmd/policy.sh:145: executing 'oc adm policy remove-cluster-role-from-user admin ghost' expecting failure and text 'error: unable to find target \[ghost\]'... SUCCESS after 0.266s: test/cmd/policy.sh:145: executing 'oc adm policy remove-cluster-role-from-user admin ghost' expecting failure and text 'error: unable to find target \[ghost\]' Running test/cmd/policy.sh:146: executing 'oc adm policy remove-cluster-role-from-user admin -z ghost' expecting failure and text 'error: unable to find target \[ghost\]'... SUCCESS after 0.293s: test/cmd/policy.sh:146: executing 'oc adm policy remove-cluster-role-from-user admin -z ghost' expecting failure and text 'error: unable to find target \[ghost\]' Running test/cmd/policy.sh:148: executing 'oc adm policy remove-role-from-group view testgroup -o yaml' expecting success and text 'subjects: \[\]'... SUCCESS after 0.321s: test/cmd/policy.sh:148: executing 'oc adm policy remove-role-from-group view testgroup -o yaml' expecting success and text 'subjects: \[\]' Running test/cmd/policy.sh:149: executing 'oc adm policy remove-cluster-role-from-group cluster-reader testgroup -o yaml' expecting success and text 'name: cluster\-readers'... SUCCESS after 0.792s: test/cmd/policy.sh:149: executing 'oc adm policy remove-cluster-role-from-group cluster-reader testgroup -o yaml' expecting success and text 'name: cluster\-readers' Running test/cmd/policy.sh:150: executing 'oc adm policy remove-cluster-role-from-user cluster-reader namespaced-user -o yaml' expecting success and text 'name: cluster\-reader'... SUCCESS after 0.309s: test/cmd/policy.sh:150: executing 'oc adm policy remove-cluster-role-from-user cluster-reader namespaced-user -o yaml' expecting success and text 'name: cluster\-reader' Running test/cmd/policy.sh:152: executing 'oc adm policy remove-role-from-group view testgroup --dry-run' expecting success and text 'role "view" removed: "testgroup" \(dry run\)'... SUCCESS after 0.391s: test/cmd/policy.sh:152: executing 'oc adm policy remove-role-from-group view testgroup --dry-run' expecting success and text 'role "view" removed: "testgroup" \(dry run\)' Running test/cmd/policy.sh:153: executing 'oc adm policy remove-cluster-role-from-group cluster-reader testgroup --dry-run' expecting success and text 'cluster role "cluster\-reader" removed: "testgroup" \(dry run\)'... SUCCESS after 0.512s: test/cmd/policy.sh:153: executing 'oc adm policy remove-cluster-role-from-group cluster-reader testgroup --dry-run' expecting success and text 'cluster role "cluster\-reader" removed: "testgroup" \(dry run\)' Running test/cmd/policy.sh:154: executing 'oc adm policy remove-cluster-role-from-user cluster-reader namespaced-user --dry-run' expecting success and text 'cluster role "cluster\-reader" removed: "namespaced\-user" \(dry run\)'... SUCCESS after 0.369s: test/cmd/policy.sh:154: executing 'oc adm policy remove-cluster-role-from-user cluster-reader namespaced-user --dry-run' expecting success and text 'cluster role "cluster\-reader" removed: "namespaced\-user" \(dry run\)' Running test/cmd/policy.sh:156: executing 'oc adm policy remove-user namespaced-user -o yaml' expecting success and text 'namespace: cmd-policy'... SUCCESS after 0.256s: test/cmd/policy.sh:156: executing 'oc adm policy remove-user namespaced-user -o yaml' expecting success and text 'namespace: cmd-policy' Running test/cmd/policy.sh:157: executing 'oc adm policy remove-user namespaced-user --dry-run' expecting success and text 'Removing admin from users \[namespaced\-user\] in project cmd-policy'... SUCCESS after 0.227s: test/cmd/policy.sh:157: executing 'oc adm policy remove-user namespaced-user --dry-run' expecting success and text 'Removing admin from users \[namespaced\-user\] in project cmd-policy' Running test/cmd/policy.sh:159: executing 'oc adm policy add-scc-to-user anyuid namespaced-user -o yaml' expecting success and text '\- namespaced\-user'... SUCCESS after 0.507s: test/cmd/policy.sh:159: executing 'oc adm policy add-scc-to-user anyuid namespaced-user -o yaml' expecting success and text '\- namespaced\-user' Running test/cmd/policy.sh:160: executing 'oc adm policy add-scc-to-user anyuid namespaced-user --dry-run' expecting success and text 'scc "anyuid" added to: \["namespaced\-user"\] \(dry run\)'... SUCCESS after 0.589s: test/cmd/policy.sh:160: executing 'oc adm policy add-scc-to-user anyuid namespaced-user --dry-run' expecting success and text 'scc "anyuid" added to: \["namespaced\-user"\] \(dry run\)' Running test/cmd/policy.sh:162: executing 'oc adm policy add-scc-to-group anyuid testgroup -o yaml' expecting success and text '\- testgroup'... SUCCESS after 0.357s: test/cmd/policy.sh:162: executing 'oc adm policy add-scc-to-group anyuid testgroup -o yaml' expecting success and text '\- testgroup' Running test/cmd/policy.sh:163: executing 'oc adm policy add-scc-to-group anyuid testgroup --dry-run' expecting success and text 'scc "anyuid" added to groups: \["testgroup"\] \(dry run\)'... SUCCESS after 0.401s: test/cmd/policy.sh:163: executing 'oc adm policy add-scc-to-group anyuid testgroup --dry-run' expecting success and text 'scc "anyuid" added to groups: \["testgroup"\] \(dry run\)' Running test/cmd/policy.sh:165: executing 'oc adm policy remove-scc-from-user anyuid namespaced-user -o yaml' expecting success and not text '\- namespaced\-user'... SUCCESS after 0.506s: test/cmd/policy.sh:165: executing 'oc adm policy remove-scc-from-user anyuid namespaced-user -o yaml' expecting success and not text '\- namespaced\-user' Running test/cmd/policy.sh:166: executing 'oc adm policy remove-scc-from-user anyuid namespaced-user --dry-run' expecting success and text 'scc "anyuid" removed from: \["namespaced\-user"\] \(dry run\)'... SUCCESS after 0.275s: test/cmd/policy.sh:166: executing 'oc adm policy remove-scc-from-user anyuid namespaced-user --dry-run' expecting success and text 'scc "anyuid" removed from: \["namespaced\-user"\] \(dry run\)' Running test/cmd/policy.sh:168: executing 'oc adm policy remove-scc-from-group anyuid testgroup -o yaml' expecting success and not text '\- testgroup'... SUCCESS after 0.370s: test/cmd/policy.sh:168: executing 'oc adm policy remove-scc-from-group anyuid testgroup -o yaml' expecting success and not text '\- testgroup' Running test/cmd/policy.sh:169: executing 'oc adm policy remove-scc-from-group anyuid testgroup --dry-run' expecting success and text 'scc "anyuid" removed from groups: \["testgroup"\] \(dry run\)'... SUCCESS after 0.303s: test/cmd/policy.sh:169: executing 'oc adm policy remove-scc-from-group anyuid testgroup --dry-run' expecting success and text 'scc "anyuid" removed from groups: \["testgroup"\] \(dry run\)' Running test/cmd/policy.sh:172: executing 'oc adm policy who-can create builds/custom' expecting success and not text 'system:authenticated'... SUCCESS after 0.584s: test/cmd/policy.sh:172: executing 'oc adm policy who-can create builds/custom' expecting success and not text 'system:authenticated' Running test/cmd/policy.sh:173: executing 'oc adm policy add-cluster-role-to-group system:build-strategy-custom system:authenticated' expecting success and text 'cluster role "system:build-strategy-custom" added: "system:authenticated"'... SUCCESS after 0.395s: test/cmd/policy.sh:173: executing 'oc adm policy add-cluster-role-to-group system:build-strategy-custom system:authenticated' expecting success and text 'cluster role "system:build-strategy-custom" added: "system:authenticated"' Running test/cmd/policy.sh:174: executing 'oc adm policy who-can create builds/custom' expecting success and text 'system:authenticated'... SUCCESS after 0.525s: test/cmd/policy.sh:174: executing 'oc adm policy who-can create builds/custom' expecting success and text 'system:authenticated' Running test/cmd/policy.sh:176: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success... SUCCESS after 0.687s: test/cmd/policy.sh:176: executing 'oc adm policy reconcile-cluster-role-bindings --confirm' expecting success Running test/cmd/policy.sh:178: executing 'oc policy can-i --list' expecting success and text 'get update.*imagestreams/layers'... SUCCESS after 0.662s: test/cmd/policy.sh:178: executing 'oc policy can-i --list' expecting success and text 'get update.*imagestreams/layers' Running test/cmd/policy.sh:179: executing 'oc policy can-i create pods --all-namespaces' expecting success and text 'yes'... SUCCESS after 0.320s: test/cmd/policy.sh:179: executing 'oc policy can-i create pods --all-namespaces' expecting success and text 'yes' Running test/cmd/policy.sh:180: executing 'oc policy can-i create pods' expecting success and text 'yes'... SUCCESS after 0.330s: test/cmd/policy.sh:180: executing 'oc policy can-i create pods' expecting success and text 'yes' Running test/cmd/policy.sh:181: executing 'oc policy can-i create pods --as harold' expecting success and text 'no'... SUCCESS after 0.267s: test/cmd/policy.sh:181: executing 'oc policy can-i create pods --as harold' expecting success and text 'no' Running test/cmd/policy.sh:182: executing 'oc policy can-i create pods --as harold --user harold' expecting failure... SUCCESS after 0.412s: test/cmd/policy.sh:182: executing 'oc policy can-i create pods --as harold --user harold' expecting failure Running test/cmd/policy.sh:183: executing 'oc policy can-i --list --as harold --user harold' expecting failure... SUCCESS after 0.452s: test/cmd/policy.sh:183: executing 'oc policy can-i --list --as harold --user harold' expecting failure Running test/cmd/policy.sh:184: executing 'oc policy can-i create pods --as harold -q' expecting failure... SUCCESS after 0.326s: test/cmd/policy.sh:184: executing 'oc policy can-i create pods --as harold -q' expecting failure Running test/cmd/policy.sh:186: executing 'oc policy can-i create pods --user system:admin' expecting success and text 'yes'... SUCCESS after 0.373s: test/cmd/policy.sh:186: executing 'oc policy can-i create pods --user system:admin' expecting success and text 'yes' Running test/cmd/policy.sh:187: executing 'oc policy can-i create pods --groups system:unauthenticated --groups system:masters' expecting success and text 'yes'... SUCCESS after 0.629s: test/cmd/policy.sh:187: executing 'oc policy can-i create pods --groups system:unauthenticated --groups system:masters' expecting success and text 'yes' Running test/cmd/policy.sh:188: executing 'oc policy can-i create pods --groups system:unauthenticated' expecting success and text 'no'... SUCCESS after 0.318s: test/cmd/policy.sh:188: executing 'oc policy can-i create pods --groups system:unauthenticated' expecting success and text 'no' Running test/cmd/policy.sh:189: executing 'oc policy can-i create pods --user harold' expecting success and text 'no'... SUCCESS after 0.279s: test/cmd/policy.sh:189: executing 'oc policy can-i create pods --user harold' expecting success and text 'no' Running test/cmd/policy.sh:191: executing 'oc policy can-i --list --user system:admin' expecting success and text 'get update.*imagestreams/layers'... SUCCESS after 0.314s: test/cmd/policy.sh:191: executing 'oc policy can-i --list --user system:admin' expecting success and text 'get update.*imagestreams/layers' Running test/cmd/policy.sh:192: executing 'oc policy can-i --list --groups system:unauthenticated --groups system:cluster-readers' expecting success and text 'get.*imagestreams/layers'... SUCCESS after 0.330s: test/cmd/policy.sh:192: executing 'oc policy can-i --list --groups system:unauthenticated --groups system:cluster-readers' expecting success and text 'get.*imagestreams/layers' Running test/cmd/policy.sh:193: executing 'oc policy can-i --list --groups system:unauthenticated' expecting success and not text 'get update.*imagestreams/layers'... SUCCESS after 0.445s: test/cmd/policy.sh:193: executing 'oc policy can-i --list --groups system:unauthenticated' expecting success and not text 'get update.*imagestreams/layers' Running test/cmd/policy.sh:194: executing 'oc policy can-i --list --user harold --groups system:authenticated' expecting success and not text 'get update.*imagestreams/layers'... SUCCESS after 0.420s: test/cmd/policy.sh:194: executing 'oc policy can-i --list --user harold --groups system:authenticated' expecting success and not text 'get update.*imagestreams/layers' Running test/cmd/policy.sh:195: executing 'oc policy can-i --list --user harold --groups system:authenticated' expecting success and text 'create get.*buildconfigs/webhooks'... SUCCESS after 0.557s: test/cmd/policy.sh:195: executing 'oc policy can-i --list --user harold --groups system:authenticated' expecting success and text 'create get.*buildconfigs/webhooks' Running test/cmd/policy.sh:198: executing 'oc policy scc-subject-review' expecting failure... SUCCESS after 0.327s: test/cmd/policy.sh:198: executing 'oc policy scc-subject-review' expecting failure Running test/cmd/policy.sh:199: executing 'oc policy scc-review' expecting failure... SUCCESS after 0.283s: test/cmd/policy.sh:199: executing 'oc policy scc-review' expecting failure Running test/cmd/policy.sh:200: executing 'oc policy scc-subject-review -u invalid --namespace=noexist' expecting failure... SUCCESS after 0.303s: test/cmd/policy.sh:200: executing 'oc policy scc-subject-review -u invalid --namespace=noexist' expecting failure Running test/cmd/policy.sh:201: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.'... SUCCESS after 0.313s: test/cmd/policy.sh:201: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.' Running test/cmd/policy.sh:202: executing 'oc policy scc-subject-review -z foo,bar -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: only one Service Account is supported'... SUCCESS after 0.276s: test/cmd/policy.sh:202: executing 'oc policy scc-subject-review -z foo,bar -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: only one Service Account is supported' Running test/cmd/policy.sh:203: executing 'oc policy scc-subject-review -z system:serviceaccount:test:default,system:serviceaccount:test:builder -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: only one Service Account is supported'... SUCCESS after 0.463s: test/cmd/policy.sh:203: executing 'oc policy scc-subject-review -z system:serviceaccount:test:default,system:serviceaccount:test:builder -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: only one Service Account is supported' Running test/cmd/policy.sh:204: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.'... SUCCESS after 0.467s: test/cmd/policy.sh:204: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.' Running test/cmd/policy.sh:205: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'anyuid'... SUCCESS after 0.427s: test/cmd/policy.sh:205: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'anyuid' Running test/cmd/policy.sh:206: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/redis-slave.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'anyuid'... SUCCESS after 0.401s: test/cmd/policy.sh:206: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/redis-slave.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'anyuid' Running test/cmd/policy.sh:207: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/nginx_pod.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'privileged'... SUCCESS after 0.352s: test/cmd/policy.sh:207: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/nginx_pod.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'privileged' Running test/cmd/policy.sh:208: executing 'oc login -u bob -p bobpassword' expecting success... SUCCESS after 0.468s: test/cmd/policy.sh:208: executing 'oc login -u bob -p bobpassword' expecting success Running test/cmd/policy.sh:209: executing 'oc whoami' expecting success and text 'bob'... SUCCESS after 0.251s: test/cmd/policy.sh:209: executing 'oc whoami' expecting success and text 'bob' Running test/cmd/policy.sh:210: executing 'oc new-project policy-second' expecting success... SUCCESS after 0.597s: test/cmd/policy.sh:210: executing 'oc new-project policy-second' expecting success Running test/cmd/policy.sh:211: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'restricted'... SUCCESS after 0.546s: test/cmd/policy.sh:211: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'restricted' Running test/cmd/policy.sh:212: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello restricted'... SUCCESS after 0.396s: test/cmd/policy.sh:212: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello restricted' Running test/cmd/policy.sh:213: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/two_jobs.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'restrictedrestricted'... SUCCESS after 0.286s: test/cmd/policy.sh:213: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/two_jobs.yaml -o=jsonpath={.status.AllowedBy.name}' expecting success and text 'restrictedrestricted' Running test/cmd/policy.sh:214: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/job.yaml -ojsonpath={.status.allowedServiceAccounts}' expecting success and text '\[\]'... SUCCESS after 0.373s: test/cmd/policy.sh:214: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/job.yaml -ojsonpath={.status.allowedServiceAccounts}' expecting success and text '\[\]' Running test/cmd/policy.sh:215: executing 'oc policy scc-review -f ${OS_ROOT}/test/extended/testdata/deployments/deployment-simple.yaml -ojsonpath={.status.allowedServiceAccounts}' expecting success and text '\[\]'... SUCCESS after 0.650s: test/cmd/policy.sh:215: executing 'oc policy scc-review -f ${OS_ROOT}/test/extended/testdata/deployments/deployment-simple.yaml -ojsonpath={.status.allowedServiceAccounts}' expecting success and text '\[\]' Running test/cmd/policy.sh:216: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/external-service.yaml' expecting failure... SUCCESS after 0.270s: test/cmd/policy.sh:216: executing 'oc policy scc-subject-review -f ${OS_ROOT}/test/testdata/external-service.yaml' expecting failure Running test/cmd/policy.sh:217: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success... SUCCESS after 0.306s: test/cmd/policy.sh:217: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success Running test/cmd/policy.sh:218: executing 'oc policy scc-subject-review -u bob -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml -n policy-second -o=jsonpath={.status.allowedBy.name}' expecting success and text 'restricted'... SUCCESS after 0.415s: test/cmd/policy.sh:218: executing 'oc policy scc-subject-review -u bob -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml -n policy-second -o=jsonpath={.status.allowedBy.name}' expecting success and text 'restricted' Running test/cmd/policy.sh:219: executing 'oc policy scc-subject-review -u bob -f ${OS_ROOT}/test/testdata/job.yaml -n policy-second --no-headers=true' expecting success and text 'Job/hello <none>'... SUCCESS after 0.486s: test/cmd/policy.sh:219: executing 'oc policy scc-subject-review -u bob -f ${OS_ROOT}/test/testdata/job.yaml -n policy-second --no-headers=true' expecting success and text 'Job/hello <none>' Running test/cmd/policy.sh:220: executing 'oc policy scc-subject-review -z default -f ${OS_ROOT}/test/testdata/job.yaml' expecting success... SUCCESS after 0.350s: test/cmd/policy.sh:220: executing 'oc policy scc-subject-review -z default -f ${OS_ROOT}/test/testdata/job.yaml' expecting success Running test/cmd/policy.sh:221: executing 'oc policy scc-subject-review -z default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted'... SUCCESS after 0.448s: test/cmd/policy.sh:221: executing 'oc policy scc-subject-review -z default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted' Running test/cmd/policy.sh:222: executing 'oc policy scc-subject-review -u alice -z default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: --user and --serviceaccount are mutually exclusive'... SUCCESS after 0.505s: test/cmd/policy.sh:222: executing 'oc policy scc-subject-review -u alice -z default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: --user and --serviceaccount are mutually exclusive' Running test/cmd/policy.sh:223: executing 'oc policy scc-subject-review -z system:serviceaccount:alice:default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted'... SUCCESS after 0.363s: test/cmd/policy.sh:223: executing 'oc policy scc-subject-review -z system:serviceaccount:alice:default -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted' Running test/cmd/policy.sh:224: executing 'oc policy scc-subject-review -u alice -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted'... SUCCESS after 0.316s: test/cmd/policy.sh:224: executing 'oc policy scc-subject-review -u alice -g system:authenticated -f ${OS_ROOT}/test/testdata/job.yaml' expecting success and text 'restricted' Running test/cmd/policy.sh:225: executing 'oc policy scc-subject-review -u alice -g system:authenticated -n noexist -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: unable to compute Pod Security Policy Subject Review for "hello": namespaces "noexist" not found'... SUCCESS after 0.345s: test/cmd/policy.sh:225: executing 'oc policy scc-subject-review -u alice -g system:authenticated -n noexist -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: unable to compute Pod Security Policy Subject Review for "hello": namespaces "noexist" not found' Running test/cmd/policy.sh:226: executing 'oc create -f ${OS_ROOT}/test/testdata/scc_lax.yaml' expecting success... SUCCESS after 0.373s: test/cmd/policy.sh:226: executing 'oc create -f ${OS_ROOT}/test/testdata/scc_lax.yaml' expecting success Running test/cmd/policy.sh:227: executing 'oc login -u bob -p bobpassword' expecting success... SUCCESS after 0.524s: test/cmd/policy.sh:227: executing 'oc login -u bob -p bobpassword' expecting success Running test/cmd/policy.sh:228: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax'... SUCCESS after 0.398s: test/cmd/policy.sh:228: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax' Running test/cmd/policy.sh:229: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax'... SUCCESS after 0.635s: test/cmd/policy.sh:229: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax' Running test/cmd/policy.sh:230: executing 'oc policy scc-review -z system:serviceaccount:policy-second:default -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax'... SUCCESS after 0.396s: test/cmd/policy.sh:230: executing 'oc policy scc-review -z system:serviceaccount:policy-second:default -f ${OS_ROOT}/test/testdata/job.yaml --no-headers=true' expecting success and text 'Job/hello default lax' Running test/cmd/policy.sh:231: executing 'oc policy scc-review -f ${OS_ROOT}/test/extended/testdata/deployments/deployment-simple.yaml --no-headers=true' expecting success and text 'DeploymentConfig/deployment-simple default lax'... SUCCESS after 0.397s: test/cmd/policy.sh:231: executing 'oc policy scc-review -f ${OS_ROOT}/test/extended/testdata/deployments/deployment-simple.yaml --no-headers=true' expecting success and text 'DeploymentConfig/deployment-simple default lax' Running test/cmd/policy.sh:232: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/nginx_pod.yaml --no-headers=true' expecting success... SUCCESS after 0.291s: test/cmd/policy.sh:232: executing 'oc policy scc-review -f ${OS_ROOT}/test/testdata/nginx_pod.yaml --no-headers=true' expecting success Running test/cmd/policy.sh:233: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/job.yaml --namespace=no-exist' expecting failure and text 'error: unable to compute Pod Security Policy Review for "hello": podsecuritypolicyreviews.security.openshift.io is forbidden: User "bob" cannot create podsecuritypolicyreviews.security.openshift.io in the namespace "no-exist": User "bob" cannot create podsecuritypolicyreviews.security.openshift.io in project "no-exist"'... SUCCESS after 0.241s: test/cmd/policy.sh:233: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/job.yaml --namespace=no-exist' expecting failure and text 'error: unable to compute Pod Security Policy Review for "hello": podsecuritypolicyreviews.security.openshift.io is forbidden: User "bob" cannot create podsecuritypolicyreviews.security.openshift.io in the namespace "no-exist": User "bob" cannot create podsecuritypolicyreviews.security.openshift.io in project "no-exist"' Running test/cmd/policy.sh:234: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.'... SUCCESS after 0.333s: test/cmd/policy.sh:234: executing 'oc policy scc-review -z default -f ${OS_ROOT}/test/testdata/pspreview_unsupported_statefulset.yaml' expecting failure and text 'error: StatefulSet "rd" with spec.volumeClaimTemplates currently not supported.' Running test/cmd/policy.sh:235: executing 'oc policy scc-review -z no-exist -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: unable to compute Pod Security Policy Review for "hello": unable to retrieve ServiceAccount no-exist: serviceaccount "no-exist" not found'... SUCCESS after 0.577s: test/cmd/policy.sh:235: executing 'oc policy scc-review -z no-exist -f ${OS_ROOT}/test/testdata/job.yaml' expecting failure and text 'error: unable to compute Pod Security Policy Review for "hello": unable to retrieve ServiceAccount no-exist: serviceaccount "no-exist" not found' Running test/cmd/policy.sh:236: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success... SUCCESS after 0.547s: test/cmd/policy.sh:236: executing 'oc login -u system:admin -n 'cmd-policy'' expecting success Running test/cmd/policy.sh:237: executing 'oc delete project policy-second' expecting success... SUCCESS after 0.456s: test/cmd/policy.sh:237: executing 'oc delete project policy-second' expecting success Running test/cmd/policy.sh:244: executing 'oc create -f /tmp/tmp.9VW782OhDe/cluster_admin_1.0.yaml' expecting success... SUCCESS after 0.367s: test/cmd/policy.sh:244: executing 'oc create -f /tmp/tmp.9VW782OhDe/cluster_admin_1.0.yaml' expecting success Running test/cmd/policy.sh:245: executing 'oc adm policy add-cluster-role-to-user alternate-cluster-admin alternate-cluster-admin-user' expecting success... SUCCESS after 0.444s: test/cmd/policy.sh:245: executing 'oc adm policy add-cluster-role-to-user alternate-cluster-admin alternate-cluster-admin-user' expecting success Running test/cmd/policy.sh:249: executing 'oc config view --raw > /tmp/tmp.9VW782OhDe/tempconfig' expecting success... SUCCESS after 0.234s: test/cmd/policy.sh:249: executing 'oc config view --raw > /tmp/tmp.9VW782OhDe/tempconfig' expecting success Running test/cmd/policy.sh:250: executing 'oc login -u alternate-cluster-admin-user -p anything --config=/tmp/tmp.9VW782OhDe/tempconfig' expecting success... SUCCESS after 0.415s: test/cmd/policy.sh:250: executing 'oc login -u alternate-cluster-admin-user -p anything --config=/tmp/tmp.9VW782OhDe/tempconfig' expecting success Running test/cmd/policy.sh:253: executing 'oc policy who-can update clusterrroles' expecting any result and text 'alternate-cluster-admin-user'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.441s: test/cmd/policy.sh:253: executing 'oc policy who-can update clusterrroles' expecting any result and text 'alternate-cluster-admin-user'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:257: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/alternate_cluster_admin.yaml' expecting success... SUCCESS after 0.467s: test/cmd/policy.sh:257: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/alternate_cluster_admin.yaml' expecting success Running test/cmd/policy.sh:260: executing 'oc policy who-can update clusterrroles' expecting any result and text 'alternate-cluster-admin-user'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.443s: test/cmd/policy.sh:260: executing 'oc policy who-can update clusterrroles' expecting any result and text 'alternate-cluster-admin-user'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:264: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/cluster_admin_without_apigroups.yaml' expecting success... SUCCESS after 0.449s: test/cmd/policy.sh:264: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/cluster_admin_without_apigroups.yaml' expecting success Running test/cmd/policy.sh:267: executing 'oc policy who-can update hpa.autoscaling | grep -q alternate-cluster-admin-user' expecting failure; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.385s: test/cmd/policy.sh:267: executing 'oc policy who-can update hpa.autoscaling | grep -q alternate-cluster-admin-user' expecting failure; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:271: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/alternate_cluster_admin.yaml' expecting failure and text 'attempt to grant extra privileges'... SUCCESS after 0.353s: test/cmd/policy.sh:271: executing 'oc replace --config=/tmp/tmp.9VW782OhDe/tempconfig clusterrole/alternate-cluster-admin -f /tmp/tmp.9VW782OhDe/alternate_cluster_admin.yaml' expecting failure and text 'attempt to grant extra privileges' Running test/cmd/policy.sh:275: executing 'oc policy can-i list pods --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting success and text 'no'... SUCCESS after 0.412s: test/cmd/policy.sh:275: executing 'oc policy can-i list pods --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting success and text 'no' Running test/cmd/policy.sh:276: executing 'oc adm policy add-role-to-user view -z=testserviceaccount' expecting success and text 'role "view" added: "testserviceaccount"'... SUCCESS after 0.358s: test/cmd/policy.sh:276: executing 'oc adm policy add-role-to-user view -z=testserviceaccount' expecting success and text 'role "view" added: "testserviceaccount"' Running test/cmd/policy.sh:278: executing 'oc policy can-i list pods --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'yes'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.350s: test/cmd/policy.sh:278: executing 'oc policy can-i list pods --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'yes'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:279: executing 'oc policy can-i list pods --all-namespaces --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'no'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.676s: test/cmd/policy.sh:279: executing 'oc policy can-i list pods --all-namespaces --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'no'; re-trying every 0.2s until completion or 60.000s Running test/cmd/policy.sh:281: executing 'oc adm policy add-cluster-role-to-user cluster-reader -z=testserviceaccount' expecting success and text 'cluster role "cluster-reader" added: "testserviceaccount"'... SUCCESS after 0.311s: test/cmd/policy.sh:281: executing 'oc adm policy add-cluster-role-to-user cluster-reader -z=testserviceaccount' expecting success and text 'cluster role "cluster-reader" added: "testserviceaccount"' Running test/cmd/policy.sh:282: executing 'oc policy can-i list pods --all-namespaces --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'yes'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.248s: test/cmd/policy.sh:282: executing 'oc policy can-i list pods --all-namespaces --as=system:serviceaccount:cmd-policy:testserviceaccount' expecting any result and text 'yes'; re-trying every 0.2s until completion or 60.000s policy: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.271s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-policy'' expecting success... SUCCESS after 0.293s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-policy'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/printer.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.601s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.344s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-printer'' expecting success... SUCCESS after 0.828s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-printer'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-printer'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.965s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-printer'; re-trying every 0.2s until completion or 60.000s Running test/cmd/printer.sh:7: executing 'oc create imagestream test1' expecting success... SUCCESS after 0.302s: test/cmd/printer.sh:7: executing 'oc create imagestream test1' expecting success Running test/cmd/printer.sh:8: executing 'oc new-app node' expecting success... SUCCESS after 0.813s: test/cmd/printer.sh:8: executing 'oc new-app node' expecting success Running test/cmd/printer.sh:9: executing 'oc get all' expecting success and text 'imagestreams/test1'... SUCCESS after 1.148s: test/cmd/printer.sh:9: executing 'oc get all' expecting success and text 'imagestreams/test1' Running test/cmd/printer.sh:10: executing 'oc get is' expecting success and not text 'imagestreams/test1'... SUCCESS after 0.822s: test/cmd/printer.sh:10: executing 'oc get is' expecting success and not text 'imagestreams/test1' Running test/cmd/printer.sh:13: executing 'oc create -f examples/sample-app/application-template-custombuild.json' expecting success... SUCCESS after 0.352s: test/cmd/printer.sh:13: executing 'oc create -f examples/sample-app/application-template-custombuild.json' expecting success Running test/cmd/printer.sh:14: executing 'oc new-app ruby-helloworld-sample' expecting success and text 'deploymentconfig "frontend" created'... SUCCESS after 0.695s: test/cmd/printer.sh:14: executing 'oc new-app ruby-helloworld-sample' expecting success and text 'deploymentconfig "frontend" created' Running test/cmd/printer.sh:15: executing 'oc get all --all-namespaces' expecting success and text 'cmd-printer[\ ]+buildconfigs\/ruby\-sample\-build'... SUCCESS after 1.088s: test/cmd/printer.sh:15: executing 'oc get all --all-namespaces' expecting success and text 'cmd-printer[\ ]+buildconfigs\/ruby\-sample\-build' Running test/cmd/printer.sh:18: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value' expecting success and text 'deploymentconfig "node" updated'... SUCCESS after 0.764s: test/cmd/printer.sh:18: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value' expecting success and text 'deploymentconfig "node" updated' Running test/cmd/printer.sh:19: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o custom-colums="NAME:.metadata.name"' expecting success... SUCCESS after 0.740s: test/cmd/printer.sh:19: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o custom-colums="NAME:.metadata.name"' expecting success Running test/cmd/printer.sh:20: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o yaml' expecting success and text 'apiVersion: v1'... SUCCESS after 0.531s: test/cmd/printer.sh:20: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o yaml' expecting success and text 'apiVersion: v1' Running test/cmd/printer.sh:21: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o json' expecting success and text '"apiVersion": "v1"'... SUCCESS after 0.539s: test/cmd/printer.sh:21: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o json' expecting success and text '"apiVersion": "v1"' Running test/cmd/printer.sh:22: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o wide' expecting success and text 'node'... SUCCESS after 0.405s: test/cmd/printer.sh:22: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o wide' expecting success and text 'node' Running test/cmd/printer.sh:23: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o name' expecting success and text 'deploymentconfigs/node'... SUCCESS after 0.881s: test/cmd/printer.sh:23: executing 'oc new-app node -o yaml | oc set env -f - MYVAR=value -o name' expecting success and text 'deploymentconfigs/node' resource printer: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.465s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-printer'' expecting success... SUCCESS after 0.387s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-printer'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/projects.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.672s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.288s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-projects'' expecting success... SUCCESS after 0.365s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-projects'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-projects'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.566s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-projects'; re-trying every 0.2s until completion or 60.000s Running test/cmd/projects.sh:9: executing 'oc policy who-can get pods -n missing-ns' expecting success... SUCCESS after 0.398s: test/cmd/projects.sh:9: executing 'oc policy who-can get pods -n missing-ns' expecting success Running test/cmd/projects.sh:11: executing 'oc policy can-i get pods -n missing-ns' expecting success... SUCCESS after 0.361s: test/cmd/projects.sh:11: executing 'oc policy can-i get pods -n missing-ns' expecting success Running test/cmd/projects.sh:13: executing 'oc policy can-i --list -n missing-ns' expecting success... SUCCESS after 0.408s: test/cmd/projects.sh:13: executing 'oc policy can-i --list -n missing-ns' expecting success Running test/cmd/projects.sh:15: executing 'oc policy can-i get pods --user=bob -n missing-ns' expecting success... SUCCESS after 0.366s: test/cmd/projects.sh:15: executing 'oc policy can-i get pods --user=bob -n missing-ns' expecting success Running test/cmd/projects.sh:17: executing 'oc policy can-i --list --user=bob -n missing-ns' expecting success... SUCCESS after 0.638s: test/cmd/projects.sh:17: executing 'oc policy can-i --list --user=bob -n missing-ns' expecting success project lifecycle ok Running test/cmd/projects.sh:21: executing 'oc projects test_arg' expecting failure and text 'no arguments'... SUCCESS after 0.392s: test/cmd/projects.sh:21: executing 'oc projects test_arg' expecting failure and text 'no arguments' Running test/cmd/projects.sh:23: executing 'oc login -u test -p test' expecting success... SUCCESS after 0.363s: test/cmd/projects.sh:23: executing 'oc login -u test -p test' expecting success Running test/cmd/projects.sh:24: executing 'oc projects' expecting success and text 'You are not a member of any projects'... SUCCESS after 0.262s: test/cmd/projects.sh:24: executing 'oc projects' expecting success and text 'You are not a member of any projects' Running test/cmd/projects.sh:26: executing 'oc new-project test4' expecting success and text 'Now using project "test4" on server '... SUCCESS after 0.690s: test/cmd/projects.sh:26: executing 'oc new-project test4' expecting success and text 'Now using project "test4" on server ' Running test/cmd/projects.sh:27: executing 'oc projects' expecting any result and text 'You have one project on this server: "test4".'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.403s: test/cmd/projects.sh:27: executing 'oc projects' expecting any result and text 'You have one project on this server: "test4".'; re-trying every 0.2s until completion or 60.000s Running test/cmd/projects.sh:28: executing 'oc new-project test5' expecting success and text 'Now using project "test5" on server '... SUCCESS after 0.582s: test/cmd/projects.sh:28: executing 'oc new-project test5' expecting success and text 'Now using project "test5" on server ' Running test/cmd/projects.sh:29: executing 'oc projects' expecting any result and text 'You have access to the following projects and can switch between them with '; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.414s: test/cmd/projects.sh:29: executing 'oc projects' expecting any result and text 'You have access to the following projects and can switch between them with '; re-trying every 0.2s until completion or 60.000s Running test/cmd/projects.sh:30: executing 'oc projects' expecting success and text 'test4'... SUCCESS after 0.321s: test/cmd/projects.sh:30: executing 'oc projects' expecting success and text 'test4' Running test/cmd/projects.sh:31: executing 'oc projects' expecting success and text 'test5'... SUCCESS after 0.259s: test/cmd/projects.sh:31: executing 'oc projects' expecting success and text 'test5' Running test/cmd/projects.sh:33: executing 'oc new-project test6 --skip-config-write' expecting success and text 'To switch to this project and start adding applications, use'... SUCCESS after 0.549s: test/cmd/projects.sh:33: executing 'oc new-project test6 --skip-config-write' expecting success and text 'To switch to this project and start adding applications, use' Running test/cmd/projects.sh:34: executing 'oc config view -o jsonpath="{.contexts[*].context.namespace}"' expecting success and not text '\btest6\b'... SUCCESS after 0.389s: test/cmd/projects.sh:34: executing 'oc config view -o jsonpath="{.contexts[*].context.namespace}"' expecting success and not text '\btest6\b' Running test/cmd/projects.sh:35: executing 'oc projects' expecting any result and text 'test6'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.398s: test/cmd/projects.sh:35: executing 'oc projects' expecting any result and text 'test6'; re-trying every 0.2s until completion or 60.000s Running test/cmd/projects.sh:36: executing 'oc project test6' expecting success and text 'Now using project "test6"'... SUCCESS after 0.454s: test/cmd/projects.sh:36: executing 'oc project test6' expecting success and text 'Now using project "test6"' Running test/cmd/projects.sh:37: executing 'oc config view -o jsonpath="{.contexts[*].context.namespace}"' expecting success and text '\btest6\b'... SUCCESS after 0.334s: test/cmd/projects.sh:37: executing 'oc config view -o jsonpath="{.contexts[*].context.namespace}"' expecting success and text '\btest6\b' projects command ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.386s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-projects'' expecting success... SUCCESS after 0.659s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-projects'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/quota.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.393s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.259s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-quota'' expecting success... SUCCESS after 0.421s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-quota'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-quota'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.492s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-quota'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:16: executing 'oc new-project quota-foo --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success... SUCCESS after 0.650s: test/cmd/quota.sh:16: executing 'oc new-project quota-foo --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success Running test/cmd/quota.sh:17: executing 'oc label namespace/quota-foo owner=deads' expecting success... SUCCESS after 0.418s: test/cmd/quota.sh:17: executing 'oc label namespace/quota-foo owner=deads' expecting success Running test/cmd/quota.sh:18: executing 'oc create clusterquota for-deads --project-label-selector=owner=deads --hard=secrets=10' expecting success... SUCCESS after 0.384s: test/cmd/quota.sh:18: executing 'oc create clusterquota for-deads --project-label-selector=owner=deads --hard=secrets=10' expecting success Running test/cmd/quota.sh:19: executing 'oc get appliedclusterresourcequota -n quota-foo --as deads -o name' expecting any result and text 'for-deads'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.319s: test/cmd/quota.sh:19: executing 'oc get appliedclusterresourcequota -n quota-foo --as deads -o name' expecting any result and text 'for-deads'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:20: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.805s: test/cmd/quota.sh:20: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads -n quota-foo --as deads' expecting any result and text 'secrets.*9'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:22: executing 'oc create clusterquota for-deads-malformed --project-annotation-selector="openshift.#$%/requester=deads"' expecting failure and text 'prefix part a DNS-1123 subdomain must consist of lower case alphanumeric characters'... SUCCESS after 0.367s: test/cmd/quota.sh:22: executing 'oc create clusterquota for-deads-malformed --project-annotation-selector="openshift.#$%/requester=deads"' expecting failure and text 'prefix part a DNS-1123 subdomain must consist of lower case alphanumeric characters' Running test/cmd/quota.sh:23: executing 'oc create clusterquota for-deads-malformed --project-annotation-selector=openshift.io/requester=deads,openshift.io/novalue' expecting failure and text 'Malformed annotation selector'... SUCCESS after 0.338s: test/cmd/quota.sh:23: executing 'oc create clusterquota for-deads-malformed --project-annotation-selector=openshift.io/requester=deads,openshift.io/novalue' expecting failure and text 'Malformed annotation selector' Running test/cmd/quota.sh:24: executing 'oc create clusterquota for-deads-by-annotation --project-annotation-selector=openshift.io/requester=deads --hard=secrets=50' expecting success... SUCCESS after 0.449s: test/cmd/quota.sh:24: executing 'oc create clusterquota for-deads-by-annotation --project-annotation-selector=openshift.io/requester=deads --hard=secrets=50' expecting success Running test/cmd/quota.sh:25: executing 'oc create clusterquota for-deads-email-by-annotation --project-annotation-selector=openshift.io/requester=deads@deads.io --hard=secrets=50' expecting success... SUCCESS after 0.595s: test/cmd/quota.sh:25: executing 'oc create clusterquota for-deads-email-by-annotation --project-annotation-selector=openshift.io/requester=deads@deads.io --hard=secrets=50' expecting success Running test/cmd/quota.sh:26: executing 'oc create clusterresourcequota annotation-value-with-commas --project-annotation-selector="openshift.io/requester=deads,\"openshift.io/withcomma=yes,true,1\"" --hard=pods=10' expecting success... SUCCESS after 0.300s: test/cmd/quota.sh:26: executing 'oc create clusterresourcequota annotation-value-with-commas --project-annotation-selector="openshift.io/requester=deads,\"openshift.io/withcomma=yes,true,1\"" --hard=pods=10' expecting success Running test/cmd/quota.sh:27: executing 'oc new-project quota-bar --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success... SUCCESS after 0.438s: test/cmd/quota.sh:27: executing 'oc new-project quota-bar --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success Running test/cmd/quota.sh:28: executing 'oc new-project quota-asmail --as=deads@deads.io --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success... SUCCESS after 0.518s: test/cmd/quota.sh:28: executing 'oc new-project quota-asmail --as=deads@deads.io --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success Running test/cmd/quota.sh:29: executing 'oc get appliedclusterresourcequota -n quota-bar --as deads -o name' expecting any result and text 'for-deads-by-annotation'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.504s: test/cmd/quota.sh:29: executing 'oc get appliedclusterresourcequota -n quota-bar --as deads -o name' expecting any result and text 'for-deads-by-annotation'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:30: executing 'oc get appliedclusterresourcequota -n quota-foo --as deads -o name' expecting any result and text 'for-deads-by-annotation'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.456s: test/cmd/quota.sh:30: executing 'oc get appliedclusterresourcequota -n quota-foo --as deads -o name' expecting any result and text 'for-deads-by-annotation'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:31: executing 'oc get appliedclusterresourcequota -n quota-asmail --as deads@deads.io -o name' expecting any result and text 'for-deads-email-by-annotation'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.418s: test/cmd/quota.sh:31: executing 'oc get appliedclusterresourcequota -n quota-asmail --as deads@deads.io -o name' expecting any result and text 'for-deads-email-by-annotation'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:36: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads-by-annotation -n quota-bar --as deads' expecting any result and text 'secrets.*(1[0-9]|20|21|22|23|24|25|26)'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.373s: test/cmd/quota.sh:36: executing 'oc get secrets -o name --all-namespaces; oc describe appliedclusterresourcequota/for-deads-by-annotation -n quota-bar --as deads' expecting any result and text 'secrets.*(1[0-9]|20|21|22|23|24|25|26)'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:37: executing 'oc delete project quota-foo' expecting success... SUCCESS after 0.362s: test/cmd/quota.sh:37: executing 'oc delete project quota-foo' expecting success Running test/cmd/quota.sh:38: executing 'oc get clusterresourcequota/for-deads-by-annotation -o jsonpath="{.status.namespaces[*].namespace}"' expecting any result and not text 'quota-foo'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 5.957s: test/cmd/quota.sh:38: executing 'oc get clusterresourcequota/for-deads-by-annotation -o jsonpath="{.status.namespaces[*].namespace}"' expecting any result and not text 'quota-foo'; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:39: executing 'oc delete project quota-bar' expecting success... SUCCESS after 0.431s: test/cmd/quota.sh:39: executing 'oc delete project quota-bar' expecting success Running test/cmd/quota.sh:40: executing 'oc delete project quota-asmail' expecting success... SUCCESS after 0.416s: test/cmd/quota.sh:40: executing 'oc delete project quota-asmail' expecting success clusterquota: ok Running test/cmd/quota.sh:47: executing 'oc new-project quota-images --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success... SUCCESS after 0.666s: test/cmd/quota.sh:47: executing 'oc new-project quota-images --as=deads --as-group=system:authenticated --as-group=system:authenticated:oauth' expecting success Running test/cmd/quota.sh:48: executing 'oc create quota -n quota-images is-quota --hard openshift.io/imagestreams=1' expecting success... SUCCESS after 0.300s: test/cmd/quota.sh:48: executing 'oc create quota -n quota-images is-quota --hard openshift.io/imagestreams=1' expecting success Running test/cmd/quota.sh:49: executing 'oc tag -n quota-images openshift/hello-openshift myis2:v2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.356s: test/cmd/quota.sh:49: executing 'oc tag -n quota-images openshift/hello-openshift myis2:v2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/quota.sh:50: executing 'oc tag -n quota-images busybox mybox:v1' expecting failure and text 'exceeded quota'... SUCCESS after 0.578s: test/cmd/quota.sh:50: executing 'oc tag -n quota-images busybox mybox:v1' expecting failure and text 'exceeded quota' Running test/cmd/quota.sh:51: executing 'oc delete project quota-images' expecting success... SUCCESS after 0.493s: test/cmd/quota.sh:51: executing 'oc delete project quota-images' expecting success imagestreams: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.414s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-quota'' expecting success... SUCCESS after 0.392s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-quota'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/router.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.581s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.492s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-router'' expecting success... SUCCESS after 0.597s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-router'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-router'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.329s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-router'; re-trying every 0.2s until completion or 60.000s Running test/cmd/router.sh:18: executing 'oc adm router --dry-run' expecting failure and text 'does not exist'... SUCCESS after 0.593s: test/cmd/router.sh:18: executing 'oc adm router --dry-run' expecting failure and text 'does not exist' Running test/cmd/router.sh:19: executing 'oc adm router --dry-run -o yaml' expecting failure and text 'service account "router" is not allowed to access the host network on nodes'... SUCCESS after 0.584s: test/cmd/router.sh:19: executing 'oc adm router --dry-run -o yaml' expecting failure and text 'service account "router" is not allowed to access the host network on nodes' Running test/cmd/router.sh:20: executing 'oc adm router --dry-run -o yaml' expecting failure and text 'name: router'... SUCCESS after 0.528s: test/cmd/router.sh:20: executing 'oc adm router --dry-run -o yaml' expecting failure and text 'name: router' Running test/cmd/router.sh:21: executing 'oc adm router --dry-run --stats-port=1937 -o yaml' expecting failure and text 'containerPort: 1937'... SUCCESS after 0.512s: test/cmd/router.sh:21: executing 'oc adm router --dry-run --stats-port=1937 -o yaml' expecting failure and text 'containerPort: 1937' Running test/cmd/router.sh:22: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'service account "router" is not allowed to access host ports on nodes'... SUCCESS after 0.496s: test/cmd/router.sh:22: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'service account "router" is not allowed to access host ports on nodes' Running test/cmd/router.sh:23: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'hostPort: 1936'... SUCCESS after 0.322s: test/cmd/router.sh:23: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'hostPort: 1936' Running test/cmd/router.sh:24: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'hostPort: 1936'... SUCCESS after 0.457s: test/cmd/router.sh:24: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'hostPort: 1936' Running test/cmd/router.sh:25: executing 'oc adm router --dry-run --host-network=false --stats-port=1937 -o yaml' expecting failure and text 'hostPort: 1937'... SUCCESS after 0.464s: test/cmd/router.sh:25: executing 'oc adm router --dry-run --host-network=false --stats-port=1937 -o yaml' expecting failure and text 'hostPort: 1937' Running test/cmd/router.sh:26: executing 'oc adm router --dry-run --service-account=other -o yaml' expecting failure and text 'service account "other" is not allowed to access the host network on nodes'... SUCCESS after 0.466s: test/cmd/router.sh:26: executing 'oc adm router --dry-run --service-account=other -o yaml' expecting failure and text 'service account "other" is not allowed to access the host network on nodes' Running test/cmd/router.sh:28: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'containerPort: 80'... SUCCESS after 0.504s: test/cmd/router.sh:28: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'containerPort: 80' Running test/cmd/router.sh:29: executing 'oc adm router --dry-run --host-network=false --ports=80:8080 -o yaml' expecting failure and text 'port: 8080'... SUCCESS after 0.687s: test/cmd/router.sh:29: executing 'oc adm router --dry-run --host-network=false --ports=80:8080 -o yaml' expecting failure and text 'port: 8080' Running test/cmd/router.sh:30: executing 'oc adm router --dry-run --host-network=false --ports=80,8443:443 -o yaml' expecting failure and text 'targetPort: 8443'... SUCCESS after 0.507s: test/cmd/router.sh:30: executing 'oc adm router --dry-run --host-network=false --ports=80,8443:443 -o yaml' expecting failure and text 'targetPort: 8443' Running test/cmd/router.sh:31: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'hostPort'... SUCCESS after 0.279s: test/cmd/router.sh:31: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting failure and text 'hostPort' Running test/cmd/router.sh:32: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'hostPort'... SUCCESS after 0.372s: test/cmd/router.sh:32: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'hostPort' Running test/cmd/router.sh:34: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'host: localhost'... SUCCESS after 0.345s: test/cmd/router.sh:34: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'host: localhost' Running test/cmd/router.sh:36: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'OPENSHIFT_MASTER'... SUCCESS after 0.526s: test/cmd/router.sh:36: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'OPENSHIFT_MASTER' Running test/cmd/router.sh:37: executing 'oc adm router --dry-run --host-network=false --host-ports=false --secrets-as-env -o yaml' expecting success and not text 'OPENSHIFT_MASTER'... SUCCESS after 0.543s: test/cmd/router.sh:37: executing 'oc adm router --dry-run --host-network=false --host-ports=false --secrets-as-env -o yaml' expecting success and not text 'OPENSHIFT_MASTER' Running test/cmd/router.sh:39: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=a.b.c.d -o yaml' expecting success and text 'a.b.c.d'... SUCCESS after 0.457s: test/cmd/router.sh:39: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=a.b.c.d -o yaml' expecting success and text 'a.b.c.d' Running test/cmd/router.sh:40: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1a.b.c.d -o yaml' expecting success and text '1a.b.c.d'... SUCCESS after 0.426s: test/cmd/router.sh:40: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1a.b.c.d -o yaml' expecting success and text '1a.b.c.d' Running test/cmd/router.sh:41: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1a._b.c.d -o yaml' expecting failure and text 'error: invalid canonical hostname'... SUCCESS after 0.344s: test/cmd/router.sh:41: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1a._b.c.d -o yaml' expecting failure and text 'error: invalid canonical hostname' Running test/cmd/router.sh:42: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1.2.3.4 -o yaml' expecting failure and text 'error: canonical hostname must not be an IP address'... SUCCESS after 0.388s: test/cmd/router.sh:42: executing 'oc adm router --dry-run --host-network=false --host-ports=false --router-canonical-hostname=1.2.3.4 -o yaml' expecting failure and text 'error: canonical hostname must not be an IP address' Running test/cmd/router.sh:44: executing 'oc adm router --dry-run --host-network=false --host-ports=false --max-connections=14583 -o yaml' expecting success and text '14583'... SUCCESS after 0.323s: test/cmd/router.sh:44: executing 'oc adm router --dry-run --host-network=false --host-ports=false --max-connections=14583 -o yaml' expecting success and text '14583' Running test/cmd/router.sh:46: executing 'oc adm router --dry-run --host-network=false --host-ports=false --ciphers=modern -o yaml' expecting success and text 'modern'... SUCCESS after 0.355s: test/cmd/router.sh:46: executing 'oc adm router --dry-run --host-network=false --host-ports=false --ciphers=modern -o yaml' expecting success and text 'modern' Running test/cmd/router.sh:48: executing 'oc adm router --dry-run --host-network=false --host-ports=false --strict-sni -o yaml' expecting success and text 'ROUTER_STRICT_SNI'... SUCCESS after 0.476s: test/cmd/router.sh:48: executing 'oc adm router --dry-run --host-network=false --host-ports=false --strict-sni -o yaml' expecting success and text 'ROUTER_STRICT_SNI' Running test/cmd/router.sh:51: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'value: /etc/pki/tls/private/tls.crt'... SUCCESS after 0.591s: test/cmd/router.sh:51: executing 'oc adm router --dry-run --host-network=false --host-ports=false -o yaml' expecting success and not text 'value: /etc/pki/tls/private/tls.crt' Running test/cmd/router.sh:52: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=/go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/non-default-config -o yaml' expecting failure and text 'the default cert must contain a private key'... SUCCESS after 0.425s: test/cmd/router.sh:52: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=/go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/.kube/non-default-config -o yaml' expecting failure and text 'the default cert must contain a private key' Running test/cmd/router.sh:53: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'value: /etc/pki/tls/private/tls.crt'... SUCCESS after 0.361s: test/cmd/router.sh:53: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'value: /etc/pki/tls/private/tls.crt' Running test/cmd/router.sh:54: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'tls.key:'... SUCCESS after 0.431s: test/cmd/router.sh:54: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'tls.key:' Running test/cmd/router.sh:55: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'tls.crt: '... SUCCESS after 0.551s: test/cmd/router.sh:55: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'tls.crt: ' Running test/cmd/router.sh:56: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'type: kubernetes.io/tls'... SUCCESS after 0.404s: test/cmd/router.sh:56: executing 'oc adm router --dry-run --host-network=false --host-ports=false --default-cert=test/testdata/router/default_pub_keys.pem -o yaml' expecting success and text 'type: kubernetes.io/tls' Running test/cmd/router.sh:58: executing 'oc adm policy add-scc-to-user privileged -z router' expecting success... SUCCESS after 0.342s: test/cmd/router.sh:58: executing 'oc adm policy add-scc-to-user privileged -z router' expecting success Running test/cmd/router.sh:60: executing 'oc adm router --dry-run -o yaml' expecting success and text 'host: localhost'... SUCCESS after 0.294s: test/cmd/router.sh:60: executing 'oc adm router --dry-run -o yaml' expecting success and text 'host: localhost' Running test/cmd/router.sh:61: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting success and text 'hostPort'... SUCCESS after 0.415s: test/cmd/router.sh:61: executing 'oc adm router --dry-run --host-network=false -o yaml' expecting success and text 'hostPort' Running test/cmd/router.sh:62: executing 'oc adm router --ports=80,8443:443' expecting failure and text 'container port 8443 and host port 443 must be equal'... SUCCESS after 0.451s: test/cmd/router.sh:62: executing 'oc adm router --ports=80,8443:443' expecting failure and text 'container port 8443 and host port 443 must be equal' Running test/cmd/router.sh:64: executing 'oc adm router -o yaml' expecting success and text 'image:.*-haproxy-router:'... SUCCESS after 0.514s: test/cmd/router.sh:64: executing 'oc adm router -o yaml' expecting success and text 'image:.*-haproxy-router:' Running test/cmd/router.sh:65: executing 'oc adm router --images='openshift/origin-${component}:latest'' expecting success... SUCCESS after 0.812s: test/cmd/router.sh:65: executing 'oc adm router --images='openshift/origin-${component}:latest'' expecting success Running test/cmd/router.sh:66: executing 'oc adm router' expecting success and text 'service exists'... SUCCESS after 0.464s: test/cmd/router.sh:66: executing 'oc adm router' expecting success and text 'service exists' Running test/cmd/router.sh:67: executing 'oc get dc/router -o yaml' expecting success and text 'readinessProbe'... SUCCESS after 0.352s: test/cmd/router.sh:67: executing 'oc get dc/router -o yaml' expecting success and text 'readinessProbe' Running test/cmd/router.sh:70: executing 'oc delete svc/router' expecting success and text 'service "router" deleted'... SUCCESS after 0.350s: test/cmd/router.sh:70: executing 'oc delete svc/router' expecting success and text 'service "router" deleted' Running test/cmd/router.sh:71: executing 'oc delete dc/router' expecting success and text 'deploymentconfig "router" deleted'... SUCCESS after 1.427s: test/cmd/router.sh:71: executing 'oc delete dc/router' expecting success and text 'deploymentconfig "router" deleted' Running test/cmd/router.sh:73: executing 'oc adm router' expecting success and text 'warning: clusterrolebindings "router-router-role" already exists'... SUCCESS after 0.477s: test/cmd/router.sh:73: executing 'oc adm router' expecting success and text 'warning: clusterrolebindings "router-router-role" already exists' Running test/cmd/router.sh:76: executing 'oc adm router -o yaml --host-network=false' expecting success and not text 'host: localhost'... SUCCESS after 0.645s: test/cmd/router.sh:76: executing 'oc adm router -o yaml --host-network=false' expecting success and not text 'host: localhost' Running test/cmd/router.sh:77: executing 'oc adm router -o yaml | oc delete -f -' expecting success... SUCCESS after 2.065s: test/cmd/router.sh:77: executing 'oc adm router -o yaml | oc delete -f -' expecting success router: ok Running test/cmd/router.sh:81: executing 'oc adm ipfailover --dry-run' expecting failure and text 'you must specify at least one virtual IP address'... SUCCESS after 0.298s: test/cmd/router.sh:81: executing 'oc adm ipfailover --dry-run' expecting failure and text 'you must specify at least one virtual IP address' Running test/cmd/router.sh:82: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting failure and text 'error: ipfailover could not be created'... SUCCESS after 0.504s: test/cmd/router.sh:82: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting failure and text 'error: ipfailover could not be created' Running test/cmd/router.sh:83: executing 'oc adm policy add-scc-to-user privileged -z ipfailover' expecting success... SUCCESS after 0.473s: test/cmd/router.sh:83: executing 'oc adm policy add-scc-to-user privileged -z ipfailover' expecting success Running test/cmd/router.sh:84: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting success and text 'Creating IP failover'... SUCCESS after 0.511s: test/cmd/router.sh:84: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting success and text 'Creating IP failover' Running test/cmd/router.sh:85: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting success and text 'Success \(dry run\)'... SUCCESS after 0.457s: test/cmd/router.sh:85: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run' expecting success and text 'Success \(dry run\)' Running test/cmd/router.sh:86: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml' expecting success and text 'name: ipfailover'... SUCCESS after 0.481s: test/cmd/router.sh:86: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml' expecting success and text 'name: ipfailover' Running test/cmd/router.sh:87: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o name' expecting success and text 'deploymentconfig/ipfailover'... SUCCESS after 0.328s: test/cmd/router.sh:87: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o name' expecting success and text 'deploymentconfig/ipfailover' Running test/cmd/router.sh:88: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml' expecting success and text '1.2.3.4'... SUCCESS after 0.295s: test/cmd/router.sh:88: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml' expecting success and text '1.2.3.4' Running test/cmd/router.sh:89: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --iptables-chain="MY_CHAIN" --dry-run -o yaml' expecting success and text 'value: MY_CHAIN'... SUCCESS after 0.340s: test/cmd/router.sh:89: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --iptables-chain="MY_CHAIN" --dry-run -o yaml' expecting success and text 'value: MY_CHAIN' Running test/cmd/router.sh:90: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --check-interval=1177 --dry-run -o yaml' expecting success and text 'value: "1177"'... SUCCESS after 0.407s: test/cmd/router.sh:90: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --check-interval=1177 --dry-run -o yaml' expecting success and text 'value: "1177"' Running test/cmd/router.sh:91: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --check-script="ChkScript.sh" --dry-run -o yaml' expecting success and text 'value: ChkScript.sh'... SUCCESS after 0.491s: test/cmd/router.sh:91: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --check-script="ChkScript.sh" --dry-run -o yaml' expecting success and text 'value: ChkScript.sh' Running test/cmd/router.sh:92: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --notify-script="NotScript.sh" --dry-run -o yaml' expecting success and text 'value: NotScript.sh'... SUCCESS after 0.450s: test/cmd/router.sh:92: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --notify-script="NotScript.sh" --dry-run -o yaml' expecting success and text 'value: NotScript.sh' Running test/cmd/router.sh:93: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --preemption-strategy="nopreempt" --dry-run -o yaml' expecting success and text 'value: nopreempt'... SUCCESS after 0.469s: test/cmd/router.sh:93: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --preemption-strategy="nopreempt" --dry-run -o yaml' expecting success and text 'value: nopreempt' Running test/cmd/router.sh:94: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml --vrrp-id-offset=56' expecting success and text 'hostPort: 63056'... SUCCESS after 0.440s: test/cmd/router.sh:94: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml --vrrp-id-offset=56' expecting success and text 'hostPort: 63056' Running test/cmd/router.sh:95: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml --vrrp-id-offset=255' expecting failure and text 'error: The vrrp-id-offset must be in the range 0..254'... SUCCESS after 0.376s: test/cmd/router.sh:95: executing 'oc adm ipfailover --virtual-ips="1.2.3.4" --dry-run -o yaml --vrrp-id-offset=255' expecting failure and text 'error: The vrrp-id-offset must be in the range 0..254' Running test/cmd/router.sh:96: executing 'oc adm policy remove-scc-from-user privileged -z ipfailover' expecting success... SUCCESS after 0.421s: test/cmd/router.sh:96: executing 'oc adm policy remove-scc-from-user privileged -z ipfailover' expecting success ipfailover: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.261s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-router'' expecting success... SUCCESS after 0.420s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-router'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/routes.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.483s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.370s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-routes'' expecting success... SUCCESS after 0.780s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-routes'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-routes'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.470s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-routes'; re-trying every 0.2s until completion or 60.000s Running test/cmd/routes.sh:15: executing 'oc get routes' expecting success... SUCCESS after 0.298s: test/cmd/routes.sh:15: executing 'oc get routes' expecting success Running test/cmd/routes.sh:16: executing 'oc create -f test/integration/testdata/test-route.json' expecting success... SUCCESS after 0.333s: test/cmd/routes.sh:16: executing 'oc create -f test/integration/testdata/test-route.json' expecting success Running test/cmd/routes.sh:17: executing 'oc get routes testroute --show-labels' expecting success and text 'rtlabel1'... SUCCESS after 0.605s: test/cmd/routes.sh:17: executing 'oc get routes testroute --show-labels' expecting success and text 'rtlabel1' Running test/cmd/routes.sh:18: executing 'oc delete routes testroute' expecting success... SUCCESS after 0.730s: test/cmd/routes.sh:18: executing 'oc delete routes testroute' expecting success Running test/cmd/routes.sh:19: executing 'oc create -f test/integration/testdata/test-service.json' expecting success... SUCCESS after 0.481s: test/cmd/routes.sh:19: executing 'oc create -f test/integration/testdata/test-service.json' expecting success Running test/cmd/routes.sh:20: executing 'oc create route passthrough --service=svc/frontend' expecting success... SUCCESS after 0.498s: test/cmd/routes.sh:20: executing 'oc create route passthrough --service=svc/frontend' expecting success Running test/cmd/routes.sh:21: executing 'oc delete routes frontend' expecting success... SUCCESS after 0.456s: test/cmd/routes.sh:21: executing 'oc delete routes frontend' expecting success Running test/cmd/routes.sh:22: executing 'oc create route edge --path /test --service=services/non-existent --port=80' expecting success... SUCCESS after 0.593s: test/cmd/routes.sh:22: executing 'oc create route edge --path /test --service=services/non-existent --port=80' expecting success Running test/cmd/routes.sh:23: executing 'oc delete routes non-existent' expecting success... SUCCESS after 0.281s: test/cmd/routes.sh:23: executing 'oc delete routes non-existent' expecting success Running test/cmd/routes.sh:24: executing 'oc create route edge test-route --service=frontend' expecting success... SUCCESS after 0.529s: test/cmd/routes.sh:24: executing 'oc create route edge test-route --service=frontend' expecting success Running test/cmd/routes.sh:25: executing 'oc delete routes test-route' expecting success... SUCCESS after 0.401s: test/cmd/routes.sh:25: executing 'oc delete routes test-route' expecting success Running test/cmd/routes.sh:26: executing 'oc create route edge new-route' expecting failure... SUCCESS after 0.315s: test/cmd/routes.sh:26: executing 'oc create route edge new-route' expecting failure Running test/cmd/routes.sh:27: executing 'oc delete services frontend' expecting success... SUCCESS after 0.409s: test/cmd/routes.sh:27: executing 'oc delete services frontend' expecting success Running test/cmd/routes.sh:28: executing 'oc create route edge --insecure-policy=Allow --service=foo --port=80' expecting success... SUCCESS after 0.571s: test/cmd/routes.sh:28: executing 'oc create route edge --insecure-policy=Allow --service=foo --port=80' expecting success Running test/cmd/routes.sh:29: executing 'oc get route foo -o jsonpath="{.spec.tls.insecureEdgeTerminationPolicy}"' expecting success and text 'Allow'... SUCCESS after 0.398s: test/cmd/routes.sh:29: executing 'oc get route foo -o jsonpath="{.spec.tls.insecureEdgeTerminationPolicy}"' expecting success and text 'Allow' Running test/cmd/routes.sh:30: executing 'oc delete routes foo' expecting success... SUCCESS after 0.507s: test/cmd/routes.sh:30: executing 'oc delete routes foo' expecting success Running test/cmd/routes.sh:32: executing 'oc create route edge --service foo --port=8080' expecting success and text 'created'... SUCCESS after 0.297s: test/cmd/routes.sh:32: executing 'oc create route edge --service foo --port=8080' expecting success and text 'created' Running test/cmd/routes.sh:33: executing 'oc create route edge --service bar --port=9090' expecting success and text 'created'... SUCCESS after 0.351s: test/cmd/routes.sh:33: executing 'oc create route edge --service bar --port=9090' expecting success and text 'created' Running test/cmd/routes.sh:37: executing 'oc create route reencrypt --service baz --port=9090' expecting success and text 'created'... SUCCESS after 0.430s: test/cmd/routes.sh:37: executing 'oc create route reencrypt --service baz --port=9090' expecting success and text 'created' Running test/cmd/routes.sh:38: executing 'oc get --raw /oapi/v1/namespaces/${project}/routes/baz' expecting success and text 'This is an empty PEM file'... SUCCESS after 0.629s: test/cmd/routes.sh:38: executing 'oc get --raw /oapi/v1/namespaces/${project}/routes/baz' expecting success and text 'This is an empty PEM file' Running test/cmd/routes.sh:39: executing 'oc get --raw /apis/route.openshift.io/v1/namespaces/${project}/routes/baz' expecting success and not text 'This is an empty PEM file'... SUCCESS after 0.427s: test/cmd/routes.sh:39: executing 'oc get --raw /apis/route.openshift.io/v1/namespaces/${project}/routes/baz' expecting success and not text 'This is an empty PEM file' Running test/cmd/routes.sh:41: executing 'oc set route-backends foo' expecting success and text 'routes/foo'... SUCCESS after 0.341s: test/cmd/routes.sh:41: executing 'oc set route-backends foo' expecting success and text 'routes/foo' Running test/cmd/routes.sh:42: executing 'oc set route-backends foo' expecting success and text 'Service'... SUCCESS after 0.409s: test/cmd/routes.sh:42: executing 'oc set route-backends foo' expecting success and text 'Service' Running test/cmd/routes.sh:43: executing 'oc set route-backends foo' expecting success and text '100'... SUCCESS after 0.464s: test/cmd/routes.sh:43: executing 'oc set route-backends foo' expecting success and text '100' Running test/cmd/routes.sh:44: executing 'oc set route-backends foo --zero --equal' expecting failure and text 'error: --zero and --equal may not be specified together'... SUCCESS after 0.263s: test/cmd/routes.sh:44: executing 'oc set route-backends foo --zero --equal' expecting failure and text 'error: --zero and --equal may not be specified together' Running test/cmd/routes.sh:45: executing 'oc set route-backends foo --zero --adjust' expecting failure and text 'error: --adjust and --zero may not be specified together'... SUCCESS after 0.249s: test/cmd/routes.sh:45: executing 'oc set route-backends foo --zero --adjust' expecting failure and text 'error: --adjust and --zero may not be specified together' Running test/cmd/routes.sh:46: executing 'oc set route-backends foo a=' expecting failure and text 'expected NAME=WEIGHT'... SUCCESS after 0.584s: test/cmd/routes.sh:46: executing 'oc set route-backends foo a=' expecting failure and text 'expected NAME=WEIGHT' Running test/cmd/routes.sh:47: executing 'oc set route-backends foo =10' expecting failure and text 'expected NAME=WEIGHT'... SUCCESS after 0.426s: test/cmd/routes.sh:47: executing 'oc set route-backends foo =10' expecting failure and text 'expected NAME=WEIGHT' Running test/cmd/routes.sh:48: executing 'oc set route-backends foo a=a' expecting failure and text 'WEIGHT must be a number'... SUCCESS after 0.298s: test/cmd/routes.sh:48: executing 'oc set route-backends foo a=a' expecting failure and text 'WEIGHT must be a number' Running test/cmd/routes.sh:49: executing 'oc set route-backends foo a=10' expecting success and text 'updated'... SUCCESS after 0.372s: test/cmd/routes.sh:49: executing 'oc set route-backends foo a=10' expecting success and text 'updated' Running test/cmd/routes.sh:50: executing 'oc set route-backends foo a=100' expecting success and text 'updated'... SUCCESS after 0.471s: test/cmd/routes.sh:50: executing 'oc set route-backends foo a=100' expecting success and text 'updated' Running test/cmd/routes.sh:51: executing 'oc set route-backends foo a=0' expecting success and text 'updated'... SUCCESS after 0.658s: test/cmd/routes.sh:51: executing 'oc set route-backends foo a=0' expecting success and text 'updated' Running test/cmd/routes.sh:52: executing 'oc set route-backends foo' expecting success and text '0'... SUCCESS after 0.396s: test/cmd/routes.sh:52: executing 'oc set route-backends foo' expecting success and text '0' Running test/cmd/routes.sh:53: executing 'oc get routes foo' expecting success and text 'a'... SUCCESS after 0.460s: test/cmd/routes.sh:53: executing 'oc get routes foo' expecting success and text 'a' Running test/cmd/routes.sh:54: executing 'oc set route-backends foo a1=0 b2=0' expecting success and text 'updated'... SUCCESS after 0.494s: test/cmd/routes.sh:54: executing 'oc set route-backends foo a1=0 b2=0' expecting success and text 'updated' Running test/cmd/routes.sh:55: executing 'oc set route-backends foo' expecting success and text 'a1'... SUCCESS after 0.360s: test/cmd/routes.sh:55: executing 'oc set route-backends foo' expecting success and text 'a1' Running test/cmd/routes.sh:56: executing 'oc set route-backends foo' expecting success and text 'b2'... SUCCESS after 0.528s: test/cmd/routes.sh:56: executing 'oc set route-backends foo' expecting success and text 'b2' Running test/cmd/routes.sh:57: executing 'oc set route-backends foo a1=100 b2=50 c3=0' expecting success and text 'updated'... SUCCESS after 0.683s: test/cmd/routes.sh:57: executing 'oc set route-backends foo a1=100 b2=50 c3=0' expecting success and text 'updated' Running test/cmd/routes.sh:58: executing 'oc get routes foo' expecting success and text 'a1\(66%\),b2\(33%\),c3\(0%\)'... SUCCESS after 0.641s: test/cmd/routes.sh:58: executing 'oc get routes foo' expecting success and text 'a1\(66%\),b2\(33%\),c3\(0%\)' Running test/cmd/routes.sh:59: executing 'oc set route-backends foo a1=100 b2=0 c3=0' expecting success and text 'updated'... SUCCESS after 0.430s: test/cmd/routes.sh:59: executing 'oc set route-backends foo a1=100 b2=0 c3=0' expecting success and text 'updated' Running test/cmd/routes.sh:60: executing 'oc set route-backends foo --adjust b2=+10%' expecting success and text 'updated'... SUCCESS after 0.307s: test/cmd/routes.sh:60: executing 'oc set route-backends foo --adjust b2=+10%' expecting success and text 'updated' Running test/cmd/routes.sh:61: executing 'oc get routes foo' expecting success and text 'a1\(90%\),b2\(10%\),c3\(0%\)'... SUCCESS after 0.537s: test/cmd/routes.sh:61: executing 'oc get routes foo' expecting success and text 'a1\(90%\),b2\(10%\),c3\(0%\)' Running test/cmd/routes.sh:62: executing 'oc set route-backends foo --adjust b2=+25%' expecting success and text 'updated'... SUCCESS after 0.655s: test/cmd/routes.sh:62: executing 'oc set route-backends foo --adjust b2=+25%' expecting success and text 'updated' Running test/cmd/routes.sh:63: executing 'oc get routes foo' expecting success and text 'a1\(65%\),b2\(35%\),c3\(0%\)'... SUCCESS after 0.643s: test/cmd/routes.sh:63: executing 'oc get routes foo' expecting success and text 'a1\(65%\),b2\(35%\),c3\(0%\)' Running test/cmd/routes.sh:64: executing 'oc set route-backends foo --adjust b2=+99%' expecting success and text 'updated'... SUCCESS after 0.490s: test/cmd/routes.sh:64: executing 'oc set route-backends foo --adjust b2=+99%' expecting success and text 'updated' Running test/cmd/routes.sh:65: executing 'oc get routes foo' expecting success and text 'a1\(0%\),b2\(100%\),c3\(0%\)'... SUCCESS after 0.588s: test/cmd/routes.sh:65: executing 'oc get routes foo' expecting success and text 'a1\(0%\),b2\(100%\),c3\(0%\)' Running test/cmd/routes.sh:66: executing 'oc set route-backends foo --adjust b2=-51%' expecting success and text 'updated'... SUCCESS after 0.539s: test/cmd/routes.sh:66: executing 'oc set route-backends foo --adjust b2=-51%' expecting success and text 'updated' Running test/cmd/routes.sh:67: executing 'oc get routes foo' expecting success and text 'a1\(51%\),b2\(49%\),c3\(0%\)'... SUCCESS after 0.678s: test/cmd/routes.sh:67: executing 'oc get routes foo' expecting success and text 'a1\(51%\),b2\(49%\),c3\(0%\)' Running test/cmd/routes.sh:68: executing 'oc set route-backends foo --adjust a1=20%' expecting success and text 'updated'... SUCCESS after 0.301s: test/cmd/routes.sh:68: executing 'oc set route-backends foo --adjust a1=20%' expecting success and text 'updated' Running test/cmd/routes.sh:69: executing 'oc get routes foo' expecting success and text 'a1\(20%\),b2\(80%\),c3\(0%\)'... SUCCESS after 0.752s: test/cmd/routes.sh:69: executing 'oc get routes foo' expecting success and text 'a1\(20%\),b2\(80%\),c3\(0%\)' Running test/cmd/routes.sh:70: executing 'oc set route-backends foo --adjust c3=50%' expecting success and text 'updated'... SUCCESS after 0.377s: test/cmd/routes.sh:70: executing 'oc set route-backends foo --adjust c3=50%' expecting success and text 'updated' Running test/cmd/routes.sh:71: executing 'oc get routes foo' expecting success and text 'a1\(10%\),b2\(80%\),c3\(10%\)'... SUCCESS after 0.766s: test/cmd/routes.sh:71: executing 'oc get routes foo' expecting success and text 'a1\(10%\),b2\(80%\),c3\(10%\)' Running test/cmd/routes.sh:72: executing 'oc describe routes foo' expecting success and text '25 \(10%\)'... SUCCESS after 0.494s: test/cmd/routes.sh:72: executing 'oc describe routes foo' expecting success and text '25 \(10%\)' Running test/cmd/routes.sh:73: executing 'oc describe routes foo' expecting success and text '200 \(80%\)'... SUCCESS after 0.463s: test/cmd/routes.sh:73: executing 'oc describe routes foo' expecting success and text '200 \(80%\)' Running test/cmd/routes.sh:74: executing 'oc describe routes foo' expecting success and text '25 \(10%\)'... SUCCESS after 0.479s: test/cmd/routes.sh:74: executing 'oc describe routes foo' expecting success and text '25 \(10%\)' Running test/cmd/routes.sh:75: executing 'oc describe routes foo' expecting success and text '<error: endpoints "c3" not found>'... SUCCESS after 0.350s: test/cmd/routes.sh:75: executing 'oc describe routes foo' expecting success and text '<error: endpoints "c3" not found>' Running test/cmd/routes.sh:76: executing 'oc set route-backends foo --adjust c3=1' expecting success and text 'updated'... SUCCESS after 0.306s: test/cmd/routes.sh:76: executing 'oc set route-backends foo --adjust c3=1' expecting success and text 'updated' Running test/cmd/routes.sh:77: executing 'oc describe routes foo' expecting success and text '1 \(0%\)'... SUCCESS after 0.541s: test/cmd/routes.sh:77: executing 'oc describe routes foo' expecting success and text '1 \(0%\)' Running test/cmd/routes.sh:78: executing 'oc set route-backends foo --equal' expecting success and text 'updated'... SUCCESS after 0.504s: test/cmd/routes.sh:78: executing 'oc set route-backends foo --equal' expecting success and text 'updated' Running test/cmd/routes.sh:79: executing 'oc get routes foo' expecting success and text 'a1\(33%\),b2\(33%\),c3\(33%\)'... SUCCESS after 0.660s: test/cmd/routes.sh:79: executing 'oc get routes foo' expecting success and text 'a1\(33%\),b2\(33%\),c3\(33%\)' Running test/cmd/routes.sh:80: executing 'oc describe routes foo' expecting success and text '100 \(33%\)'... SUCCESS after 0.527s: test/cmd/routes.sh:80: executing 'oc describe routes foo' expecting success and text '100 \(33%\)' Running test/cmd/routes.sh:81: executing 'oc set route-backends foo --zero' expecting success and text 'updated'... SUCCESS after 0.398s: test/cmd/routes.sh:81: executing 'oc set route-backends foo --zero' expecting success and text 'updated' Running test/cmd/routes.sh:82: executing 'oc get routes foo' expecting success and text 'a1\(0%\),b2\(0%\),c3\(0%\)'... SUCCESS after 0.704s: test/cmd/routes.sh:82: executing 'oc get routes foo' expecting success and text 'a1\(0%\),b2\(0%\),c3\(0%\)' Running test/cmd/routes.sh:83: executing 'oc describe routes foo' expecting success and text '0'... SUCCESS after 0.321s: test/cmd/routes.sh:83: executing 'oc describe routes foo' expecting success and text '0' Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.383s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-routes'' expecting success... SUCCESS after 0.471s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-routes'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/run.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.471s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.436s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-run'' expecting success... SUCCESS after 0.897s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-run'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-run'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.902s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-run'; re-trying every 0.2s until completion or 60.000s Running test/cmd/run.sh:7: executing 'oc run newdcforimage --image=validimagevalue' expecting success and text 'deploymentconfig "newdcforimage" created'... SUCCESS after 0.407s: test/cmd/run.sh:7: executing 'oc run newdcforimage --image=validimagevalue' expecting success and text 'deploymentconfig "newdcforimage" created' Running test/cmd/run.sh:8: executing 'oc run newdcforimage2 --image="InvalidImageValue0192"' expecting failure and text 'error: Invalid image name "InvalidImageValue0192": invalid reference format'... SUCCESS after 0.481s: test/cmd/run.sh:8: executing 'oc run newdcforimage2 --image="InvalidImageValue0192"' expecting failure and text 'error: Invalid image name "InvalidImageValue0192": invalid reference format' Running test/cmd/run.sh:9: executing 'oc run test1 --image=busybox --attach --dry-run' expecting failure and text 'dry-run can't be used with attached containers options'... SUCCESS after 0.471s: test/cmd/run.sh:9: executing 'oc run test1 --image=busybox --attach --dry-run' expecting failure and text 'dry-run can't be used with attached containers options' Running test/cmd/run.sh:10: executing 'oc run test1 --image=busybox --stdin --dry-run' expecting failure and text 'dry-run can't be used with attached containers options'... SUCCESS after 0.473s: test/cmd/run.sh:10: executing 'oc run test1 --image=busybox --stdin --dry-run' expecting failure and text 'dry-run can't be used with attached containers options' oc run: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.447s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-run'' expecting success... SUCCESS after 0.528s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-run'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/sdn.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.339s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.420s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-sdn'' expecting success... SUCCESS after 0.668s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-sdn'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-sdn'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.414s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-sdn'; re-trying every 0.2s until completion or 60.000s Running test/cmd/sdn.sh:18: executing 'oc get clusternetworks' expecting success... SUCCESS after 0.752s: test/cmd/sdn.sh:18: executing 'oc get clusternetworks' expecting success Running test/cmd/sdn.sh:20: executing 'oc get clusternetwork default -o jsonpath="{.pluginName}"' expecting success and text 'redhat/openshift-ovs-multitenant'... SUCCESS after 0.452s: test/cmd/sdn.sh:20: executing 'oc get clusternetwork default -o jsonpath="{.pluginName}"' expecting success and text 'redhat/openshift-ovs-multitenant' Running test/cmd/sdn.sh:26: executing 'oc get netnamespaces' expecting success... SUCCESS after 0.500s: test/cmd/sdn.sh:26: executing 'oc get netnamespaces' expecting success Running test/cmd/sdn.sh:27: executing 'oc get netnamespace default -o jsonpath="{.netid}"' expecting success and text '^0$'... SUCCESS after 0.704s: test/cmd/sdn.sh:27: executing 'oc get netnamespace default -o jsonpath="{.netid}"' expecting success and text '^0$' Running test/cmd/sdn.sh:29: executing 'oc new-project sdn-test-1' expecting success... SUCCESS after 0.556s: test/cmd/sdn.sh:29: executing 'oc new-project sdn-test-1' expecting success Running test/cmd/sdn.sh:30: executing 'oc new-project sdn-test-2' expecting success... SUCCESS after 0.575s: test/cmd/sdn.sh:30: executing 'oc new-project sdn-test-2' expecting success Running test/cmd/sdn.sh:31: executing 'oc new-project sdn-test-3' expecting success... SUCCESS after 0.859s: test/cmd/sdn.sh:31: executing 'oc new-project sdn-test-3' expecting success Running test/cmd/sdn.sh:32: executing 'oc get netnamespace sdn-test-1' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.565s: test/cmd/sdn.sh:32: executing 'oc get netnamespace sdn-test-1' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/sdn.sh:33: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and not text '^0$'... SUCCESS after 0.280s: test/cmd/sdn.sh:33: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and not text '^0$' Running test/cmd/sdn.sh:35: executing 'oc get netnamespace sdn-test-2' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.905s: test/cmd/sdn.sh:35: executing 'oc get netnamespace sdn-test-2' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/sdn.sh:36: executing 'oc get netnamespace sdn-test-3' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.993s: test/cmd/sdn.sh:36: executing 'oc get netnamespace sdn-test-3' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/sdn.sh:38: executing 'oc adm pod-network join-projects --to=sdn-test-1 sdn-test-2' expecting success... SUCCESS after 1.022s: test/cmd/sdn.sh:38: executing 'oc adm pod-network join-projects --to=sdn-test-1 sdn-test-2' expecting success Running test/cmd/sdn.sh:39: executing 'oc get netnamespace sdn-test-2 -o jsonpath="{.netid}"' expecting success and text '^3628479$'... SUCCESS after 0.379s: test/cmd/sdn.sh:39: executing 'oc get netnamespace sdn-test-2 -o jsonpath="{.netid}"' expecting success and text '^3628479$' Running test/cmd/sdn.sh:41: executing 'oc adm pod-network make-projects-global sdn-test-1' expecting success... SUCCESS after 0.455s: test/cmd/sdn.sh:41: executing 'oc adm pod-network make-projects-global sdn-test-1' expecting success Running test/cmd/sdn.sh:42: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and text '^0$'... SUCCESS after 0.445s: test/cmd/sdn.sh:42: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and text '^0$' Running test/cmd/sdn.sh:44: executing 'oc adm pod-network isolate-projects sdn-test-1' expecting success... SUCCESS after 0.923s: test/cmd/sdn.sh:44: executing 'oc adm pod-network isolate-projects sdn-test-1' expecting success Running test/cmd/sdn.sh:45: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and not text '^0$'... SUCCESS after 0.326s: test/cmd/sdn.sh:45: executing 'oc get netnamespace sdn-test-1 -o jsonpath="{.netid}"' expecting success and not text '^0$' Running test/cmd/sdn.sh:47: executing 'oc project 'cmd-sdn'' expecting success... SUCCESS after 0.441s: test/cmd/sdn.sh:47: executing 'oc project 'cmd-sdn'' expecting success Running test/cmd/sdn.sh:52: executing 'oc get hostsubnets' expecting success and text 'No resources found.'... SUCCESS after 0.398s: test/cmd/sdn.sh:52: executing 'oc get hostsubnets' expecting success and text 'No resources found.' Running test/cmd/sdn.sh:56: executing 'oc get egressnetworkpolicies' expecting success... SUCCESS after 0.674s: test/cmd/sdn.sh:56: executing 'oc get egressnetworkpolicies' expecting success Running test/cmd/sdn.sh:57: executing 'oc create -f test/integration/testdata/test-egress-network-policy.json' expecting success... SUCCESS after 0.384s: test/cmd/sdn.sh:57: executing 'oc create -f test/integration/testdata/test-egress-network-policy.json' expecting success Running test/cmd/sdn.sh:58: executing 'oc get egressnetworkpolicy default' expecting success... SUCCESS after 0.543s: test/cmd/sdn.sh:58: executing 'oc get egressnetworkpolicy default' expecting success Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.289s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-sdn'' expecting success... SUCCESS after 0.361s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-sdn'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/secrets.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.435s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.491s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-secrets'' expecting success... SUCCESS after 0.626s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-secrets'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-secrets'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.474s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-secrets'; re-trying every 0.2s until completion or 60.000s Running test/cmd/secrets.sh:15: executing 'oc secrets new foo --type=blah makefile=Makefile' expecting failure and text 'error: unknown secret type "blah"'... SUCCESS after 0.398s: test/cmd/secrets.sh:15: executing 'oc secrets new foo --type=blah makefile=Makefile' expecting failure and text 'error: unknown secret type "blah"' Running test/cmd/secrets.sh:16: executing 'oc secrets new foo --type=blah makefile=Makefile --confirm' expecting success... SUCCESS after 0.364s: test/cmd/secrets.sh:16: executing 'oc secrets new foo --type=blah makefile=Makefile --confirm' expecting success Running test/cmd/secrets.sh:17: executing 'oc get secrets/foo -o jsonpath={.type}' expecting success and text 'blah'... SUCCESS after 0.423s: test/cmd/secrets.sh:17: executing 'oc get secrets/foo -o jsonpath={.type}' expecting success and text 'blah' Running test/cmd/secrets.sh:19: executing 'oc secrets new-dockercfg dockerconfigjson --docker-username=sample-user --docker-password=sample-password --docker-email=fake@example.org' expecting success... SUCCESS after 0.447s: test/cmd/secrets.sh:19: executing 'oc secrets new-dockercfg dockerconfigjson --docker-username=sample-user --docker-password=sample-password --docker-email=fake@example.org' expecting success Running test/cmd/secrets.sh:21: executing 'oc get secrets/dockerconfigjson -o jsonpath='{ .data.\.dockerconfigjson }' | base64 -d > /go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/dockerconfigjson' expecting success... SUCCESS after 0.492s: test/cmd/secrets.sh:21: executing 'oc get secrets/dockerconfigjson -o jsonpath='{ .data.\.dockerconfigjson }' | base64 -d > /go/src/github.com/openshift/origin/_output/scripts/test-cmd/openshift.local.home/dockerconfigjson' expecting success Running test/cmd/secrets.sh:22: executing 'oc secrets new from-file .dockerconfigjson=${HOME}/dockerconfigjson' expecting success... SUCCESS after 0.637s: test/cmd/secrets.sh:22: executing 'oc secrets new from-file .dockerconfigjson=${HOME}/dockerconfigjson' expecting success Running test/cmd/secrets.sh:24: executing 'oc get secret/from-file --template="{{ .type }}"' expecting success and text 'kubernetes.io/dockerconfigjson'... SUCCESS after 0.464s: test/cmd/secrets.sh:24: executing 'oc get secret/from-file --template="{{ .type }}"' expecting success and text 'kubernetes.io/dockerconfigjson' Running test/cmd/secrets.sh:26: executing 'oc secrets new-dockercfg dockerconfigjson --docker-username=sample-user --docker-password=sample-password --docker-email=fake@example.org -o yaml' expecting success and text 'kubernetes.io/dockerconfigjson'... SUCCESS after 0.418s: test/cmd/secrets.sh:26: executing 'oc secrets new-dockercfg dockerconfigjson --docker-username=sample-user --docker-password=sample-password --docker-email=fake@example.org -o yaml' expecting success and text 'kubernetes.io/dockerconfigjson' Running test/cmd/secrets.sh:27: executing 'oc secrets new from-file .dockerconfigjson=${HOME}/dockerconfigjson -o yaml' expecting success and text 'kubernetes.io/dockerconfigjson'... SUCCESS after 0.371s: test/cmd/secrets.sh:27: executing 'oc secrets new from-file .dockerconfigjson=${HOME}/dockerconfigjson -o yaml' expecting success and text 'kubernetes.io/dockerconfigjson' Running test/cmd/secrets.sh:29: executing 'oc secrets new bad-name .docker=cfg=${HOME}/dockerconfigjson' expecting failure and text 'error: Key names or file paths cannot contain '='.'... SUCCESS after 0.254s: test/cmd/secrets.sh:29: executing 'oc secrets new bad-name .docker=cfg=${HOME}/dockerconfigjson' expecting failure and text 'error: Key names or file paths cannot contain '='.' Running test/cmd/secrets.sh:32: executing 'oc get secret/dockerconfigjson' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.490s: test/cmd/secrets.sh:32: executing 'oc get secret/dockerconfigjson' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/secrets.sh:33: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting success and text '.dockerconfigjson'... SUCCESS after 0.647s: test/cmd/secrets.sh:33: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting success and text '.dockerconfigjson' Running test/cmd/secrets.sh:34: executing 'oc extract secret/dockerconfigjson --to=-' expecting success and text 'sample-user'... SUCCESS after 0.450s: test/cmd/secrets.sh:34: executing 'oc extract secret/dockerconfigjson --to=-' expecting success and text 'sample-user' Running test/cmd/secrets.sh:35: executing 'oc extract secret/dockerconfigjson --to=-' expecting success and text 'sample-password'... SUCCESS after 0.363s: test/cmd/secrets.sh:35: executing 'oc extract secret/dockerconfigjson --to=-' expecting success and text 'sample-password' Running test/cmd/secrets.sh:36: executing 'cat '/tmp/tmp.Uw2KtDCyPd/.dockerconfigjson'' expecting success and text 'sample-user'... SUCCESS after 0.029s: test/cmd/secrets.sh:36: executing 'cat '/tmp/tmp.Uw2KtDCyPd/.dockerconfigjson'' expecting success and text 'sample-user' Running test/cmd/secrets.sh:37: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting failure and text 'error: .dockerconfigjson: file exists, pass --confirm to overwrite'... SUCCESS after 0.519s: test/cmd/secrets.sh:37: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting failure and text 'error: .dockerconfigjson: file exists, pass --confirm to overwrite' Running test/cmd/secrets.sh:38: executing 'oc extract secret/dockerconfigjson secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting failure and text 'error: .dockerconfigjson: file exists, pass --confirm to overwrite'... SUCCESS after 0.442s: test/cmd/secrets.sh:38: executing 'oc extract secret/dockerconfigjson secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd'' expecting failure and text 'error: .dockerconfigjson: file exists, pass --confirm to overwrite' Running test/cmd/secrets.sh:39: executing 'oc extract secret/dockerconfigjson secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm' expecting success and text '.dockerconfigjson'... SUCCESS after 0.778s: test/cmd/secrets.sh:39: executing 'oc extract secret/dockerconfigjson secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm' expecting success and text '.dockerconfigjson' Running test/cmd/secrets.sh:40: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm' expecting success and text '.dockerconfigjson'... SUCCESS after 0.406s: test/cmd/secrets.sh:40: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm' expecting success and text '.dockerconfigjson' Running test/cmd/secrets.sh:41: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm | xargs rm' expecting success... SUCCESS after 0.251s: test/cmd/secrets.sh:41: executing 'oc extract secret/dockerconfigjson --to '/tmp/tmp.Uw2KtDCyPd' --confirm | xargs rm' expecting success Running test/cmd/secrets.sh:42: executing 'oc extract secret/dockerconfigjson --to missing-dir' expecting failure and text 'stat missing-dir: no such file or directory'... SUCCESS after 0.341s: test/cmd/secrets.sh:42: executing 'oc extract secret/dockerconfigjson --to missing-dir' expecting failure and text 'stat missing-dir: no such file or directory' Running test/cmd/secrets.sh:46: executing 'oc secrets add deployer dockerconfigjson' expecting success... SUCCESS after 0.503s: test/cmd/secrets.sh:46: executing 'oc secrets add deployer dockerconfigjson' expecting success Running test/cmd/secrets.sh:48: executing 'oc secrets add serviceaccounts/deployer dockerconfigjson secrets/from-file' expecting success... SUCCESS after 0.536s: test/cmd/secrets.sh:48: executing 'oc secrets add serviceaccounts/deployer dockerconfigjson secrets/from-file' expecting success Running test/cmd/secrets.sh:50: executing 'oc secrets add deployer dockerconfigjson from-file --for=pull' expecting success... SUCCESS after 0.658s: test/cmd/secrets.sh:50: executing 'oc secrets add deployer dockerconfigjson from-file --for=pull' expecting success Running test/cmd/secrets.sh:52: executing 'oc secrets add serviceaccounts/deployer secrets/dockerconfigjson secrets/from-file --for=pull,mount' expecting success... SUCCESS after 0.549s: test/cmd/secrets.sh:52: executing 'oc secrets add serviceaccounts/deployer secrets/dockerconfigjson secrets/from-file --for=pull,mount' expecting success Running test/cmd/secrets.sh:67: executing 'oc secrets new-basicauth basicauth --username=sample-user --password=sample-password --gitconfig='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/.gitconfig' --ca-cert='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/ca.pem'' expecting success... SUCCESS after 0.437s: test/cmd/secrets.sh:67: executing 'oc secrets new-basicauth basicauth --username=sample-user --password=sample-password --gitconfig='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/.gitconfig' --ca-cert='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/ca.pem'' expecting success Running test/cmd/secrets.sh:69: executing 'oc secrets new-basicauth bad-file --password=sample-password --prompt' expecting failure and text 'error: must provide either --prompt or --password flag'... SUCCESS after 0.298s: test/cmd/secrets.sh:69: executing 'oc secrets new-basicauth bad-file --password=sample-password --prompt' expecting failure and text 'error: must provide either --prompt or --password flag' Running test/cmd/secrets.sh:71: executing 'oc secrets new-basicauth bad-file --username=user --gitconfig=/bad/path' expecting failure and text 'error: open /bad/path: no such file or directory'... SUCCESS after 0.348s: test/cmd/secrets.sh:71: executing 'oc secrets new-basicauth bad-file --username=user --gitconfig=/bad/path' expecting failure and text 'error: open /bad/path: no such file or directory' Running test/cmd/secrets.sh:73: executing 'oc secrets new-sshauth sshauth --ssh-privatekey='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/id_rsa' --ca-cert='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/ca.pem'' expecting success... SUCCESS after 0.337s: test/cmd/secrets.sh:73: executing 'oc secrets new-sshauth sshauth --ssh-privatekey='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/id_rsa' --ca-cert='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/ca.pem'' expecting success Running test/cmd/secrets.sh:75: executing 'oc secrets new-sshauth bad-file --ssh-privatekey=/bad/path' expecting failure and text 'error: open /bad/path: no such file or directory'... SUCCESS after 0.447s: test/cmd/secrets.sh:75: executing 'oc secrets new-sshauth bad-file --ssh-privatekey=/bad/path' expecting failure and text 'error: open /bad/path: no such file or directory' Running test/cmd/secrets.sh:79: executing 'oc secrets add deployer basicauth' expecting success... SUCCESS after 0.402s: test/cmd/secrets.sh:79: executing 'oc secrets add deployer basicauth' expecting success Running test/cmd/secrets.sh:81: executing 'oc secrets add deployer basicauth sshauth' expecting success... SUCCESS after 0.542s: test/cmd/secrets.sh:81: executing 'oc secrets add deployer basicauth sshauth' expecting success Running test/cmd/secrets.sh:83: executing 'oc secrets add deployer basicauth sshauth --for=pull' expecting success... SUCCESS after 0.689s: test/cmd/secrets.sh:83: executing 'oc secrets add deployer basicauth sshauth --for=pull' expecting success Running test/cmd/secrets.sh:85: executing 'oc secrets add deployer basicauth sshauth --for=pull,mount' expecting success... SUCCESS after 0.380s: test/cmd/secrets.sh:85: executing 'oc secrets add deployer basicauth sshauth --for=pull,mount' expecting success Running test/cmd/secrets.sh:90: executing 'oc create secret generic deleted-secret' expecting success... SUCCESS after 0.437s: test/cmd/secrets.sh:90: executing 'oc create secret generic deleted-secret' expecting success Running test/cmd/secrets.sh:91: executing 'oc secrets link deployer deleted-secret' expecting success... SUCCESS after 0.643s: test/cmd/secrets.sh:91: executing 'oc secrets link deployer deleted-secret' expecting success Running test/cmd/secrets.sh:93: executing 'oc get serviceaccount deployer -o jsonpath='{.secrets[?(@.name=="deleted-secret")]}'' expecting success and text 'deleted\-secret'... SUCCESS after 0.281s: test/cmd/secrets.sh:93: executing 'oc get serviceaccount deployer -o jsonpath='{.secrets[?(@.name=="deleted-secret")]}'' expecting success and text 'deleted\-secret' Running test/cmd/secrets.sh:95: executing 'oc delete secret deleted-secret' expecting success... SUCCESS after 0.282s: test/cmd/secrets.sh:95: executing 'oc delete secret deleted-secret' expecting success Running test/cmd/secrets.sh:96: executing 'oc secrets unlink deployer secrets/deleted-secret' expecting failure and text 'Unlinked deleted secrets'... SUCCESS after 0.403s: test/cmd/secrets.sh:96: executing 'oc secrets unlink deployer secrets/deleted-secret' expecting failure and text 'Unlinked deleted secrets' Running test/cmd/secrets.sh:98: executing 'oc get serviceaccount deployer -o jsonpath='{.secrets[?(@.name=="deleted-secret")]}'' expecting success and not text 'deleted\-secret'... SUCCESS after 0.490s: test/cmd/secrets.sh:98: executing 'oc get serviceaccount deployer -o jsonpath='{.secrets[?(@.name=="deleted-secret")]}'' expecting success and not text 'deleted\-secret' Running test/cmd/secrets.sh:102: executing 'oc secrets link deployer basicauth' expecting success... SUCCESS after 0.596s: test/cmd/secrets.sh:102: executing 'oc secrets link deployer basicauth' expecting success Running test/cmd/secrets.sh:104: executing 'oc secrets link deployer basicauth sshauth' expecting success... SUCCESS after 0.502s: test/cmd/secrets.sh:104: executing 'oc secrets link deployer basicauth sshauth' expecting success Running test/cmd/secrets.sh:106: executing 'oc secrets link deployer basicauth sshauth --for=pull' expecting success... SUCCESS after 0.561s: test/cmd/secrets.sh:106: executing 'oc secrets link deployer basicauth sshauth --for=pull' expecting success Running test/cmd/secrets.sh:108: executing 'oc secrets link deployer basicauth sshauth --for=pull,mount' expecting success... SUCCESS after 0.439s: test/cmd/secrets.sh:108: executing 'oc secrets link deployer basicauth sshauth --for=pull,mount' expecting success Running test/cmd/secrets.sh:111: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting success... SUCCESS after 0.379s: test/cmd/secrets.sh:111: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting success Running test/cmd/secrets.sh:112: executing 'oc get serviceaccounts/deployer -o yaml |grep -q sshauth' expecting success... SUCCESS after 0.492s: test/cmd/secrets.sh:112: executing 'oc get serviceaccounts/deployer -o yaml |grep -q sshauth' expecting success Running test/cmd/secrets.sh:115: executing 'oc secrets unlink deployer basicauth' expecting success... SUCCESS after 0.521s: test/cmd/secrets.sh:115: executing 'oc secrets unlink deployer basicauth' expecting success Running test/cmd/secrets.sh:117: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting failure... SUCCESS after 0.397s: test/cmd/secrets.sh:117: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting failure Running test/cmd/secrets.sh:120: executing 'oc secrets link deployer basicauth' expecting success... SUCCESS after 0.387s: test/cmd/secrets.sh:120: executing 'oc secrets link deployer basicauth' expecting success Running test/cmd/secrets.sh:123: executing 'oc secrets unlink deployer foobar' expecting failure and text 'secret "foobar" not found'... SUCCESS after 0.539s: test/cmd/secrets.sh:123: executing 'oc secrets unlink deployer foobar' expecting failure and text 'secret "foobar" not found' Running test/cmd/secrets.sh:126: executing 'oc secrets unlink deployer foobar basicauth' expecting failure and text 'secret "foobar" not found'... SUCCESS after 0.485s: test/cmd/secrets.sh:126: executing 'oc secrets unlink deployer foobar basicauth' expecting failure and text 'secret "foobar" not found' Running test/cmd/secrets.sh:128: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting failure... SUCCESS after 0.523s: test/cmd/secrets.sh:128: executing 'oc get serviceaccounts/deployer -o yaml |grep -q basicauth' expecting failure Running test/cmd/secrets.sh:132: executing 'oc secrets unlink deployer basicauth,' expecting failure and text 'No valid secrets found or secrets not linked to service account'... SUCCESS after 0.462s: test/cmd/secrets.sh:132: executing 'oc secrets unlink deployer basicauth,' expecting failure and text 'No valid secrets found or secrets not linked to service account' Running test/cmd/secrets.sh:136: executing 'oc secrets unlink deployer basicauth sshauth' expecting success... SUCCESS after 0.519s: test/cmd/secrets.sh:136: executing 'oc secrets unlink deployer basicauth sshauth' expecting success Running test/cmd/secrets.sh:139: executing 'oc get serviceaccounts/deployer -o yaml |grep -q sshauth' expecting failure... SUCCESS after 0.256s: test/cmd/secrets.sh:139: executing 'oc get serviceaccounts/deployer -o yaml |grep -q sshauth' expecting failure Running test/cmd/secrets.sh:142: executing 'oc secret --help' expecting success... SUCCESS after 0.277s: test/cmd/secrets.sh:142: executing 'oc secret --help' expecting success Running test/cmd/secrets.sh:143: executing 'oc secret new --help' expecting success... SUCCESS after 0.251s: test/cmd/secrets.sh:143: executing 'oc secret new --help' expecting success Running test/cmd/secrets.sh:144: executing 'oc secret new-dockercfg --help' expecting success... SUCCESS after 0.348s: test/cmd/secrets.sh:144: executing 'oc secret new-dockercfg --help' expecting success Running test/cmd/secrets.sh:145: executing 'oc secret new-basicauth --help' expecting success... SUCCESS after 0.471s: test/cmd/secrets.sh:145: executing 'oc secret new-basicauth --help' expecting success Running test/cmd/secrets.sh:146: executing 'oc secret new-sshauth --help' expecting success... SUCCESS after 0.355s: test/cmd/secrets.sh:146: executing 'oc secret new-sshauth --help' expecting success Running test/cmd/secrets.sh:147: executing 'oc secret add --help' expecting success... SUCCESS after 0.469s: test/cmd/secrets.sh:147: executing 'oc secret add --help' expecting success Running test/cmd/secrets.sh:148: executing 'oc secret link --help' expecting success... SUCCESS after 0.332s: test/cmd/secrets.sh:148: executing 'oc secret link --help' expecting success Running test/cmd/secrets.sh:149: executing 'oc secret unlink --help' expecting success... SUCCESS after 0.274s: test/cmd/secrets.sh:149: executing 'oc secret unlink --help' expecting success secrets: ok Running test/cmd/secrets.sh:155: executing 'oc serviceaccounts create-kubeconfig default > '/tmp/openshift/test-cmd/generated_default.kubeconfig'' expecting success... SUCCESS after 0.369s: test/cmd/secrets.sh:155: executing 'oc serviceaccounts create-kubeconfig default > '/tmp/openshift/test-cmd/generated_default.kubeconfig'' expecting success Running test/cmd/secrets.sh:156: executing 'KUBECONFIG='/tmp/openshift/test-cmd/generated_default.kubeconfig' oc whoami' expecting success and text 'system:serviceaccount:cmd-secrets:default'... SUCCESS after 0.346s: test/cmd/secrets.sh:156: executing 'KUBECONFIG='/tmp/openshift/test-cmd/generated_default.kubeconfig' oc whoami' expecting success and text 'system:serviceaccount:cmd-secrets:default' serviceaccounts: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.231s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-secrets'' expecting success... SUCCESS after 0.562s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-secrets'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/services.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.559s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.340s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-services'' expecting success... SUCCESS after 1.082s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-services'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-services'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.424s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-services'; re-trying every 0.2s until completion or 60.000s Running test/cmd/services.sh:15: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=30000' expecting success and text 'service "mynodeport" created'... SUCCESS after 0.308s: test/cmd/services.sh:15: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=30000' expecting success and text 'service "mynodeport" created' Running test/cmd/services.sh:16: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=30000' expecting failure and text 'provided port is already allocated'... SUCCESS after 0.514s: test/cmd/services.sh:16: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=30000' expecting failure and text 'provided port is already allocated' Running test/cmd/services.sh:17: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=300' expecting failure and text 'provided port is not in the valid range. The range of valid ports is 30000-32767'... SUCCESS after 0.819s: test/cmd/services.sh:17: executing 'oc create service nodeport mynodeport --tcp=8080:7777 --node-port=300' expecting failure and text 'provided port is not in the valid range. The range of valid ports is 30000-32767' Running test/cmd/services.sh:18: executing 'oc describe service mynodeport' expecting success and text 'NodePort\:.*30000'... SUCCESS after 0.543s: test/cmd/services.sh:18: executing 'oc describe service mynodeport' expecting success and text 'NodePort\:.*30000' Running test/cmd/services.sh:19: executing 'oc describe service mynodeport' expecting success and text 'NodePort\:.*8080-7777'... SUCCESS after 0.492s: test/cmd/services.sh:19: executing 'oc describe service mynodeport' expecting success and text 'NodePort\:.*8080-7777' create-services-nodeport: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.376s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-services'' expecting success... SUCCESS after 0.687s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-services'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/set-image.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.481s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.219s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-set-image'' expecting success... SUCCESS after 0.415s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-set-image'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-set-image'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.602s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-set-image'; re-trying every 0.2s until completion or 60.000s Running test/cmd/set-image.sh:14: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success... SUCCESS after 0.669s: test/cmd/set-image.sh:14: executing 'oc create -f test/integration/testdata/test-deployment-config.yaml' expecting success Running test/cmd/set-image.sh:15: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success... SUCCESS after 0.334s: test/cmd/set-image.sh:15: executing 'oc create -f examples/hello-openshift/hello-pod.json' expecting success Running test/cmd/set-image.sh:16: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success... SUCCESS after 0.726s: test/cmd/set-image.sh:16: executing 'oc create -f examples/image-streams/image-streams-centos7.json' expecting success Running test/cmd/set-image.sh:17: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.731s: test/cmd/set-image.sh:17: executing 'oc get imagestreamtags ruby:2.3' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/set-image.sh:18: executing 'oc get imagestreamtags ruby:2.0' expecting success; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.640s: test/cmd/set-image.sh:18: executing 'oc get imagestreamtags ruby:2.0' expecting success; re-trying every 0.2s until completion or 60.000s Running test/cmd/set-image.sh:21: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --local' expecting failure and text 'you must specify resources by --filename when --local is set.'... SUCCESS after 0.534s: test/cmd/set-image.sh:21: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --local' expecting failure and text 'you must specify resources by --filename when --local is set.' Running test/cmd/set-image.sh:23: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run' expecting success and text 'test-deployment-config'... SUCCESS after 0.534s: test/cmd/set-image.sh:23: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run' expecting success and text 'test-deployment-config' Running test/cmd/set-image.sh:24: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run -o name' expecting success and text 'deploymentconfigs/test-deployment-config'... SUCCESS after 0.493s: test/cmd/set-image.sh:24: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run -o name' expecting success and text 'deploymentconfigs/test-deployment-config' Running test/cmd/set-image.sh:25: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run --template={{.metadata.name}}' expecting success and text 'test-deployment-config'... SUCCESS after 0.547s: test/cmd/set-image.sh:25: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag --dry-run --template={{.metadata.name}}' expecting success and text 'test-deployment-config' Running test/cmd/set-image.sh:27: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag -o yaml' expecting success and text 'name: test-deployment-config'... SUCCESS after 0.470s: test/cmd/set-image.sh:27: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag -o yaml' expecting success and text 'name: test-deployment-config' Running test/cmd/set-image.sh:29: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.3 --source=istag' expecting success... SUCCESS after 0.329s: test/cmd/set-image.sh:29: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.3 --source=istag' expecting success Running test/cmd/set-image.sh:30: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256'... SUCCESS after 0.405s: test/cmd/set-image.sh:30: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256' Running test/cmd/set-image.sh:32: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag' expecting success... SUCCESS after 0.665s: test/cmd/set-image.sh:32: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag' expecting success Running test/cmd/set-image.sh:33: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'openshift/ruby-20-centos7@sha256'... SUCCESS after 0.344s: test/cmd/set-image.sh:33: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'openshift/ruby-20-centos7@sha256' Running test/cmd/set-image.sh:35: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag' expecting success... SUCCESS after 0.432s: test/cmd/set-image.sh:35: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:2.0 --source=istag' expecting success Running test/cmd/set-image.sh:36: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'openshift/ruby-20-centos7@sha256'... SUCCESS after 0.741s: test/cmd/set-image.sh:36: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'openshift/ruby-20-centos7@sha256' Running test/cmd/set-image.sh:38: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:XYZ --source=istag' expecting failure... SUCCESS after 0.398s: test/cmd/set-image.sh:38: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:XYZ --source=istag' expecting failure Running test/cmd/set-image.sh:39: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:XYZ --source=isimage' expecting failure... SUCCESS after 0.242s: test/cmd/set-image.sh:39: executing 'oc set image dc/test-deployment-config ruby-helloworld=ruby:XYZ --source=isimage' expecting failure Running test/cmd/set-image.sh:41: executing 'oc set image dc/test-deployment-config ruby-helloworld=nginx' expecting success... SUCCESS after 0.414s: test/cmd/set-image.sh:41: executing 'oc set image dc/test-deployment-config ruby-helloworld=nginx' expecting success Running test/cmd/set-image.sh:42: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx'... SUCCESS after 0.364s: test/cmd/set-image.sh:42: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'nginx' Running test/cmd/set-image.sh:44: executing 'oc set image pod/hello-openshift hello-openshift=nginx' expecting success... SUCCESS after 0.516s: test/cmd/set-image.sh:44: executing 'oc set image pod/hello-openshift hello-openshift=nginx' expecting success Running test/cmd/set-image.sh:45: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx'... SUCCESS after 0.555s: test/cmd/set-image.sh:45: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx' Running test/cmd/set-image.sh:47: executing 'oc set image pod/hello-openshift hello-openshift=nginx:1.9.1' expecting success... SUCCESS after 0.570s: test/cmd/set-image.sh:47: executing 'oc set image pod/hello-openshift hello-openshift=nginx:1.9.1' expecting success Running test/cmd/set-image.sh:48: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx:1.9.1'... SUCCESS after 0.373s: test/cmd/set-image.sh:48: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'nginx:1.9.1' Running test/cmd/set-image.sh:50: executing 'oc set image pods,dc *=ruby:2.3 --all --source=imagestreamtag' expecting success... SUCCESS after 0.482s: test/cmd/set-image.sh:50: executing 'oc set image pods,dc *=ruby:2.3 --all --source=imagestreamtag' expecting success Running test/cmd/set-image.sh:51: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256'... SUCCESS after 0.410s: test/cmd/set-image.sh:51: executing 'oc get pod/hello-openshift -o jsonpath='{.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256' Running test/cmd/set-image.sh:52: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256'... SUCCESS after 0.805s: test/cmd/set-image.sh:52: executing 'oc get dc/test-deployment-config -o jsonpath='{.spec.template.spec.containers[0].image}'' expecting success and text 'centos/ruby-23-centos7@sha256' set-image: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.316s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-set-image'' expecting success... SUCCESS after 0.329s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-set-image'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/set-liveness-probe.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.448s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.425s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-set-liveness-probe'' expecting success... SUCCESS after 0.645s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-set-liveness-probe'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-set-liveness-probe'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.772s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-set-liveness-probe'; re-trying every 0.2s until completion or 60.000s Running test/cmd/set-liveness-probe.sh:15: executing 'oc create -f pkg/oc/graph/genericgraph/test/simple-deployment.yaml' expecting success and text 'deploymentconfig "simple-deployment" created'... SUCCESS after 0.290s: test/cmd/set-liveness-probe.sh:15: executing 'oc create -f pkg/oc/graph/genericgraph/test/simple-deployment.yaml' expecting success and text 'deploymentconfig "simple-deployment" created' Running test/cmd/set-liveness-probe.sh:16: executing 'oc status -v' expecting success and text 'dc/simple-deployment has no liveness probe'... SUCCESS after 0.316s: test/cmd/set-liveness-probe.sh:16: executing 'oc status -v' expecting success and text 'dc/simple-deployment has no liveness probe' Running test/cmd/set-liveness-probe.sh:19: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --local' expecting failure and text 'You must provide one or more resources by argument or filename'... SUCCESS after 0.577s: test/cmd/set-liveness-probe.sh:19: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --local' expecting failure and text 'You must provide one or more resources by argument or filename' Running test/cmd/set-liveness-probe.sh:21: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --dry-run' expecting success and text 'simple-deployment'... SUCCESS after 0.610s: test/cmd/set-liveness-probe.sh:21: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --dry-run' expecting success and text 'simple-deployment' Running test/cmd/set-liveness-probe.sh:22: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --dry-run -o name' expecting success and text 'deploymentconfigs/simple-deployment'... SUCCESS after 0.456s: test/cmd/set-liveness-probe.sh:22: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 --dry-run -o name' expecting success and text 'deploymentconfigs/simple-deployment' Running test/cmd/set-liveness-probe.sh:24: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 -o yaml' expecting success and text 'name: simple-deployment'... SUCCESS after 0.607s: test/cmd/set-liveness-probe.sh:24: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80 -o yaml' expecting success and text 'name: simple-deployment' Running test/cmd/set-liveness-probe.sh:26: executing 'oc status -v' expecting success and not text 'rc/simple-deployment-1 has no liveness probe'... SUCCESS after 0.805s: test/cmd/set-liveness-probe.sh:26: executing 'oc status -v' expecting success and not text 'rc/simple-deployment-1 has no liveness probe' Running test/cmd/set-liveness-probe.sh:27: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80' expecting success and text 'deploymentconfig "simple-deployment" updated'... SUCCESS after 0.660s: test/cmd/set-liveness-probe.sh:27: executing 'oc set probe dc/simple-deployment --liveness --get-url=http://google.com:80' expecting success and text 'deploymentconfig "simple-deployment" updated' Running test/cmd/set-liveness-probe.sh:28: executing 'oc status -v' expecting success and not text 'dc/simple-deployment has no liveness probe'... SUCCESS after 0.510s: test/cmd/set-liveness-probe.sh:28: executing 'oc status -v' expecting success and not text 'dc/simple-deployment has no liveness probe' set-probe-liveness: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.281s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-set-liveness-probe'' expecting success... SUCCESS after 0.351s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-set-liveness-probe'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/setbuildhook.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.768s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.400s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-setbuildhook'' expecting success... SUCCESS after 0.597s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-setbuildhook'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-setbuildhook'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.568s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-setbuildhook'; re-trying every 0.2s until completion or 60.000s Running test/cmd/setbuildhook.sh:16: executing 'oc set build-hook' expecting failure and text 'error: one or more build configs'... SUCCESS after 0.385s: test/cmd/setbuildhook.sh:16: executing 'oc set build-hook' expecting failure and text 'error: one or more build configs' Running test/cmd/setbuildhook.sh:17: executing 'oc set build-hook -f test/testdata/test-bc.yaml' expecting failure and text 'error: you must specify a type of hook'... SUCCESS after 0.256s: test/cmd/setbuildhook.sh:17: executing 'oc set build-hook -f test/testdata/test-bc.yaml' expecting failure and text 'error: you must specify a type of hook' Running test/cmd/setbuildhook.sh:18: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text 'postCommit:'... SUCCESS after 0.325s: test/cmd/setbuildhook.sh:18: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text 'postCommit:' Running test/cmd/setbuildhook.sh:19: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text 'args:'... SUCCESS after 0.475s: test/cmd/setbuildhook.sh:19: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text 'args:' Running test/cmd/setbuildhook.sh:20: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text '\- echo'... SUCCESS after 0.561s: test/cmd/setbuildhook.sh:20: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text '\- echo' Running test/cmd/setbuildhook.sh:21: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text '\- hello world'... SUCCESS after 0.508s: test/cmd/setbuildhook.sh:21: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and text '\- hello world' Running test/cmd/setbuildhook.sh:22: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and not text 'command:'... SUCCESS after 0.376s: test/cmd/setbuildhook.sh:22: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml -- echo 'hello world'' expecting success and not text 'command:' Running test/cmd/setbuildhook.sh:23: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit --command -o yaml -- echo 'hello world'' expecting success and text 'command:'... SUCCESS after 0.555s: test/cmd/setbuildhook.sh:23: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit --command -o yaml -- echo 'hello world'' expecting success and text 'command:' Running test/cmd/setbuildhook.sh:24: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml --script='echo "hello world"'' expecting success and text 'script: echo \"hello world\"'... SUCCESS after 0.649s: test/cmd/setbuildhook.sh:24: executing 'oc set build-hook -f test/testdata/test-bc.yaml --post-commit -o yaml --script='echo "hello world"'' expecting success and text 'script: echo \"hello world\"' Running test/cmd/setbuildhook.sh:26: executing 'oc create -f test/testdata/test-bc.yaml' expecting success... SUCCESS after 0.384s: test/cmd/setbuildhook.sh:26: executing 'oc create -f test/testdata/test-bc.yaml' expecting success Running test/cmd/setbuildhook.sh:27: executing 'oc set build-hook bc/test-buildconfig --post-commit' expecting failure and text 'you must specify either a script or command'... SUCCESS after 0.259s: test/cmd/setbuildhook.sh:27: executing 'oc set build-hook bc/test-buildconfig --post-commit' expecting failure and text 'you must specify either a script or command' Running test/cmd/setbuildhook.sh:28: executing 'oc set build-hook test-buildconfig --post-commit -- echo 'hello world'' expecting success and text 'updated'... SUCCESS after 0.397s: test/cmd/setbuildhook.sh:28: executing 'oc set build-hook test-buildconfig --post-commit -- echo 'hello world'' expecting success and text 'updated' Running test/cmd/setbuildhook.sh:29: executing 'oc set build-hook bc/test-buildconfig --post-commit -- echo 'hello world'' expecting success and text 'was not changed'... SUCCESS after 0.360s: test/cmd/setbuildhook.sh:29: executing 'oc set build-hook bc/test-buildconfig --post-commit -- echo 'hello world'' expecting success and text 'was not changed' Running test/cmd/setbuildhook.sh:30: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'args:'... SUCCESS after 0.550s: test/cmd/setbuildhook.sh:30: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'args:' Running test/cmd/setbuildhook.sh:31: executing 'oc set build-hook bc/test-buildconfig --post-commit --command -- /bin/bash -c "echo 'test'"' expecting success and text 'updated'... SUCCESS after 0.839s: test/cmd/setbuildhook.sh:31: executing 'oc set build-hook bc/test-buildconfig --post-commit --command -- /bin/bash -c "echo 'test'"' expecting success and text 'updated' Running test/cmd/setbuildhook.sh:32: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'command:'... SUCCESS after 0.407s: test/cmd/setbuildhook.sh:32: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'command:' Running test/cmd/setbuildhook.sh:33: executing 'oc set build-hook --all --post-commit -- echo 'all bc'' expecting success and text 'updated'... SUCCESS after 0.616s: test/cmd/setbuildhook.sh:33: executing 'oc set build-hook --all --post-commit -- echo 'all bc'' expecting success and text 'updated' Running test/cmd/setbuildhook.sh:34: executing 'oc get bc -o yaml' expecting success and text 'all bc'... SUCCESS after 0.328s: test/cmd/setbuildhook.sh:34: executing 'oc get bc -o yaml' expecting success and text 'all bc' Running test/cmd/setbuildhook.sh:35: executing 'oc set build-hook bc/test-buildconfig --post-commit --remove' expecting success and text 'updated'... SUCCESS after 0.545s: test/cmd/setbuildhook.sh:35: executing 'oc set build-hook bc/test-buildconfig --post-commit --remove' expecting success and text 'updated' Running test/cmd/setbuildhook.sh:36: executing 'oc get bc/test-buildconfig -o yaml' expecting success and not text 'args:'... SUCCESS after 0.340s: test/cmd/setbuildhook.sh:36: executing 'oc get bc/test-buildconfig -o yaml' expecting success and not text 'args:' Running test/cmd/setbuildhook.sh:37: executing 'oc delete bc/test-buildconfig' expecting success... SUCCESS after 0.535s: test/cmd/setbuildhook.sh:37: executing 'oc delete bc/test-buildconfig' expecting success set build-hook: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.321s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-setbuildhook'' expecting success... SUCCESS after 0.520s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-setbuildhook'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/setbuildsecret.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.787s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.456s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-setbuildsecret'' expecting success... SUCCESS after 0.487s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-setbuildsecret'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-setbuildsecret'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.010s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-setbuildsecret'; re-trying every 0.2s until completion or 60.000s Running test/cmd/setbuildsecret.sh:15: executing 'oc set build-secret' expecting failure and text 'error: a secret name must be specified'... SUCCESS after 0.291s: test/cmd/setbuildsecret.sh:15: executing 'oc set build-secret' expecting failure and text 'error: a secret name must be specified' Running test/cmd/setbuildsecret.sh:16: executing 'oc set build-secret -f test/testdata/test-bc.yaml' expecting failure and text 'error: a secret name must be specified'... SUCCESS after 0.565s: test/cmd/setbuildsecret.sh:16: executing 'oc set build-secret -f test/testdata/test-bc.yaml' expecting failure and text 'error: a secret name must be specified' Running test/cmd/setbuildsecret.sh:17: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret' expecting failure and text 'error: specify the type of secret'... SUCCESS after 0.542s: test/cmd/setbuildsecret.sh:17: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret' expecting failure and text 'error: specify the type of secret' Running test/cmd/setbuildsecret.sh:18: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml' expecting success and text 'pushSecret:'... SUCCESS after 0.507s: test/cmd/setbuildsecret.sh:18: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml' expecting success and text 'pushSecret:' Running test/cmd/setbuildsecret.sh:19: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml' expecting success and text 'name: mysecret'... SUCCESS after 0.384s: test/cmd/setbuildsecret.sh:19: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml' expecting success and text 'name: mysecret' Running test/cmd/setbuildsecret.sh:20: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml' expecting success and text 'pullSecret:'... SUCCESS after 0.391s: test/cmd/setbuildsecret.sh:20: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml' expecting success and text 'pullSecret:' Running test/cmd/setbuildsecret.sh:21: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml' expecting success and text 'name: mysecret'... SUCCESS after 0.329s: test/cmd/setbuildsecret.sh:21: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml' expecting success and text 'name: mysecret' Running test/cmd/setbuildsecret.sh:22: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --source --local -o yaml' expecting success and text 'sourceSecret:'... SUCCESS after 0.345s: test/cmd/setbuildsecret.sh:22: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --source --local -o yaml' expecting success and text 'sourceSecret:' Running test/cmd/setbuildsecret.sh:23: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --source --local -o yaml' expecting success and text 'name: mysecret'... SUCCESS after 0.392s: test/cmd/setbuildsecret.sh:23: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --source --local -o yaml' expecting success and text 'name: mysecret' Running test/cmd/setbuildsecret.sh:24: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml | oc set build-secret --local -f - --remove --push -o yaml' expecting success and not text 'pushSecret:'... SUCCESS after 0.700s: test/cmd/setbuildsecret.sh:24: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml | oc set build-secret --local -f - --remove --push -o yaml' expecting success and not text 'pushSecret:' Running test/cmd/setbuildsecret.sh:25: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml | oc set build-secret --local -f - --remove --pull -o yaml' expecting success and not text 'pullSecret:'... SUCCESS after 0.671s: test/cmd/setbuildsecret.sh:25: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --pull --local -o yaml | oc set build-secret --local -f - --remove --pull -o yaml' expecting success and not text 'pullSecret:' Running test/cmd/setbuildsecret.sh:26: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml | oc set build-secret --local -f - --remove --source -o yaml' expecting success and not text 'sourceSecret:'... SUCCESS after 0.480s: test/cmd/setbuildsecret.sh:26: executing 'oc set build-secret -f test/testdata/test-bc.yaml mysecret --push --local -o yaml | oc set build-secret --local -f - --remove --source -o yaml' expecting success and not text 'sourceSecret:' Running test/cmd/setbuildsecret.sh:28: executing 'oc create -f test/testdata/test-bc.yaml' expecting success... SUCCESS after 0.501s: test/cmd/setbuildsecret.sh:28: executing 'oc create -f test/testdata/test-bc.yaml' expecting success Running test/cmd/setbuildsecret.sh:29: executing 'oc set build-secret test-buildconfig mysecret --push' expecting success and text 'updated'... SUCCESS after 0.842s: test/cmd/setbuildsecret.sh:29: executing 'oc set build-secret test-buildconfig mysecret --push' expecting success and text 'updated' Running test/cmd/setbuildsecret.sh:30: executing 'oc set build-secret bc/test-buildconfig mysecret --push' expecting success and text 'was not changed'... SUCCESS after 0.500s: test/cmd/setbuildsecret.sh:30: executing 'oc set build-secret bc/test-buildconfig mysecret --push' expecting success and text 'was not changed' Running test/cmd/setbuildsecret.sh:31: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'pushSecret:'... SUCCESS after 0.313s: test/cmd/setbuildsecret.sh:31: executing 'oc get bc/test-buildconfig -o yaml' expecting success and text 'pushSecret:' Running test/cmd/setbuildsecret.sh:32: executing 'oc set build-secret bc/test-buildconfig --push --remove' expecting success and text 'updated'... SUCCESS after 0.342s: test/cmd/setbuildsecret.sh:32: executing 'oc set build-secret bc/test-buildconfig --push --remove' expecting success and text 'updated' Running test/cmd/setbuildsecret.sh:33: executing 'oc get bc/test-buildconfig -o yaml' expecting success and not text 'pushSecret:'... SUCCESS after 0.360s: test/cmd/setbuildsecret.sh:33: executing 'oc get bc/test-buildconfig -o yaml' expecting success and not text 'pushSecret:' Running test/cmd/setbuildsecret.sh:34: executing 'oc delete bc/test-buildconfig' expecting success... SUCCESS after 0.384s: test/cmd/setbuildsecret.sh:34: executing 'oc delete bc/test-buildconfig' expecting success set build-secret: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.608s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-setbuildsecret'' expecting success... SUCCESS after 0.510s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-setbuildsecret'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/status.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.416s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.380s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-status'' expecting success... SUCCESS after 0.699s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-status'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-status'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 1.015s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-status'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:24: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.452s: test/cmd/status.sh:24: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/status.sh:25: executing 'oc delete project --all' expecting success... SUCCESS after 0.822s: test/cmd/status.sh:25: executing 'oc delete project --all' expecting success Running test/cmd/status.sh:26: executing 'oc get projects -o jsonpath='{.items}'' expecting any result and text '^\[\]$'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 5.732s: test/cmd/status.sh:26: executing 'oc get projects -o jsonpath='{.items}'' expecting any result and text '^\[\]$'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:27: executing 'oc logout' expecting success... SUCCESS after 0.445s: test/cmd/status.sh:27: executing 'oc logout' expecting success Running test/cmd/status.sh:30: executing 'oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success... SUCCESS after 0.562s: test/cmd/status.sh:30: executing 'oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success Running test/cmd/status.sh:33: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.407s: test/cmd/status.sh:33: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running test/cmd/status.sh:36: executing 'oc status' expecting success and text 'You don't have any projects. Contact your system administrator to request a project'... SUCCESS after 0.461s: test/cmd/status.sh:36: executing 'oc status' expecting success and text 'You don't have any projects. Contact your system administrator to request a project' Running test/cmd/status.sh:37: executing 'oc status --all-namespaces' expecting success and text 'Showing all projects on server'... SUCCESS after 0.422s: test/cmd/status.sh:37: executing 'oc status --all-namespaces' expecting success and text 'Showing all projects on server' Running test/cmd/status.sh:39: executing 'oc logout' expecting success... SUCCESS after 0.446s: test/cmd/status.sh:39: executing 'oc logout' expecting success Running test/cmd/status.sh:40: executing 'oc adm policy add-cluster-role-to-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success... SUCCESS after 0.383s: test/cmd/status.sh:40: executing 'oc adm policy add-cluster-role-to-group self-provisioner system:authenticated:oauth --config='/go/src/github.com/openshift/origin/_output/scripts/test-cmd/artifacts/login.kubeconfig'' expecting success Running test/cmd/status.sh:41: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running'... SUCCESS after 0.679s: test/cmd/status.sh:41: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running' Running test/cmd/status.sh:44: executing 'oc status' expecting success and text 'You don't have any projects. You can try to create a new project, by running'... SUCCESS after 0.465s: test/cmd/status.sh:44: executing 'oc status' expecting success and text 'You don't have any projects. You can try to create a new project, by running' Running test/cmd/status.sh:45: executing 'oc status --all-namespaces' expecting success and text 'Showing all projects on server'... SUCCESS after 0.621s: test/cmd/status.sh:45: executing 'oc status --all-namespaces' expecting success and text 'Showing all projects on server' Running test/cmd/status.sh:47: executing 'oc status -n forbidden' expecting failure and text 'Error from server \(Forbidden\): projects.project.openshift.io "forbidden" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "forbidden"'... SUCCESS after 0.578s: test/cmd/status.sh:47: executing 'oc status -n forbidden' expecting failure and text 'Error from server \(Forbidden\): projects.project.openshift.io "forbidden" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "forbidden"' Running test/cmd/status.sh:50: executing 'oc new-project project-bar --display-name='my project' --description='test project'' expecting success... SUCCESS after 0.628s: test/cmd/status.sh:50: executing 'oc new-project project-bar --display-name='my project' --description='test project'' expecting success Running test/cmd/status.sh:51: executing 'oc project' expecting success and text 'Using project "project-bar"'... SUCCESS after 0.277s: test/cmd/status.sh:51: executing 'oc project' expecting success and text 'Using project "project-bar"' Running test/cmd/status.sh:54: executing 'oc status' expecting success and text 'In project my project \(project-bar\) on server'... SUCCESS after 0.417s: test/cmd/status.sh:54: executing 'oc status' expecting success and text 'In project my project \(project-bar\) on server' Running test/cmd/status.sh:55: executing 'oc status -n forbidden' expecting failure and text 'Error from server \(Forbidden\): projects.project.openshift.io "forbidden" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "forbidden"'... SUCCESS after 0.574s: test/cmd/status.sh:55: executing 'oc status -n forbidden' expecting failure and text 'Error from server \(Forbidden\): projects.project.openshift.io "forbidden" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "forbidden"' Running test/cmd/status.sh:58: executing 'oc new-project project-bar-2 --display-name='my project 2' --description='test project 2'' expecting success... SUCCESS after 0.566s: test/cmd/status.sh:58: executing 'oc new-project project-bar-2 --display-name='my project 2' --description='test project 2'' expecting success Running test/cmd/status.sh:59: executing 'oc project' expecting success and text 'Using project "project-bar-2"'... SUCCESS after 0.345s: test/cmd/status.sh:59: executing 'oc project' expecting success and text 'Using project "project-bar-2"' Running test/cmd/status.sh:63: executing 'oc delete project project-bar-2' expecting success and text 'project "project-bar-2" deleted'... SUCCESS after 0.618s: test/cmd/status.sh:63: executing 'oc delete project project-bar-2' expecting success and text 'project "project-bar-2" deleted' Running test/cmd/status.sh:65: executing 'oc status' expecting any result and text 'Error from server \(Forbidden\): projects.project.openshift.io "project-bar-2" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "project-bar-2"'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 5.416s: test/cmd/status.sh:65: executing 'oc status' expecting any result and text 'Error from server \(Forbidden\): projects.project.openshift.io "project-bar-2" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "project-bar-2"'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:71: executing 'oc project project-bar' expecting success... SUCCESS after 0.509s: test/cmd/status.sh:71: executing 'oc project project-bar' expecting success Running test/cmd/status.sh:72: executing 'oc delete project project-bar' expecting success... SUCCESS after 0.684s: test/cmd/status.sh:72: executing 'oc delete project project-bar' expecting success Running test/cmd/status.sh:74: executing 'oc status' expecting any result and text 'Error from server \(Forbidden\): projects.project.openshift.io "project-bar" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "project-bar"'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 6.068s: test/cmd/status.sh:74: executing 'oc status' expecting any result and text 'Error from server \(Forbidden\): projects.project.openshift.io "project-bar" is forbidden: User "test-user" cannot get projects.project.openshift.io in the namespace "project-bar"'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:75: executing 'oc get projects' expecting any result and not text 'project-bar'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.351s: test/cmd/status.sh:75: executing 'oc get projects' expecting any result and not text 'project-bar'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:76: executing 'oc get projects' expecting any result and not text 'project-bar-2'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.357s: test/cmd/status.sh:76: executing 'oc get projects' expecting any result and not text 'project-bar-2'; re-trying every 0.2s until completion or 60.000s Running test/cmd/status.sh:77: executing 'oc logout' expecting success... SUCCESS after 0.429s: test/cmd/status.sh:77: executing 'oc logout' expecting success Running test/cmd/status.sh:78: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running'... SUCCESS after 0.588s: test/cmd/status.sh:78: executing 'oc login --server=https://172.17.0.2:28443 --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success and text 'You don't have any projects. You can try to create a new project, by running' Running test/cmd/status.sh:79: executing 'oc status' expecting success and text 'You don't have any projects. You can try to create a new project, by running'... SUCCESS after 0.602s: test/cmd/status.sh:79: executing 'oc status' expecting success and text 'You don't have any projects. You can try to create a new project, by running' Running test/cmd/status.sh:82: executing 'oc logout' expecting success... SUCCESS after 0.489s: test/cmd/status.sh:82: executing 'oc logout' expecting success status: ok Running hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success... SUCCESS after 0.392s: hack/test-cmd.sh:123: executing 'oc project 'default/172-17-0-2:28443/system:admin'' expecting success Running hack/test-cmd.sh:124: executing 'oc delete project 'cmd-status'' expecting success... SUCCESS after 0.493s: hack/test-cmd.sh:124: executing 'oc delete project 'cmd-status'' expecting success ++ /go/src/github.com/openshift/origin/test/cmd/templates.sh Running hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success... SUCCESS after 0.630s: hack/test-cmd.sh:110: executing 'oc login --server='https://172.17.0.2:28443' --certificate-authority='/tmp/openshift/test-cmd/openshift.local.config/master/ca.crt' -u test-user -p anything' expecting success Running hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success... SUCCESS after 0.412s: hack/test-cmd.sh:111: executing 'oc project default/172-17-0-2:28443/system:admin' expecting success Running hack/test-cmd.sh:112: executing 'oc new-project 'cmd-templates'' expecting success... SUCCESS after 0.567s: hack/test-cmd.sh:112: executing 'oc new-project 'cmd-templates'' expecting success Running hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-templates'; re-trying every 0.2s until completion or 60.000s... SUCCESS after 0.415s: hack/test-cmd.sh:114: executing 'oc get projects -o name' expecting any result and text 'projects/cmd-templates'; re-trying every 0.2s until completion or 60.000s Running test/cmd/templates.sh:20: executing 'oc get templates' expecting success... SUCCESS after 0.533s: test/cmd/templates.sh:20: executing 'oc get templates' expecting success Running test/cmd/templates.sh:21: executing 'oc create -f examples/sample-app/application-template-dockerbuild.json' expecting success... SUCCESS after 0.477s: test/cmd/templates.sh:21: executing 'oc create -f examples/sample-app/application-template-dockerbuild.json' expecting success Running test/cmd/templates.sh:22: executing 'oc get templates' expecting success... SUCCESS after 0.682s: test/cmd/templates.sh:22: executing 'oc get templates' expecting success Running test/cmd/templates.sh:23: executing 'oc get templates ruby-helloworld-sample' expecting success... SUCCESS after 0.597s: test/cmd/templates.sh:23: executing 'oc get templates ruby-helloworld-sample' expecting success Running test/cmd/templates.sh:24: executing 'oc get template ruby-helloworld-sample -o json | oc process -f -' expecting success... SUCCESS after 0.603s: test/cmd/templates.sh:24: executing 'oc get template ruby-helloworld-sample -o json | oc process -f -' expecting success Running test/cmd/templates.sh:25: executing 'oc process ruby-helloworld-sample' expecting success... SUCCESS after 0.537s: test/cmd/templates.sh:25: executing 'oc process ruby-helloworld-sample' expecting success Running test/cmd/templates.sh:26: executing 'oc process ruby-helloworld-sample -o template --template "{{.kind}}"' expecting success and text 'List'... SUCCESS after 0.703s: test/cmd/templates.sh:26: executing 'oc process ruby-helloworld-sample -o template --template "{{.kind}}"' expecting success and text 'List' Running test/cmd/templates.sh:27: executing 'oc process ruby-helloworld-sample -o go-template --template "{{.kind}}"' expecting success and text 'List'... SUCCESS after 0.464s: test/cmd/templates.sh:27: executing 'oc process ruby-helloworld-sample -o go-template --template "{{.kind}}"' expecting success and text 'List' Running test/cmd/templates.sh:28: executing 'oc process ruby-helloworld-sample -o go-template={{.kind}}' expecting success and text 'List'... SUCCESS after 0.527s: test/cmd/templates.sh:28: executing 'oc process ruby-helloworld-sample -o go-template={{.kind}}' expecting success and text 'List' Running test/cmd/templates.sh:29: executing 'oc process ruby-helloworld-sample -o go-template-file=/dev/null' expecting success... SUCCESS after 0.378s: test/cmd/templates.sh:29: executing 'oc process ruby-helloworld-sample -o go-template-file=/dev/null' expecting success Running test/cmd/templates.sh:30: executing 'oc process ruby-helloworld-sample -o jsonpath --template "{.kind}"' expecting success and text 'List'... SUCCESS after 0.325s: test/cmd/templates.sh:30: executing 'oc process ruby-helloworld-sample -o jsonpath --template "{.kind}"' expecting success and text 'List' Running test/cmd/templates.sh:31: executing 'oc process ruby-helloworld-sample -o jsonpath={.kind}' expecting success and text 'List'... SUCCESS after 0.327s: test/cmd/templates.sh:31: executing 'oc process ruby-helloworld-sample -o jsonpath={.kind}' expecting success and text 'List' Running test/cmd/templates.sh:32: executing 'oc process ruby-helloworld-sample -o jsonpath-file=/dev/null' expecting success... SUCCESS after 0.588s: test/cmd/templates.sh:32: executing 'oc process ruby-helloworld-sample -o jsonpath-file=/dev/null' expecting success Running test/cmd/templates.sh:33: executing 'oc process ruby-helloworld-sample -o describe' expecting success and text 'ruby-22-centos7'... SUCCESS after 0.563s: test/cmd/templates.sh:33: executing 'oc process ruby-helloworld-sample -o describe' expecting success and text 'ruby-22-centos7' Running test/cmd/templates.sh:34: executing 'oc process ruby-helloworld-sample -o json' expecting success and text 'ruby-22-centos7'... SUCCESS after 0.440s: test/cmd/templates.sh:34: executing 'oc process ruby-helloworld-sample -o json' expecting success and text 'ruby-22-centos7' Running test/cmd/templates.sh:35: executing 'oc process ruby-helloworld-sample -o yaml' expecting success and text 'ruby-22-centos7'... SUCCESS after 0.415s: test/cmd/templates.sh:35: executing 'oc process ruby-helloworld-sample -o yaml' expecting success and text 'ruby-22-centos7' Running test/cmd/templates.sh:36: executing 'oc process ruby-helloworld-sample -o name' expecting success and text 'ruby-22-centos7'... SUCCESS after 0.557s: test/cmd/templates.sh:36: executing 'oc process ruby-helloworld-sample -o name' expecting success and text 'ruby-22-centos7' Running test/cmd/templates.sh:37: executing 'oc describe templates ruby-helloworld-sample' expecting success and text 'BuildConfig.*ruby-sample-build'... SUCCESS after 0.527s: test/cmd/templates.sh:37: executing 'oc describe templates ruby-helloworld-sample' expecting success and text 'BuildConfig.*ruby-sample-build' Running test/cmd/templates.sh:38: executing 'oc delete templates ruby-helloworld-sample' expecting success... SUCCESS after 0.513s: test/cmd/templates.sh:38: executing 'oc delete templates ruby-helloworld-sample' expecting success Running test/cmd/templates.sh:39: executing 'oc get templates' expecting success... SUCCESS after 0.389s: test/cmd/templates.sh:39: executing 'oc get templates' expecting success templates: ok Running test/cmd/templates.sh:46: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -l app=guestbook | oc create -f -' expecting success... SUCCESS after 0.649s: test/cmd/templates.sh:46: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -l app=guestbook | oc create -f -' expecting success Running test/cmd/templates.sh:47: executing 'oc status' expecting success and text 'frontend-service'... SUCCESS after 0.358s: test/cmd/templates.sh:47: executing 'oc status' expecting success and text 'frontend-service' template+config: ok Running test/cmd/templates.sh:52: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --local -l app=guestbook -o yaml' expecting success and text 'app: guestbook'... SUCCESS after 0.537s: test/cmd/templates.sh:52: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --local -l app=guestbook -o yaml' expecting success and text 'app: guestbook' Running test/cmd/templates.sh:55: executing 'oc process -f "${guestbook_template}" --local -l app=guestbook -o yaml ADMIN_USERNAME=au ADMIN_PASSWORD=ap REDIS_PASSWORD=rp > "${new}/localtemplate"' expecting success... SUCCESS after 0.575s: test/cmd/templates.sh:55: executing 'oc process -f "${guestbook_template}" --local -l app=guestbook -o yaml ADMIN_USERNAME=au ADMIN_PASSWORD=ap REDIS_PASSWORD=rp > "${new}/localtemplate"' expecting success Running test/cmd/templates.sh:56: executing 'oc process -f "${guestbook_template}" -l app=guestbook -o yaml ADMIN_USERNAME=au ADMIN_PASSWORD=ap REDIS_PASSWORD=rp > "${new}/remotetemplate"' expecting success... SUCCESS after 0.487s: test/cmd/templates.sh:56: executing 'oc process -f "${guestbook_template}" -l app=guestbook -o yaml ADMIN_USERNAME=au ADMIN_PASSWORD=ap REDIS_PASSWORD=rp > "${new}/remotetemplate"' expecting success Running test/cmd/templates.sh:57: executing 'diff "${new}/localtemplate" "${new}/remotetemplate"' expecting success... SUCCESS after 0.043s: test/cmd/templates.sh:57: executing 'diff "${new}/localtemplate" "${new}/remotetemplate"' expecting success Running test/cmd/templates.sh:59: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --local -l app=guestbook -o yaml --server 0.0.0.0:1' expecting success and text 'app: guestbook'... SUCCESS after 0.398s: test/cmd/templates.sh:59: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --local -l app=guestbook -o yaml --server 0.0.0.0:1' expecting success and text 'app: guestbook' template+config+local: ok Running test/cmd/templates.sh:66: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ADMIN_USERNAME=myuser -p ADMIN_PASSWORD=mypassword' expecting success and text '"myuser"'... SUCCESS after 0.612s: test/cmd/templates.sh:66: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ADMIN_USERNAME=myuser -p ADMIN_PASSWORD=mypassword' expecting success and text '"myuser"' Running test/cmd/templates.sh:67: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ADMIN_USERNAME=myuser -p ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"'... SUCCESS after 0.622s: test/cmd/templates.sh:67: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ADMIN_USERNAME=myuser -p ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"' Running test/cmd/templates.sh:69: executing 'oc process ADMIN_USERNAME=myuser ADMIN_PASSWORD=mypassword -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json'' expecting success and text '"myuser"'... SUCCESS after 0.426s: test/cmd/templates.sh:69: executing 'oc process ADMIN_USERNAME=myuser ADMIN_PASSWORD=mypassword -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json'' expecting success and text '"myuser"' Running test/cmd/templates.sh:70: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' ADMIN_USERNAME=myuser ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"'... SUCCESS after 0.553s: test/cmd/templates.sh:70: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' ADMIN_USERNAME=myuser ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"' Running test/cmd/templates.sh:72: executing 'oc create -f examples/sample-app/application-template-stibuild.json' expecting success... SUCCESS after 0.282s: test/cmd/templates.sh:72: executing 'oc create -f examples/sample-app/application-template-stibuild.json' expecting success Running test/cmd/templates.sh:73: executing 'oc process ruby-helloworld-sample MYSQL_USER=myself MYSQL_PASSWORD=my,1%pa=s' expecting success and text '"myself"'... SUCCESS after 0.253s: test/cmd/templates.sh:73: executing 'oc process ruby-helloworld-sample MYSQL_USER=myself MYSQL_PASSWORD=my,1%pa=s' expecting success and text '"myself"' Running test/cmd/templates.sh:74: executing 'oc process MYSQL_USER=myself MYSQL_PASSWORD=my,1%pa=s ruby-helloworld-sample' expecting success and text '"my,1%pa=s"'... SUCCESS after 0.412s: test/cmd/templates.sh:74: executing 'oc process MYSQL_USER=myself MYSQL_PASSWORD=my,1%pa=s ruby-helloworld-sample' expecting success and text '"my,1%pa=s"' Running test/cmd/templates.sh:75: executing 'oc process ruby-helloworld-sample -p MYSQL_USER=myself -p MYSQL_PASSWORD=my,1%pa=s' expecting success and text '"myself"'... SUCCESS after 0.563s: test/cmd/templates.sh:75: executing 'oc process ruby-helloworld-sample -p MYSQL_USER=myself -p MYSQL_PASSWORD=my,1%pa=s' expecting success and text '"myself"' Running test/cmd/templates.sh:76: executing 'oc process -p MYSQL_USER=myself -p MYSQL_PASSWORD=my,1%pa=s ruby-helloworld-sample' expecting success and text '"my,1%pa=s"'... SUCCESS after 0.612s: test/cmd/templates.sh:76: executing 'oc process -p MYSQL_USER=myself -p MYSQL_PASSWORD=my,1%pa=s ruby-helloworld-sample' expecting success and text '"my,1%pa=s"' Running test/cmd/templates.sh:78: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"root"'... SUCCESS after 0.435s: test/cmd/templates.sh:78: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"root"' Running test/cmd/templates.sh:79: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"adminpass"'... SUCCESS after 0.393s: test/cmd/templates.sh:79: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"adminpass"' Running test/cmd/templates.sh:80: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"redispass"'... SUCCESS after 0.391s: test/cmd/templates.sh:80: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success and text '"redispass"' Running test/cmd/templates.sh:82: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"root"'... SUCCESS after 0.960s: test/cmd/templates.sh:82: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"root"' Running test/cmd/templates.sh:83: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"adminpass"'... SUCCESS after 0.469s: test/cmd/templates.sh:83: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"adminpass"' Running test/cmd/templates.sh:84: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"redispass"'... SUCCESS after 0.337s: test/cmd/templates.sh:84: executing 'cat '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' | oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=-' expecting success and text '"redispass"' Running test/cmd/templates.sh:86: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_USERNAME=myuser' expecting success and text 'ignoring value from file'... SUCCESS after 0.420s: test/cmd/templates.sh:86: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_USERNAME=myuser' expecting success and text 'ignoring value from file' Running test/cmd/templates.sh:87: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_USERNAME=myuser' expecting success and text '"myuser"'... SUCCESS after 0.494s: test/cmd/templates.sh:87: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_USERNAME=myuser' expecting success and text '"myuser"' Running test/cmd/templates.sh:88: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"'... SUCCESS after 0.395s: test/cmd/templates.sh:88: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p ADMIN_PASSWORD=mypassword' expecting success and text '"mypassword"' Running test/cmd/templates.sh:89: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p REDIS_PASSWORD=rrr' expecting success and text '"rrr"'... SUCCESS after 0.604s: test/cmd/templates.sh:89: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env' -p REDIS_PASSWORD=rrr' expecting success and text '"rrr"' Running test/cmd/templates.sh:91: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=test/testdata/template_required_params.env -o yaml' expecting success and text 'first$'... SUCCESS after 0.671s: test/cmd/templates.sh:91: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=test/testdata/template_required_params.env -o yaml' expecting success and text 'first$' Running test/cmd/templates.sh:92: executing 'oc delete template ruby-helloworld-sample' expecting success... SUCCESS after 0.351s: test/cmd/templates.sh:92: executing 'oc delete template ruby-helloworld-sample' expecting success Running test/cmd/templates.sh:94: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=does/not/exist' expecting failure and text 'no such file or directory'... SUCCESS after 0.322s: test/cmd/templates.sh:94: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=does/not/exist' expecting failure and text 'no such file or directory' Running test/cmd/templates.sh:95: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=test/testdata' expecting failure and text 'is a directory'... SUCCESS after 0.830s: test/cmd/templates.sh:95: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=test/testdata' expecting failure and text 'is a directory' Running test/cmd/templates.sh:96: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=/dev/null' expecting failure and text 'parameter required_param is required and must be specified'... SUCCESS after 0.390s: test/cmd/templates.sh:96: executing 'oc process -f test/testdata/template_required_params.yaml --param-file=/dev/null' expecting failure and text 'parameter required_param is required and must be specified' Running test/cmd/templates.sh:97: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=/dev/null --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success... SUCCESS after 0.272s: test/cmd/templates.sh:97: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' --param-file=/dev/null --param-file='/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.env'' expecting success Running test/cmd/templates.sh:98: executing 'echo 'fo%(o=bar' | oc process -f test/testdata/template_required_params.yaml --param-file=-' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.269s: test/cmd/templates.sh:98: executing 'echo 'fo%(o=bar' | oc process -f test/testdata/template_required_params.yaml --param-file=-' expecting failure and text 'invalid parameter assignment' Running test/cmd/templates.sh:99: executing 'echo 'S P A C E S=test' | oc process -f test/testdata/template_required_params.yaml --param-file=-' expecting failure and text 'invalid parameter assignment'... SUCCESS after 0.558s: test/cmd/templates.sh:99: executing 'echo 'S P A C E S=test' | oc process -f test/testdata/template_required_params.yaml --param-file=-' expecting failure and text 'invalid parameter assignment' Running test/cmd/templates.sh:101: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ABSENT_PARAMETER=absent' expecting failure and text 'unknown parameter name'... SUCCESS after 0.441s: test/cmd/templates.sh:101: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ABSENT_PARAMETER=absent' expecting failure and text 'unknown parameter name' Running test/cmd/templates.sh:102: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ABSENT_PARAMETER=absent --ignore-unknown-parameters' expecting success... SUCCESS after 0.625s: test/cmd/templates.sh:102: executing 'oc process -f '/go/src/github.com/openshift/origin/test/templates/testdata/guestbook.json' -p ABSENT_PARAMETER=absent --ignore-unknown-parameters' expecting success template+parameters: ok Running test/cmd/templates.sh:109: executing 'oc create -f test/testdata/template-type-precision.json' expecting success... SUCCESS after 0.356s: test/cmd/templates.sh:109: executing 'oc create -f test/testdata/template-type-precision.json' expecting success Running test/cmd/templates.sh:111: executing 'oc process template-type-precision' expecting success and text '1000030003'... SUCCESS after 0.515s: test/cmd/templates.sh:111: executing 'oc process template-type-precision' expecting success and text '1000030003' Running test/cmd/templates.sh:112: executing 'oc process template-type-precision' expecting success and text '2147483647'... SUCCESS after 0.430s: test/cmd/templates.sh:112: executing 'oc process template-type-precision' expecting success and text '2147483647' Running test/cmd/templates.sh:113: executing 'oc process template-type-precision' expecting success and text '9223372036854775807'... SUCCESS after 0.290s: test/cmd/templates.sh:113: executing 'oc process template-type-precision' expecting success and text '9223372036854775807' Running test/cmd/templates.sh:115: executing 'oc process template-type-precision | oc create -f -' expecting success... SUCCESS after 0.757s: test/cmd/templates.sh:115: executing 'oc process template-type-pr