{"action":"opened","number":37665,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665","id":95804142,"html_url":"https://github.com/kubernetes/kubernetes/pull/37665","diff_url":"https://github.com/kubernetes/kubernetes/pull/37665.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/37665.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37665","number":37665,"state":"open","locked":false,"title":"build: clean platform envs to prevent cross-contamination","user":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"body":"**What this PR does / why we need it**: As I described in https://github.com/kubernetes/kubernetes/issues/37079#issuecomment-263733509, we are leaking platform compilation envs between build stages for different platforms in the non-parallel dockerized cross build. This PR uses a subshell for the non-parallel build, more closely matching the parallel build.\r\n\r\nThis also adds some logging, which had it existed previously, may have made the bug more immediately obvious.\r\n\r\n**Which issue this PR fixes**: fixes #37079 \r\n\r\ncc @sebgoa @iTagir @saad-ali \r\n","created_at":"2016-11-30T00:23:28Z","updated_at":"2016-11-30T00:23:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"846681ac6d43b7183ddac5702b7e1ef2a4a64c2c","assignee":{"login":"jbeda","id":37310,"avatar_url":"https://avatars.githubusercontent.com/u/37310?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeda","html_url":"https://github.com/jbeda","followers_url":"https://api.github.com/users/jbeda/followers","following_url":"https://api.github.com/users/jbeda/following{/other_user}","gists_url":"https://api.github.com/users/jbeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeda/subscriptions","organizations_url":"https://api.github.com/users/jbeda/orgs","repos_url":"https://api.github.com/users/jbeda/repos","events_url":"https://api.github.com/users/jbeda/events{/privacy}","received_events_url":"https://api.github.com/users/jbeda/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbeda","id":37310,"avatar_url":"https://avatars.githubusercontent.com/u/37310?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeda","html_url":"https://github.com/jbeda","followers_url":"https://api.github.com/users/jbeda/followers","following_url":"https://api.github.com/users/jbeda/following{/other_user}","gists_url":"https://api.github.com/users/jbeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeda/subscriptions","organizations_url":"https://api.github.com/users/jbeda/orgs","repos_url":"https://api.github.com/users/jbeda/repos","events_url":"https://api.github.com/users/jbeda/events{/privacy}","received_events_url":"https://api.github.com/users/jbeda/received_events","type":"User","site_admin":false},{"login":"zmerlynn","id":4942464,"avatar_url":"https://avatars.githubusercontent.com/u/4942464?v=3","gravatar_id":"","url":"https://api.github.com/users/zmerlynn","html_url":"https://github.com/zmerlynn","followers_url":"https://api.github.com/users/zmerlynn/followers","following_url":"https://api.github.com/users/zmerlynn/following{/other_user}","gists_url":"https://api.github.com/users/zmerlynn/gists{/gist_id}","starred_url":"https://api.github.com/users/zmerlynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmerlynn/subscriptions","organizations_url":"https://api.github.com/users/zmerlynn/orgs","repos_url":"https://api.github.com/users/zmerlynn/repos","events_url":"https://api.github.com/users/zmerlynn/events{/privacy}","received_events_url":"https://api.github.com/users/zmerlynn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/23","html_url":"https://github.com/kubernetes/kubernetes/milestones/v1.5","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/23/labels","id":1945978,"number":23,"title":"v1.5","description":"","creator":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"open_issues":151,"closed_issues":868,"state":"open","created_at":"2016-08-16T21:47:28Z","updated_at":"2016-11-30T00:23:28Z","due_on":"2016-12-09T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/37665/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/f3347647b24c9c3e7b8a69d71cf34af029e68b2a","head":{"label":"ixdy:make-release-platform-envs","ref":"make-release-platform-envs","sha":"f3347647b24c9c3e7b8a69d71cf34af029e68b2a","user":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"repo":{"id":30381779,"name":"kubernetes","full_name":"ixdy/kubernetes","owner":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ixdy/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/ixdy/kubernetes","forks_url":"https://api.github.com/repos/ixdy/kubernetes/forks","keys_url":"https://api.github.com/repos/ixdy/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ixdy/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ixdy/kubernetes/teams","hooks_url":"https://api.github.com/repos/ixdy/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/ixdy/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/ixdy/kubernetes/events","assignees_url":"https://api.github.com/repos/ixdy/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/ixdy/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/ixdy/kubernetes/tags","blobs_url":"https://api.github.com/repos/ixdy/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ixdy/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ixdy/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/ixdy/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ixdy/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/ixdy/kubernetes/languages","stargazers_url":"https://api.github.com/repos/ixdy/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/ixdy/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/ixdy/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/ixdy/kubernetes/subscription","commits_url":"https://api.github.com/repos/ixdy/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/ixdy/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/ixdy/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/ixdy/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/ixdy/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/ixdy/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ixdy/kubernetes/merges","archive_url":"https://api.github.com/repos/ixdy/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ixdy/kubernetes/downloads","issues_url":"https://api.github.com/repos/ixdy/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/ixdy/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/ixdy/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/ixdy/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ixdy/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/ixdy/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/ixdy/kubernetes/deployments","created_at":"2015-02-05T22:25:25Z","updated_at":"2016-02-20T01:05:59Z","pushed_at":"2016-11-30T00:17:54Z","git_url":"git://github.com/ixdy/kubernetes.git","ssh_url":"git@github.com:ixdy/kubernetes.git","clone_url":"https://github.com/ixdy/kubernetes.git","svn_url":"https://github.com/ixdy/kubernetes","homepage":"http://kubernetes.io","size":347346,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"kubernetes:master","ref":"master","sha":"ea576b7c53c30fe8126994a627269e78b7c2a42b","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2016-11-29T23:44:20Z","pushed_at":"2016-11-30T00:23:29Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":644070,"stargazers_count":18779,"watchers_count":18779,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6224,"mirror_url":null,"open_issues_count":5397,"forks":6224,"open_issues":5397,"watchers":18779,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/37665"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/37665"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/37665/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/37665/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/f3347647b24c9c3e7b8a69d71cf34af029e68b2a"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"ixdy"}}