{"action":"closed","number":87,"pull_request":{"url":"https://api.github.com/repos/percona/galera/pulls/87","id":89711882,"html_url":"https://github.com/percona/galera/pull/87","diff_url":"https://github.com/percona/galera/pull/87.diff","patch_url":"https://github.com/percona/galera/pull/87.patch","issue_url":"https://api.github.com/repos/percona/galera/issues/87","number":87,"state":"closed","locked":false,"title":"- #PXC-703: Unable to build Galera on several systems (using Jenkins)","user":{"login":"sysprg","id":10448138,"avatar_url":"https://avatars.githubusercontent.com/u/10448138?v=3","gravatar_id":"","url":"https://api.github.com/users/sysprg","html_url":"https://github.com/sysprg","followers_url":"https://api.github.com/users/sysprg/followers","following_url":"https://api.github.com/users/sysprg/following{/other_user}","gists_url":"https://api.github.com/users/sysprg/gists{/gist_id}","starred_url":"https://api.github.com/users/sysprg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysprg/subscriptions","organizations_url":"https://api.github.com/users/sysprg/orgs","repos_url":"https://api.github.com/users/sysprg/repos","events_url":"https://api.github.com/users/sysprg/events{/privacy}","received_events_url":"https://api.github.com/users/sysprg/received_events","type":"User","site_admin":false},"body":"Recently we unable to build Galera on several systems (for example, using the Jenkins):\r\n- debian-wheezy-x64 (https://wiki.debian.org/DebianWheezy);\r\n- ubuntu-wily-x64 (http://old-releases.ubuntu.com/releases/15.10/);\r\n- debian-jessie-x64 with AddressSanitizer (https://www.debian.org/releases/jessie/ + https://en.wikipedia.org/wiki/AddressSanitizer);\r\n- centos6-32 (https://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.8);\r\n\r\nThe following error messages often appears in many configurations:\r\n\r\n```\r\n07:03:31 94%: Checks: 79, Failures: 0, Errors: 4\r\n07:03:31 gcomm/test/check_util.cpp:170:E:test_protonet:test_protonet:0: (after this point) Test timeout expired\r\n07:03:31 gcomm/test/check_gmcast.cpp:240:E:test_gmcast_w_user_messages:test_gmcast_w_user_messages:0: (after this point) Test timeout expired\r\n07:03:31 gcomm/test/check_gmcast.cpp:294:E:test_gmcast_forget:test_gmcast_forget:0: (after this point) Test timeout expired\r\n07:03:31 gcomm/test/check_pc.cpp:1427:E:test_pc_transport:test_pc_transport:0: (after this point) Test timeout expired\r\n07:03:31 scons: *** [gcomm/test/gcomm_check.passed] Error 1\r\n```\r\n\r\nThis error occurs in the ASIO C++ library because the Linux kernel requires the application to read an 8-byte timeout expiration counter (using the \"timerfd\" descriptor) every time when the EPOLLIN event occurs. Otherwise, the timer stops to notifying the application about new events, and all activity associated with this timer will be frozen on some systems, or vice versa, we get an infinite loop of notifications because of the constant readiness to read the new data.\r\n\r\nBut ASIO library does not read the data using the \"timerfd\" descriptor after returning from the epoll_wait().\r\n\r\nTo fix this problem, we should read the 8-byte expiration counter from the \"timerfd\" descriptor every time, when the EPOLLIN event occurs.","created_at":"2016-10-17T22:00:58Z","updated_at":"2016-10-18T09:25:59Z","closed_at":"2016-10-18T09:25:59Z","merged_at":"2016-10-18T09:25:59Z","merge_commit_sha":"c947cd4799f9c1abc1bb9bc02feec7510dfc380c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/galera/pulls/87/commits","review_comments_url":"https://api.github.com/repos/percona/galera/pulls/87/comments","review_comment_url":"https://api.github.com/repos/percona/galera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/galera/issues/87/comments","statuses_url":"https://api.github.com/repos/percona/galera/statuses/0dd83c01c77e1ce6b4b380e3f6844e629c176be3","head":{"label":"natsys:3.x-pxc-703","ref":"3.x-pxc-703","sha":"0dd83c01c77e1ce6b4b380e3f6844e629c176be3","user":{"login":"natsys","id":8489938,"avatar_url":"https://avatars.githubusercontent.com/u/8489938?v=3","gravatar_id":"","url":"https://api.github.com/users/natsys","html_url":"https://github.com/natsys","followers_url":"https://api.github.com/users/natsys/followers","following_url":"https://api.github.com/users/natsys/following{/other_user}","gists_url":"https://api.github.com/users/natsys/gists{/gist_id}","starred_url":"https://api.github.com/users/natsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsys/subscriptions","organizations_url":"https://api.github.com/users/natsys/orgs","repos_url":"https://api.github.com/users/natsys/repos","events_url":"https://api.github.com/users/natsys/events{/privacy}","received_events_url":"https://api.github.com/users/natsys/received_events","type":"Organization","site_admin":false},"repo":{"id":45468076,"name":"galera","full_name":"natsys/galera","owner":{"login":"natsys","id":8489938,"avatar_url":"https://avatars.githubusercontent.com/u/8489938?v=3","gravatar_id":"","url":"https://api.github.com/users/natsys","html_url":"https://github.com/natsys","followers_url":"https://api.github.com/users/natsys/followers","following_url":"https://api.github.com/users/natsys/following{/other_user}","gists_url":"https://api.github.com/users/natsys/gists{/gist_id}","starred_url":"https://api.github.com/users/natsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsys/subscriptions","organizations_url":"https://api.github.com/users/natsys/orgs","repos_url":"https://api.github.com/users/natsys/repos","events_url":"https://api.github.com/users/natsys/events{/privacy}","received_events_url":"https://api.github.com/users/natsys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/natsys/galera","description":"Synchronous multi-master replication library","fork":true,"url":"https://api.github.com/repos/natsys/galera","forks_url":"https://api.github.com/repos/natsys/galera/forks","keys_url":"https://api.github.com/repos/natsys/galera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natsys/galera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natsys/galera/teams","hooks_url":"https://api.github.com/repos/natsys/galera/hooks","issue_events_url":"https://api.github.com/repos/natsys/galera/issues/events{/number}","events_url":"https://api.github.com/repos/natsys/galera/events","assignees_url":"https://api.github.com/repos/natsys/galera/assignees{/user}","branches_url":"https://api.github.com/repos/natsys/galera/branches{/branch}","tags_url":"https://api.github.com/repos/natsys/galera/tags","blobs_url":"https://api.github.com/repos/natsys/galera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natsys/galera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natsys/galera/git/refs{/sha}","trees_url":"https://api.github.com/repos/natsys/galera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natsys/galera/statuses/{sha}","languages_url":"https://api.github.com/repos/natsys/galera/languages","stargazers_url":"https://api.github.com/repos/natsys/galera/stargazers","contributors_url":"https://api.github.com/repos/natsys/galera/contributors","subscribers_url":"https://api.github.com/repos/natsys/galera/subscribers","subscription_url":"https://api.github.com/repos/natsys/galera/subscription","commits_url":"https://api.github.com/repos/natsys/galera/commits{/sha}","git_commits_url":"https://api.github.com/repos/natsys/galera/git/commits{/sha}","comments_url":"https://api.github.com/repos/natsys/galera/comments{/number}","issue_comment_url":"https://api.github.com/repos/natsys/galera/issues/comments{/number}","contents_url":"https://api.github.com/repos/natsys/galera/contents/{+path}","compare_url":"https://api.github.com/repos/natsys/galera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natsys/galera/merges","archive_url":"https://api.github.com/repos/natsys/galera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natsys/galera/downloads","issues_url":"https://api.github.com/repos/natsys/galera/issues{/number}","pulls_url":"https://api.github.com/repos/natsys/galera/pulls{/number}","milestones_url":"https://api.github.com/repos/natsys/galera/milestones{/number}","notifications_url":"https://api.github.com/repos/natsys/galera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natsys/galera/labels{/name}","releases_url":"https://api.github.com/repos/natsys/galera/releases{/id}","deployments_url":"https://api.github.com/repos/natsys/galera/deployments","created_at":"2015-11-03T13:26:28Z","updated_at":"2016-01-13T11:57:46Z","pushed_at":"2016-10-18T00:14:02Z","git_url":"git://github.com/natsys/galera.git","ssh_url":"git@github.com:natsys/galera.git","clone_url":"https://github.com/natsys/galera.git","svn_url":"https://github.com/natsys/galera","homepage":null,"size":14729,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"3.x"}},"base":{"label":"percona:3.x","ref":"3.x","sha":"1817227bdc3f53d12cdaafa2ba64dd786b19c5ab","user":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":19982228,"name":"galera","full_name":"percona/galera","owner":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/galera","description":"Synchronous multi-master replication library","fork":true,"url":"https://api.github.com/repos/percona/galera","forks_url":"https://api.github.com/repos/percona/galera/forks","keys_url":"https://api.github.com/repos/percona/galera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/galera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/galera/teams","hooks_url":"https://api.github.com/repos/percona/galera/hooks","issue_events_url":"https://api.github.com/repos/percona/galera/issues/events{/number}","events_url":"https://api.github.com/repos/percona/galera/events","assignees_url":"https://api.github.com/repos/percona/galera/assignees{/user}","branches_url":"https://api.github.com/repos/percona/galera/branches{/branch}","tags_url":"https://api.github.com/repos/percona/galera/tags","blobs_url":"https://api.github.com/repos/percona/galera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/galera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/galera/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/galera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/galera/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/galera/languages","stargazers_url":"https://api.github.com/repos/percona/galera/stargazers","contributors_url":"https://api.github.com/repos/percona/galera/contributors","subscribers_url":"https://api.github.com/repos/percona/galera/subscribers","subscription_url":"https://api.github.com/repos/percona/galera/subscription","commits_url":"https://api.github.com/repos/percona/galera/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/galera/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/galera/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/galera/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/galera/contents/{+path}","compare_url":"https://api.github.com/repos/percona/galera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/galera/merges","archive_url":"https://api.github.com/repos/percona/galera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/galera/downloads","issues_url":"https://api.github.com/repos/percona/galera/issues{/number}","pulls_url":"https://api.github.com/repos/percona/galera/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/galera/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/galera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/galera/labels{/name}","releases_url":"https://api.github.com/repos/percona/galera/releases{/id}","deployments_url":"https://api.github.com/repos/percona/galera/deployments","created_at":"2014-05-20T13:39:26Z","updated_at":"2016-09-29T14:31:31Z","pushed_at":"2016-10-18T09:25:59Z","git_url":"git://github.com/percona/galera.git","ssh_url":"git@github.com:percona/galera.git","clone_url":"https://github.com/percona/galera.git","svn_url":"https://github.com/percona/galera","homepage":null,"size":14590,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":10,"default_branch":"3.x-5.7"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/galera/pulls/87"},"html":{"href":"https://github.com/percona/galera/pull/87"},"issue":{"href":"https://api.github.com/repos/percona/galera/issues/87"},"comments":{"href":"https://api.github.com/repos/percona/galera/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/galera/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/galera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/galera/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/percona/galera/statuses/0dd83c01c77e1ce6b4b380e3f6844e629c176be3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kbauskar","id":14107301,"avatar_url":"https://avatars.githubusercontent.com/u/14107301?v=3","gravatar_id":"","url":"https://api.github.com/users/kbauskar","html_url":"https://github.com/kbauskar","followers_url":"https://api.github.com/users/kbauskar/followers","following_url":"https://api.github.com/users/kbauskar/following{/other_user}","gists_url":"https://api.github.com/users/kbauskar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbauskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbauskar/subscriptions","organizations_url":"https://api.github.com/users/kbauskar/orgs","repos_url":"https://api.github.com/users/kbauskar/repos","events_url":"https://api.github.com/users/kbauskar/events{/privacy}","received_events_url":"https://api.github.com/users/kbauskar/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":18,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"kbauskar"}}