{"action":"created","comment":{"url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/comments/241056328","pull_request_review_id":184231572,"id":241056328,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTA1NjMyOA==","diff_hunk":"@@ -0,0 +1,108 @@\n+#!/bin/bash\n+# This is for common install scripts\n+\n+check_arch()\n+{\n+    if [ $(uname -m) == \"aarch64\" ] ; then\n+        sed -i 's/arm.*:Linux/aarch64*:Linux/' config.guess\n+    fi\n+    if [ $(uname -m) == \"ppc64le\" ] ; then\n+            sed -i 's/ppc64:Linux/ppc64*:Linux/' config.guess\n+    fi\n+}\n+\n+\n+\n+lksctp_install()\n+{\n+    if [ -a /usr/include/netinet/sctp.h ]; then\n+        echo \"lksctp have been installed\"\n+        return 0\n+    fi\n+\n+    # try yum first\n+    yum install -y lksctp-tools-devel\n+\n+    if [ -a /usr/include/netinet/sctp.h ]; then\n+        echo \"lksctp installed success\"\n+        return 0\n+    else\n+        lksctp-tools_install\n+    fi\n+\n+    return $?\n+}\n+\n+\n+ctp-tools_install()\n+{\n+    [ -a /usr/local/bin/bindx_test ] && return 0\n+\n+    local commit=\"57b003559078db2321e79b0c6dd85013fe7aa6e0\"\n+\n+    pushd ${NETWORK_COMMONLIB_DIR}\n+    git clone https://github.com/sctp/lksctp-tools\n+    pushd lksctp-tools\n+    patch -p1 < ../patch/lksctp.patch\n+    [ \"$(GetDistroRelease)\" -eq 5 ] && mkdir m4\n+    ./bootstrap && ./configure && make && make install\n+    if [ $? -ne 0 ]; then\n+         # upstream lksctp-tools begin to make use kernel UAPI header,\n+         # which may cause compilation error on previous kernels.\n+         # So checkout the commit just before below commit.\n+         #\n+         # commit 3c8bd0d26b64611c690f33f5802c734b0642c1d8\n+         # Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\n+         # Date:   Tue Apr 17 20:17:14 2018 -0300\n+\n+         # sctp.h: make use kernel UAPI header\n+         git checkout $commit\n+         make && make install\n+    fi\n+    popd\n+    popd\n+\n+    if ! [ -a /usr/local/bin/bindx_test ];then\n+       echo \"WARN : lksctp-tools install fail\"\n+       test_warn \"lksctp-tools_install_fail\"\n+       rhts-abort -t recipe\n+    fi\n+\n+    test_pass \"lksctp-tools_install_pass\"\n+    return 0\n+}\n+\n+\n+netperf_install()\n+{\n+        if netperf -V;then\n+                return 0\n+        fi\n+\n+        # force install lksctp for netperf sctp support\n+        lksctp_install\n+\n+        local OUTPUTFILE=`mktemp /mnt/testarea/tmp.XXXXXX`\n+        pushd ${NETWORK_COMMONLIB_DIR} 1>/dev/null\n+        git clone https://github.com/HewlettPackard/netperf\n+        pushd netperf\n+        ./autogen.sh\n+        check_arch\n+        if checksctp; then\n+                ./configure --enable-sctp && make && make install | tee -a $OUTPUTFILE\n+        else\n+                ./configure && make && make install | tee -a $OUTPUTFILE\n+        fi\n+        popd 1>/dev/null\n+        popd 1>/dev/null\n+\n+        if ! netperf -V;then\n+                echo \"WARN : Netperf install fail\" | tee -a $OUTPUTFILE\n+                test_fail \"Netperf_install_fail\"","path":"networking/route/pmtu/common/install.sh","position":101,"original_position":101,"commit_id":"eef2d1c6e2e40663632937a27df5eb81f80d506b","original_commit_id":"11db18d897782218fe20c8204cc101f73c56ffdb","user":{"login":"ftjahjad","id":44809180,"node_id":"MDQ6VXNlcjQ0ODA5MTgw","avatar_url":"https://avatars3.githubusercontent.com/u/44809180?v=4","gravatar_id":"","url":"https://api.github.com/users/ftjahjad","html_url":"https://github.com/ftjahjad","followers_url":"https://api.github.com/users/ftjahjad/followers","following_url":"https://api.github.com/users/ftjahjad/following{/other_user}","gists_url":"https://api.github.com/users/ftjahjad/gists{/gist_id}","starred_url":"https://api.github.com/users/ftjahjad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftjahjad/subscriptions","organizations_url":"https://api.github.com/users/ftjahjad/orgs","repos_url":"https://api.github.com/users/ftjahjad/repos","events_url":"https://api.github.com/users/ftjahjad/events{/privacy}","received_events_url":"https://api.github.com/users/ftjahjad/received_events","type":"User","site_admin":false},"body":"this will change to test_warn","created_at":"2018-12-12T15:19:39Z","updated_at":"2018-12-12T15:19:39Z","html_url":"https://github.com/CKI-project/tests-beaker/pull/50#discussion_r241056328","pull_request_url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/comments/241056328"},"html":{"href":"https://github.com/CKI-project/tests-beaker/pull/50#discussion_r241056328"},"pull_request":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50"}},"in_reply_to_id":241030844},"pull_request":{"url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50","id":237382773,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzgyNzcz","html_url":"https://github.com/CKI-project/tests-beaker/pull/50","diff_url":"https://github.com/CKI-project/tests-beaker/pull/50.diff","patch_url":"https://github.com/CKI-project/tests-beaker/pull/50.patch","issue_url":"https://api.github.com/repos/CKI-project/tests-beaker/issues/50","number":50,"state":"open","locked":false,"title":"intial sanitizing pmtu","user":{"login":"ftjahjad","id":44809180,"node_id":"MDQ6VXNlcjQ0ODA5MTgw","avatar_url":"https://avatars3.githubusercontent.com/u/44809180?v=4","gravatar_id":"","url":"https://api.github.com/users/ftjahjad","html_url":"https://github.com/ftjahjad","followers_url":"https://api.github.com/users/ftjahjad/followers","following_url":"https://api.github.com/users/ftjahjad/following{/other_user}","gists_url":"https://api.github.com/users/ftjahjad/gists{/gist_id}","starred_url":"https://api.github.com/users/ftjahjad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftjahjad/subscriptions","organizations_url":"https://api.github.com/users/ftjahjad/orgs","repos_url":"https://api.github.com/users/ftjahjad/repos","events_url":"https://api.github.com/users/ftjahjad/events{/privacy}","received_events_url":"https://api.github.com/users/ftjahjad/received_events","type":"User","site_admin":false},"body":"Initial sanitizing pmtu to public repo, and Add masking flag to not run test that failing due on know bugs in BZ.\r\n","created_at":"2018-12-10T16:26:38Z","updated_at":"2018-12-12T15:19:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4300012795c55ab1f5a66d9f9f0fc7ed09c222e5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50/commits","review_comments_url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50/comments","review_comment_url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CKI-project/tests-beaker/issues/50/comments","statuses_url":"https://api.github.com/repos/CKI-project/tests-beaker/statuses/eef2d1c6e2e40663632937a27df5eb81f80d506b","head":{"label":"ftjahjad:pmtu-pr","ref":"pmtu-pr","sha":"eef2d1c6e2e40663632937a27df5eb81f80d506b","user":{"login":"ftjahjad","id":44809180,"node_id":"MDQ6VXNlcjQ0ODA5MTgw","avatar_url":"https://avatars3.githubusercontent.com/u/44809180?v=4","gravatar_id":"","url":"https://api.github.com/users/ftjahjad","html_url":"https://github.com/ftjahjad","followers_url":"https://api.github.com/users/ftjahjad/followers","following_url":"https://api.github.com/users/ftjahjad/following{/other_user}","gists_url":"https://api.github.com/users/ftjahjad/gists{/gist_id}","starred_url":"https://api.github.com/users/ftjahjad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftjahjad/subscriptions","organizations_url":"https://api.github.com/users/ftjahjad/orgs","repos_url":"https://api.github.com/users/ftjahjad/repos","events_url":"https://api.github.com/users/ftjahjad/events{/privacy}","received_events_url":"https://api.github.com/users/ftjahjad/received_events","type":"User","site_admin":false},"repo":{"id":156599632,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1OTk2MzI=","name":"tests-beaker","full_name":"ftjahjad/tests-beaker","private":false,"owner":{"login":"ftjahjad","id":44809180,"node_id":"MDQ6VXNlcjQ0ODA5MTgw","avatar_url":"https://avatars3.githubusercontent.com/u/44809180?v=4","gravatar_id":"","url":"https://api.github.com/users/ftjahjad","html_url":"https://github.com/ftjahjad","followers_url":"https://api.github.com/users/ftjahjad/followers","following_url":"https://api.github.com/users/ftjahjad/following{/other_user}","gists_url":"https://api.github.com/users/ftjahjad/gists{/gist_id}","starred_url":"https://api.github.com/users/ftjahjad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftjahjad/subscriptions","organizations_url":"https://api.github.com/users/ftjahjad/orgs","repos_url":"https://api.github.com/users/ftjahjad/repos","events_url":"https://api.github.com/users/ftjahjad/events{/privacy}","received_events_url":"https://api.github.com/users/ftjahjad/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ftjahjad/tests-beaker","description":"CI tests to run in Beaker","fork":true,"url":"https://api.github.com/repos/ftjahjad/tests-beaker","forks_url":"https://api.github.com/repos/ftjahjad/tests-beaker/forks","keys_url":"https://api.github.com/repos/ftjahjad/tests-beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ftjahjad/tests-beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ftjahjad/tests-beaker/teams","hooks_url":"https://api.github.com/repos/ftjahjad/tests-beaker/hooks","issue_events_url":"https://api.github.com/repos/ftjahjad/tests-beaker/issues/events{/number}","events_url":"https://api.github.com/repos/ftjahjad/tests-beaker/events","assignees_url":"https://api.github.com/repos/ftjahjad/tests-beaker/assignees{/user}","branches_url":"https://api.github.com/repos/ftjahjad/tests-beaker/branches{/branch}","tags_url":"https://api.github.com/repos/ftjahjad/tests-beaker/tags","blobs_url":"https://api.github.com/repos/ftjahjad/tests-beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ftjahjad/tests-beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ftjahjad/tests-beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ftjahjad/tests-beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ftjahjad/tests-beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/ftjahjad/tests-beaker/languages","stargazers_url":"https://api.github.com/repos/ftjahjad/tests-beaker/stargazers","contributors_url":"https://api.github.com/repos/ftjahjad/tests-beaker/contributors","subscribers_url":"https://api.github.com/repos/ftjahjad/tests-beaker/subscribers","subscription_url":"https://api.github.com/repos/ftjahjad/tests-beaker/subscription","commits_url":"https://api.github.com/repos/ftjahjad/tests-beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ftjahjad/tests-beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ftjahjad/tests-beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ftjahjad/tests-beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ftjahjad/tests-beaker/contents/{+path}","compare_url":"https://api.github.com/repos/ftjahjad/tests-beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ftjahjad/tests-beaker/merges","archive_url":"https://api.github.com/repos/ftjahjad/tests-beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ftjahjad/tests-beaker/downloads","issues_url":"https://api.github.com/repos/ftjahjad/tests-beaker/issues{/number}","pulls_url":"https://api.github.com/repos/ftjahjad/tests-beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/ftjahjad/tests-beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/ftjahjad/tests-beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ftjahjad/tests-beaker/labels{/name}","releases_url":"https://api.github.com/repos/ftjahjad/tests-beaker/releases{/id}","deployments_url":"https://api.github.com/repos/ftjahjad/tests-beaker/deployments","created_at":"2018-11-07T19:46:18Z","updated_at":"2018-12-10T15:05:47Z","pushed_at":"2018-12-12T00:59:27Z","git_url":"git://github.com/ftjahjad/tests-beaker.git","ssh_url":"git@github.com:ftjahjad/tests-beaker.git","clone_url":"https://github.com/ftjahjad/tests-beaker.git","svn_url":"https://github.com/ftjahjad/tests-beaker","homepage":null,"size":2185,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CKI-project:master","ref":"master","sha":"dc39999a1bfff5f764ba674915cffecf63b27f81","user":{"login":"CKI-project","id":36988735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTg4NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/36988735?v=4","gravatar_id":"","url":"https://api.github.com/users/CKI-project","html_url":"https://github.com/CKI-project","followers_url":"https://api.github.com/users/CKI-project/followers","following_url":"https://api.github.com/users/CKI-project/following{/other_user}","gists_url":"https://api.github.com/users/CKI-project/gists{/gist_id}","starred_url":"https://api.github.com/users/CKI-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CKI-project/subscriptions","organizations_url":"https://api.github.com/users/CKI-project/orgs","repos_url":"https://api.github.com/users/CKI-project/repos","events_url":"https://api.github.com/users/CKI-project/events{/privacy}","received_events_url":"https://api.github.com/users/CKI-project/received_events","type":"Organization","site_admin":false},"repo":{"id":132599331,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1OTkzMzE=","name":"tests-beaker","full_name":"CKI-project/tests-beaker","private":false,"owner":{"login":"CKI-project","id":36988735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2OTg4NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/36988735?v=4","gravatar_id":"","url":"https://api.github.com/users/CKI-project","html_url":"https://github.com/CKI-project","followers_url":"https://api.github.com/users/CKI-project/followers","following_url":"https://api.github.com/users/CKI-project/following{/other_user}","gists_url":"https://api.github.com/users/CKI-project/gists{/gist_id}","starred_url":"https://api.github.com/users/CKI-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CKI-project/subscriptions","organizations_url":"https://api.github.com/users/CKI-project/orgs","repos_url":"https://api.github.com/users/CKI-project/repos","events_url":"https://api.github.com/users/CKI-project/events{/privacy}","received_events_url":"https://api.github.com/users/CKI-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CKI-project/tests-beaker","description":"CI tests to run in Beaker","fork":false,"url":"https://api.github.com/repos/CKI-project/tests-beaker","forks_url":"https://api.github.com/repos/CKI-project/tests-beaker/forks","keys_url":"https://api.github.com/repos/CKI-project/tests-beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CKI-project/tests-beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CKI-project/tests-beaker/teams","hooks_url":"https://api.github.com/repos/CKI-project/tests-beaker/hooks","issue_events_url":"https://api.github.com/repos/CKI-project/tests-beaker/issues/events{/number}","events_url":"https://api.github.com/repos/CKI-project/tests-beaker/events","assignees_url":"https://api.github.com/repos/CKI-project/tests-beaker/assignees{/user}","branches_url":"https://api.github.com/repos/CKI-project/tests-beaker/branches{/branch}","tags_url":"https://api.github.com/repos/CKI-project/tests-beaker/tags","blobs_url":"https://api.github.com/repos/CKI-project/tests-beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CKI-project/tests-beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CKI-project/tests-beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/CKI-project/tests-beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CKI-project/tests-beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/CKI-project/tests-beaker/languages","stargazers_url":"https://api.github.com/repos/CKI-project/tests-beaker/stargazers","contributors_url":"https://api.github.com/repos/CKI-project/tests-beaker/contributors","subscribers_url":"https://api.github.com/repos/CKI-project/tests-beaker/subscribers","subscription_url":"https://api.github.com/repos/CKI-project/tests-beaker/subscription","commits_url":"https://api.github.com/repos/CKI-project/tests-beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/CKI-project/tests-beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/CKI-project/tests-beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/CKI-project/tests-beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/CKI-project/tests-beaker/contents/{+path}","compare_url":"https://api.github.com/repos/CKI-project/tests-beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CKI-project/tests-beaker/merges","archive_url":"https://api.github.com/repos/CKI-project/tests-beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CKI-project/tests-beaker/downloads","issues_url":"https://api.github.com/repos/CKI-project/tests-beaker/issues{/number}","pulls_url":"https://api.github.com/repos/CKI-project/tests-beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/CKI-project/tests-beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/CKI-project/tests-beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CKI-project/tests-beaker/labels{/name}","releases_url":"https://api.github.com/repos/CKI-project/tests-beaker/releases{/id}","deployments_url":"https://api.github.com/repos/CKI-project/tests-beaker/deployments","created_at":"2018-05-08T11:30:41Z","updated_at":"2018-12-06T21:59:57Z","pushed_at":"2018-12-12T00:59:28Z","git_url":"git://github.com/CKI-project/tests-beaker.git","ssh_url":"git@github.com:CKI-project/tests-beaker.git","clone_url":"https://github.com/CKI-project/tests-beaker.git","svn_url":"https://github.com/CKI-project/tests-beaker","homepage":null,"size":510,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":8,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50"},"html":{"href":"https://github.com/CKI-project/tests-beaker/pull/50"},"issue":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/issues/50"},"comments":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/CKI-project/tests-beaker/statuses/eef2d1c6e2e40663632937a27df5eb81f80d506b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ftjahjad"}}