{"action":"closed","number":509,"pull_request":{"url":"https://api.github.com/repos/Azure/sonic-swss/pulls/509","id":189295857,"html_url":"https://github.com/Azure/sonic-swss/pull/509","diff_url":"https://github.com/Azure/sonic-swss/pull/509.diff","patch_url":"https://github.com/Azure/sonic-swss/pull/509.patch","issue_url":"https://api.github.com/repos/Azure/sonic-swss/issues/509","number":509,"state":"closed","locked":false,"title":"Suppress Cable length errors in case pg profile lookup file is not provided","user":{"login":"zhenggen-xu","id":17014390,"avatar_url":"https://avatars0.githubusercontent.com/u/17014390?v=4","gravatar_id":"","url":"https://api.github.com/users/zhenggen-xu","html_url":"https://github.com/zhenggen-xu","followers_url":"https://api.github.com/users/zhenggen-xu/followers","following_url":"https://api.github.com/users/zhenggen-xu/following{/other_user}","gists_url":"https://api.github.com/users/zhenggen-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenggen-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenggen-xu/subscriptions","organizations_url":"https://api.github.com/users/zhenggen-xu/orgs","repos_url":"https://api.github.com/users/zhenggen-xu/repos","events_url":"https://api.github.com/users/zhenggen-xu/events{/privacy}","received_events_url":"https://api.github.com/users/zhenggen-xu/received_events","type":"User","site_admin":false},"body":"<!--\r\nPlease make sure you have read and understood the contribution guildlines:\r\nhttps://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md\r\n\r\n1. Make sure your commit includes a signature generted with `git commit -s`\r\n2. Make sure your commit title follows the correct format: [component]: description\r\n3. Make sure your commit message contains enough details about the change and related tests\r\n4. Make sure your pull request adds related reviewers, asignees, labels\r\n\r\nPlease also provide the following information in this pull request:\r\n-->\r\n\r\n**What I did**\r\nSuppress the error messages like below\r\nMay 19 07:39:02.473125 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet0. Cable length is not set\r\nIf we don't have pg_profile_lookup.ini file provided.\r\n\r\n**Why I did it**\r\nIn some platform, pg_profile_lookup.ini is not provided and we don't need this buffer management feature. \r\n\r\nToday the code is repeating these messages:\r\nMay 19 07:39:02.473125 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet0. Cable length is not set\r\nMay 19 07:39:02.473362 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet1. Cable length is not set\r\nMay 19 07:39:02.473558 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet10. Cable length is not set\r\nMay 19 07:39:02.473717 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet100. Cable length is not set\r\nMay 19 07:39:02.473872 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet102. Cable length is not set\r\nMay 19 07:39:02.474061 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet104. Cable length is not set\r\nMay 19 07:39:02.474248 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet106. Cable length is not set\r\nMay 19 07:39:02.474404 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet108. Cable length is not set\r\nMay 19 07:39:02.474557 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet11. Cable length is not set\r\nMay 19 07:39:02.474710 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet110. Cable length is not set\r\nMay 19 07:39:02.474864 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet112. Cable length is not set\r\nMay 19 07:39:02.475018 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet114. Cable length is not set\r\nMay 19 07:39:02.475171 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet116. Cable length is not set\r\nMay 19 07:39:02.475325 sonic NOTICE buffermgrd: :- doSpeedUpdateTask: Unable to create/update PG profile for port Ethernet118. Cable length is not set\r\nWe should disable this error messages.\r\n\r\n**How I verified it**\r\nWith the fix, no error messages were seen.\r\n\r\n**Details if related**\r\n","created_at":"2018-05-21T06:46:28Z","updated_at":"2018-05-25T15:09:17Z","closed_at":"2018-05-25T15:09:17Z","merged_at":"2018-05-25T15:09:17Z","merge_commit_sha":"44a8845ab954a6bf07173ee16aaba9df7210dc01","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/509/commits","review_comments_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/509/comments","review_comment_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/sonic-swss/issues/509/comments","statuses_url":"https://api.github.com/repos/Azure/sonic-swss/statuses/6449d7d3230f2d4b608edaba43041681e1595508","head":{"label":"zhenggen-xu:github-fork","ref":"github-fork","sha":"6449d7d3230f2d4b608edaba43041681e1595508","user":{"login":"zhenggen-xu","id":17014390,"avatar_url":"https://avatars0.githubusercontent.com/u/17014390?v=4","gravatar_id":"","url":"https://api.github.com/users/zhenggen-xu","html_url":"https://github.com/zhenggen-xu","followers_url":"https://api.github.com/users/zhenggen-xu/followers","following_url":"https://api.github.com/users/zhenggen-xu/following{/other_user}","gists_url":"https://api.github.com/users/zhenggen-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenggen-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenggen-xu/subscriptions","organizations_url":"https://api.github.com/users/zhenggen-xu/orgs","repos_url":"https://api.github.com/users/zhenggen-xu/repos","events_url":"https://api.github.com/users/zhenggen-xu/events{/privacy}","received_events_url":"https://api.github.com/users/zhenggen-xu/received_events","type":"User","site_admin":false},"repo":{"id":98849176,"name":"sonic-swss","full_name":"zhenggen-xu/sonic-swss","owner":{"login":"zhenggen-xu","id":17014390,"avatar_url":"https://avatars0.githubusercontent.com/u/17014390?v=4","gravatar_id":"","url":"https://api.github.com/users/zhenggen-xu","html_url":"https://github.com/zhenggen-xu","followers_url":"https://api.github.com/users/zhenggen-xu/followers","following_url":"https://api.github.com/users/zhenggen-xu/following{/other_user}","gists_url":"https://api.github.com/users/zhenggen-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenggen-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenggen-xu/subscriptions","organizations_url":"https://api.github.com/users/zhenggen-xu/orgs","repos_url":"https://api.github.com/users/zhenggen-xu/repos","events_url":"https://api.github.com/users/zhenggen-xu/events{/privacy}","received_events_url":"https://api.github.com/users/zhenggen-xu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhenggen-xu/sonic-swss","description":"SONiC Switch State Service (SwSS)","fork":true,"url":"https://api.github.com/repos/zhenggen-xu/sonic-swss","forks_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/forks","keys_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/teams","hooks_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/hooks","issue_events_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/issues/events{/number}","events_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/events","assignees_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/assignees{/user}","branches_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/branches{/branch}","tags_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/tags","blobs_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/statuses/{sha}","languages_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/languages","stargazers_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/stargazers","contributors_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/contributors","subscribers_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/subscribers","subscription_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/subscription","commits_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/contents/{+path}","compare_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/merges","archive_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/downloads","issues_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/issues{/number}","pulls_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/pulls{/number}","milestones_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/milestones{/number}","notifications_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/labels{/name}","releases_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/releases{/id}","deployments_url":"https://api.github.com/repos/zhenggen-xu/sonic-swss/deployments","created_at":"2017-07-31T04:50:09Z","updated_at":"2018-04-25T05:37:27Z","pushed_at":"2018-05-25T05:16:59Z","git_url":"git://github.com/zhenggen-xu/sonic-swss.git","ssh_url":"git@github.com:zhenggen-xu/sonic-swss.git","clone_url":"https://github.com/zhenggen-xu/sonic-swss.git","svn_url":"https://github.com/zhenggen-xu/sonic-swss","homepage":"https://azure.github.io/SONiC","size":1468,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"7331f922de7af71b0f40d8b2bdd2e1d30fcba6b0","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":53515475,"name":"sonic-swss","full_name":"Azure/sonic-swss","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/sonic-swss","description":"SONiC Switch State Service (SwSS)","fork":false,"url":"https://api.github.com/repos/Azure/sonic-swss","forks_url":"https://api.github.com/repos/Azure/sonic-swss/forks","keys_url":"https://api.github.com/repos/Azure/sonic-swss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/sonic-swss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/sonic-swss/teams","hooks_url":"https://api.github.com/repos/Azure/sonic-swss/hooks","issue_events_url":"https://api.github.com/repos/Azure/sonic-swss/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/sonic-swss/events","assignees_url":"https://api.github.com/repos/Azure/sonic-swss/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/sonic-swss/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/sonic-swss/tags","blobs_url":"https://api.github.com/repos/Azure/sonic-swss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/sonic-swss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/sonic-swss/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/sonic-swss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/sonic-swss/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/sonic-swss/languages","stargazers_url":"https://api.github.com/repos/Azure/sonic-swss/stargazers","contributors_url":"https://api.github.com/repos/Azure/sonic-swss/contributors","subscribers_url":"https://api.github.com/repos/Azure/sonic-swss/subscribers","subscription_url":"https://api.github.com/repos/Azure/sonic-swss/subscription","commits_url":"https://api.github.com/repos/Azure/sonic-swss/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/sonic-swss/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/sonic-swss/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/sonic-swss/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/sonic-swss/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/sonic-swss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/sonic-swss/merges","archive_url":"https://api.github.com/repos/Azure/sonic-swss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/sonic-swss/downloads","issues_url":"https://api.github.com/repos/Azure/sonic-swss/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/sonic-swss/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/sonic-swss/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/sonic-swss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/sonic-swss/labels{/name}","releases_url":"https://api.github.com/repos/Azure/sonic-swss/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/sonic-swss/deployments","created_at":"2016-03-09T17:01:09Z","updated_at":"2018-05-18T21:43:35Z","pushed_at":"2018-05-25T15:09:17Z","git_url":"git://github.com/Azure/sonic-swss.git","ssh_url":"git@github.com:Azure/sonic-swss.git","clone_url":"https://github.com/Azure/sonic-swss.git","svn_url":"https://github.com/Azure/sonic-swss","homepage":"https://azure.github.io/SONiC","size":1475,"stargazers_count":33,"watchers_count":33,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":55,"open_issues":53,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/509"},"html":{"href":"https://github.com/Azure/sonic-swss/pull/509"},"issue":{"href":"https://api.github.com/repos/Azure/sonic-swss/issues/509"},"comments":{"href":"https://api.github.com/repos/Azure/sonic-swss/issues/509/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/509/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/509/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/sonic-swss/statuses/6449d7d3230f2d4b608edaba43041681e1595508"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"yxieca","id":18753401,"avatar_url":"https://avatars0.githubusercontent.com/u/18753401?v=4","gravatar_id":"","url":"https://api.github.com/users/yxieca","html_url":"https://github.com/yxieca","followers_url":"https://api.github.com/users/yxieca/followers","following_url":"https://api.github.com/users/yxieca/following{/other_user}","gists_url":"https://api.github.com/users/yxieca/gists{/gist_id}","starred_url":"https://api.github.com/users/yxieca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yxieca/subscriptions","organizations_url":"https://api.github.com/users/yxieca/orgs","repos_url":"https://api.github.com/users/yxieca/repos","events_url":"https://api.github.com/users/yxieca/events{/privacy}","received_events_url":"https://api.github.com/users/yxieca/received_events","type":"User","site_admin":false},"comments":1,"review_comments":13,"maintainer_can_modify":false,"commits":2,"additions":6,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"yxieca"}}