{"action":"created","comment":{"url":"https://api.github.com/repos/ibmcb/cbtool/pulls/comments/73758036","id":73758036,"diff_hunk":"@@ -0,0 +1,202 @@\n+#!/usr/bin/env bash\n+\n+# Copyright (c) 2012 IBM Corp.\n+\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+\n+# Unless required by applicable law or agreed to in writing, software\n+set -x\n+\n+source $(echo $0 | sed -e \"s/\\(.*\\/\\)*.*/\\1.\\//g\")/cb_common.sh\n+\n+LOAD_PROFILE=$1\n+LOAD_LEVEL=$2\n+LOAD_DURATION=$3\n+LOAD_ID=$4\n+SLA_RUNTIME_TARGETS=$5\n+\n+if [[ -z \"$LOAD_PROFILE\" || -z \"$LOAD_LEVEL\" || -z \"$LOAD_DURATION\" || -z \"$LOAD_ID\" ]]\n+then\n+    syslog_netcat \"Usage: cb_unixbench.sh <load profile> <load level> <load duration> <load_id>\"\n+    exit 1\n+fi\n+\n+UNIXBENCH_DIR=\"~/byte-unixbench/UnixBench\"\n+eval UNIXBENCH_DIR=${UNIXBENCH_DIR}\n+\n+UNIXBENCH_IP=`get_ips_from_role unixbench`\n+source ~/cb_barrier.sh start","path":"scripts/unixbench/cb_unixbench.sh","position":30,"original_position":30,"commit_id":"34b3320b566d5c50ba3b9154b3e6cbe5b3320606","original_commit_id":"34b3320b566d5c50ba3b9154b3e6cbe5b3320606","user":{"login":"hinesmr","id":966394,"avatar_url":"https://avatars.githubusercontent.com/u/966394?v=3","gravatar_id":"","url":"https://api.github.com/users/hinesmr","html_url":"https://github.com/hinesmr","followers_url":"https://api.github.com/users/hinesmr/followers","following_url":"https://api.github.com/users/hinesmr/following{/other_user}","gists_url":"https://api.github.com/users/hinesmr/gists{/gist_id}","starred_url":"https://api.github.com/users/hinesmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinesmr/subscriptions","organizations_url":"https://api.github.com/users/hinesmr/orgs","repos_url":"https://api.github.com/users/hinesmr/repos","events_url":"https://api.github.com/users/hinesmr/events{/privacy}","received_events_url":"https://api.github.com/users/hinesmr/received_events","type":"User","site_admin":false},"body":"Remove this barrier line, please. It's a duplicate. I've a PR coming that also fixes the duplicates in other workloads.","created_at":"2016-08-05T20:55:56Z","updated_at":"2016-08-05T20:55:56Z","html_url":"https://github.com/ibmcb/cbtool/pull/122#discussion_r73758036","pull_request_url":"https://api.github.com/repos/ibmcb/cbtool/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/comments/73758036"},"html":{"href":"https://github.com/ibmcb/cbtool/pull/122#discussion_r73758036"},"pull_request":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/ibmcb/cbtool/pulls/122","id":79102996,"html_url":"https://github.com/ibmcb/cbtool/pull/122","diff_url":"https://github.com/ibmcb/cbtool/pull/122.diff","patch_url":"https://github.com/ibmcb/cbtool/pull/122.patch","issue_url":"https://api.github.com/repos/ibmcb/cbtool/issues/122","number":122,"state":"open","locked":false,"title":"Added UnixBench as a workload for CBTool","user":{"login":"chriskirkland","id":7198966,"avatar_url":"https://avatars.githubusercontent.com/u/7198966?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskirkland","html_url":"https://github.com/chriskirkland","followers_url":"https://api.github.com/users/chriskirkland/followers","following_url":"https://api.github.com/users/chriskirkland/following{/other_user}","gists_url":"https://api.github.com/users/chriskirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskirkland/subscriptions","organizations_url":"https://api.github.com/users/chriskirkland/orgs","repos_url":"https://api.github.com/users/chriskirkland/repos","events_url":"https://api.github.com/users/chriskirkland/events{/privacy}","received_events_url":"https://api.github.com/users/chriskirkland/received_events","type":"User","site_admin":false},"body":"Adds functionality for running UnixBench as a CBTool AI workload.  Supports the official UnixBench Index test (or any subset therein).","created_at":"2016-07-27T21:42:13Z","updated_at":"2016-08-05T20:55:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fd1ca6cb6e044ba1fd2419a69ee47334669e17c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ibmcb/cbtool/pulls/122/commits","review_comments_url":"https://api.github.com/repos/ibmcb/cbtool/pulls/122/comments","review_comment_url":"https://api.github.com/repos/ibmcb/cbtool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ibmcb/cbtool/issues/122/comments","statuses_url":"https://api.github.com/repos/ibmcb/cbtool/statuses/34b3320b566d5c50ba3b9154b3e6cbe5b3320606","head":{"label":"chriskirkland:feature/unixbench","ref":"feature/unixbench","sha":"34b3320b566d5c50ba3b9154b3e6cbe5b3320606","user":{"login":"chriskirkland","id":7198966,"avatar_url":"https://avatars.githubusercontent.com/u/7198966?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskirkland","html_url":"https://github.com/chriskirkland","followers_url":"https://api.github.com/users/chriskirkland/followers","following_url":"https://api.github.com/users/chriskirkland/following{/other_user}","gists_url":"https://api.github.com/users/chriskirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskirkland/subscriptions","organizations_url":"https://api.github.com/users/chriskirkland/orgs","repos_url":"https://api.github.com/users/chriskirkland/repos","events_url":"https://api.github.com/users/chriskirkland/events{/privacy}","received_events_url":"https://api.github.com/users/chriskirkland/received_events","type":"User","site_admin":false},"repo":{"id":64142501,"name":"cbtool","full_name":"chriskirkland/cbtool","owner":{"login":"chriskirkland","id":7198966,"avatar_url":"https://avatars.githubusercontent.com/u/7198966?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskirkland","html_url":"https://github.com/chriskirkland","followers_url":"https://api.github.com/users/chriskirkland/followers","following_url":"https://api.github.com/users/chriskirkland/following{/other_user}","gists_url":"https://api.github.com/users/chriskirkland/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskirkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskirkland/subscriptions","organizations_url":"https://api.github.com/users/chriskirkland/orgs","repos_url":"https://api.github.com/users/chriskirkland/repos","events_url":"https://api.github.com/users/chriskirkland/events{/privacy}","received_events_url":"https://api.github.com/users/chriskirkland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chriskirkland/cbtool","description":"Cloud Rapid Experimentation and Analysis Toolkit  #cloud","fork":true,"url":"https://api.github.com/repos/chriskirkland/cbtool","forks_url":"https://api.github.com/repos/chriskirkland/cbtool/forks","keys_url":"https://api.github.com/repos/chriskirkland/cbtool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chriskirkland/cbtool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chriskirkland/cbtool/teams","hooks_url":"https://api.github.com/repos/chriskirkland/cbtool/hooks","issue_events_url":"https://api.github.com/repos/chriskirkland/cbtool/issues/events{/number}","events_url":"https://api.github.com/repos/chriskirkland/cbtool/events","assignees_url":"https://api.github.com/repos/chriskirkland/cbtool/assignees{/user}","branches_url":"https://api.github.com/repos/chriskirkland/cbtool/branches{/branch}","tags_url":"https://api.github.com/repos/chriskirkland/cbtool/tags","blobs_url":"https://api.github.com/repos/chriskirkland/cbtool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chriskirkland/cbtool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chriskirkland/cbtool/git/refs{/sha}","trees_url":"https://api.github.com/repos/chriskirkland/cbtool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chriskirkland/cbtool/statuses/{sha}","languages_url":"https://api.github.com/repos/chriskirkland/cbtool/languages","stargazers_url":"https://api.github.com/repos/chriskirkland/cbtool/stargazers","contributors_url":"https://api.github.com/repos/chriskirkland/cbtool/contributors","subscribers_url":"https://api.github.com/repos/chriskirkland/cbtool/subscribers","subscription_url":"https://api.github.com/repos/chriskirkland/cbtool/subscription","commits_url":"https://api.github.com/repos/chriskirkland/cbtool/commits{/sha}","git_commits_url":"https://api.github.com/repos/chriskirkland/cbtool/git/commits{/sha}","comments_url":"https://api.github.com/repos/chriskirkland/cbtool/comments{/number}","issue_comment_url":"https://api.github.com/repos/chriskirkland/cbtool/issues/comments{/number}","contents_url":"https://api.github.com/repos/chriskirkland/cbtool/contents/{+path}","compare_url":"https://api.github.com/repos/chriskirkland/cbtool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chriskirkland/cbtool/merges","archive_url":"https://api.github.com/repos/chriskirkland/cbtool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chriskirkland/cbtool/downloads","issues_url":"https://api.github.com/repos/chriskirkland/cbtool/issues{/number}","pulls_url":"https://api.github.com/repos/chriskirkland/cbtool/pulls{/number}","milestones_url":"https://api.github.com/repos/chriskirkland/cbtool/milestones{/number}","notifications_url":"https://api.github.com/repos/chriskirkland/cbtool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chriskirkland/cbtool/labels{/name}","releases_url":"https://api.github.com/repos/chriskirkland/cbtool/releases{/id}","deployments_url":"https://api.github.com/repos/chriskirkland/cbtool/deployments","created_at":"2016-07-25T14:42:43Z","updated_at":"2016-07-25T14:42:48Z","pushed_at":"2016-07-27T21:39:35Z","git_url":"git://github.com/chriskirkland/cbtool.git","ssh_url":"git@github.com:chriskirkland/cbtool.git","clone_url":"https://github.com/chriskirkland/cbtool.git","svn_url":"https://github.com/chriskirkland/cbtool","homepage":"","size":36877,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ibmcb:master","ref":"master","sha":"75ccebaf0fd77b30fe7b49ab55b8182c59b7ac00","user":{"login":"ibmcb","id":2547099,"avatar_url":"https://avatars.githubusercontent.com/u/2547099?v=3","gravatar_id":"","url":"https://api.github.com/users/ibmcb","html_url":"https://github.com/ibmcb","followers_url":"https://api.github.com/users/ibmcb/followers","following_url":"https://api.github.com/users/ibmcb/following{/other_user}","gists_url":"https://api.github.com/users/ibmcb/gists{/gist_id}","starred_url":"https://api.github.com/users/ibmcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibmcb/subscriptions","organizations_url":"https://api.github.com/users/ibmcb/orgs","repos_url":"https://api.github.com/users/ibmcb/repos","events_url":"https://api.github.com/users/ibmcb/events{/privacy}","received_events_url":"https://api.github.com/users/ibmcb/received_events","type":"User","site_admin":false},"repo":{"id":6588904,"name":"cbtool","full_name":"ibmcb/cbtool","owner":{"login":"ibmcb","id":2547099,"avatar_url":"https://avatars.githubusercontent.com/u/2547099?v=3","gravatar_id":"","url":"https://api.github.com/users/ibmcb","html_url":"https://github.com/ibmcb","followers_url":"https://api.github.com/users/ibmcb/followers","following_url":"https://api.github.com/users/ibmcb/following{/other_user}","gists_url":"https://api.github.com/users/ibmcb/gists{/gist_id}","starred_url":"https://api.github.com/users/ibmcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibmcb/subscriptions","organizations_url":"https://api.github.com/users/ibmcb/orgs","repos_url":"https://api.github.com/users/ibmcb/repos","events_url":"https://api.github.com/users/ibmcb/events{/privacy}","received_events_url":"https://api.github.com/users/ibmcb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ibmcb/cbtool","description":"Cloud Rapid Experimentation and Analysis Toolkit  #cloud","fork":false,"url":"https://api.github.com/repos/ibmcb/cbtool","forks_url":"https://api.github.com/repos/ibmcb/cbtool/forks","keys_url":"https://api.github.com/repos/ibmcb/cbtool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibmcb/cbtool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibmcb/cbtool/teams","hooks_url":"https://api.github.com/repos/ibmcb/cbtool/hooks","issue_events_url":"https://api.github.com/repos/ibmcb/cbtool/issues/events{/number}","events_url":"https://api.github.com/repos/ibmcb/cbtool/events","assignees_url":"https://api.github.com/repos/ibmcb/cbtool/assignees{/user}","branches_url":"https://api.github.com/repos/ibmcb/cbtool/branches{/branch}","tags_url":"https://api.github.com/repos/ibmcb/cbtool/tags","blobs_url":"https://api.github.com/repos/ibmcb/cbtool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibmcb/cbtool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibmcb/cbtool/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibmcb/cbtool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibmcb/cbtool/statuses/{sha}","languages_url":"https://api.github.com/repos/ibmcb/cbtool/languages","stargazers_url":"https://api.github.com/repos/ibmcb/cbtool/stargazers","contributors_url":"https://api.github.com/repos/ibmcb/cbtool/contributors","subscribers_url":"https://api.github.com/repos/ibmcb/cbtool/subscribers","subscription_url":"https://api.github.com/repos/ibmcb/cbtool/subscription","commits_url":"https://api.github.com/repos/ibmcb/cbtool/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibmcb/cbtool/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibmcb/cbtool/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibmcb/cbtool/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibmcb/cbtool/contents/{+path}","compare_url":"https://api.github.com/repos/ibmcb/cbtool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibmcb/cbtool/merges","archive_url":"https://api.github.com/repos/ibmcb/cbtool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibmcb/cbtool/downloads","issues_url":"https://api.github.com/repos/ibmcb/cbtool/issues{/number}","pulls_url":"https://api.github.com/repos/ibmcb/cbtool/pulls{/number}","milestones_url":"https://api.github.com/repos/ibmcb/cbtool/milestones{/number}","notifications_url":"https://api.github.com/repos/ibmcb/cbtool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibmcb/cbtool/labels{/name}","releases_url":"https://api.github.com/repos/ibmcb/cbtool/releases{/id}","deployments_url":"https://api.github.com/repos/ibmcb/cbtool/deployments","created_at":"2012-11-08T00:30:11Z","updated_at":"2016-08-02T02:21:08Z","pushed_at":"2016-08-04T19:30:51Z","git_url":"git://github.com/ibmcb/cbtool.git","ssh_url":"git@github.com:ibmcb/cbtool.git","clone_url":"https://github.com/ibmcb/cbtool.git","svn_url":"https://github.com/ibmcb/cbtool","homepage":"","size":40306,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":5,"forks":21,"open_issues":5,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/122"},"html":{"href":"https://github.com/ibmcb/cbtool/pull/122"},"issue":{"href":"https://api.github.com/repos/ibmcb/cbtool/issues/122"},"comments":{"href":"https://api.github.com/repos/ibmcb/cbtool/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ibmcb/cbtool/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/ibmcb/cbtool/statuses/34b3320b566d5c50ba3b9154b3e6cbe5b3320606"}}}}
{"actor":{"display_login":"hinesmr"}}