{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/522","repository_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild","labels_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/522/comments","events_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/522/events","html_url":"https://github.com/SonarSource/sonar-scanner-msbuild/issues/522","id":328952398,"node_id":"MDU6SXNzdWUzMjg5NTIzOTg=","number":522,"title":"Break the build when running under local system account","user":{"login":"valhristov","id":23195959,"node_id":"MDQ6VXNlcjIzMTk1OTU5","avatar_url":"https://avatars2.githubusercontent.com/u/23195959?v=4","gravatar_id":"","url":"https://api.github.com/users/valhristov","html_url":"https://github.com/valhristov","followers_url":"https://api.github.com/users/valhristov/followers","following_url":"https://api.github.com/users/valhristov/following{/other_user}","gists_url":"https://api.github.com/users/valhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/valhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhristov/subscriptions","organizations_url":"https://api.github.com/users/valhristov/orgs","repos_url":"https://api.github.com/users/valhristov/repos","events_url":"https://api.github.com/users/valhristov/events{/privacy}","received_events_url":"https://api.github.com/users/valhristov/received_events","type":"User","site_admin":false},"labels":[{"id":844835234,"node_id":"MDU6TGFiZWw4NDQ4MzUyMzQ=","url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/labels/Type:%20Improvement","name":"Type: Improvement","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"Evangelink","id":11340282,"node_id":"MDQ6VXNlcjExMzQwMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/11340282?v=4","gravatar_id":"","url":"https://api.github.com/users/Evangelink","html_url":"https://github.com/Evangelink","followers_url":"https://api.github.com/users/Evangelink/followers","following_url":"https://api.github.com/users/Evangelink/following{/other_user}","gists_url":"https://api.github.com/users/Evangelink/gists{/gist_id}","starred_url":"https://api.github.com/users/Evangelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evangelink/subscriptions","organizations_url":"https://api.github.com/users/Evangelink/orgs","repos_url":"https://api.github.com/users/Evangelink/repos","events_url":"https://api.github.com/users/Evangelink/events{/privacy}","received_events_url":"https://api.github.com/users/Evangelink/received_events","type":"User","site_admin":false},"assignees":[{"login":"Evangelink","id":11340282,"node_id":"MDQ6VXNlcjExMzQwMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/11340282?v=4","gravatar_id":"","url":"https://api.github.com/users/Evangelink","html_url":"https://github.com/Evangelink","followers_url":"https://api.github.com/users/Evangelink/followers","following_url":"https://api.github.com/users/Evangelink/following{/other_user}","gists_url":"https://api.github.com/users/Evangelink/gists{/gist_id}","starred_url":"https://api.github.com/users/Evangelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evangelink/subscriptions","organizations_url":"https://api.github.com/users/Evangelink/orgs","repos_url":"https://api.github.com/users/Evangelink/repos","events_url":"https://api.github.com/users/Evangelink/events{/privacy}","received_events_url":"https://api.github.com/users/Evangelink/received_events","type":"User","site_admin":false},{"login":"valhristov","id":23195959,"node_id":"MDQ6VXNlcjIzMTk1OTU5","avatar_url":"https://avatars2.githubusercontent.com/u/23195959?v=4","gravatar_id":"","url":"https://api.github.com/users/valhristov","html_url":"https://github.com/valhristov","followers_url":"https://api.github.com/users/valhristov/followers","following_url":"https://api.github.com/users/valhristov/following{/other_user}","gists_url":"https://api.github.com/users/valhristov/gists{/gist_id}","starred_url":"https://api.github.com/users/valhristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhristov/subscriptions","organizations_url":"https://api.github.com/users/valhristov/orgs","repos_url":"https://api.github.com/users/valhristov/repos","events_url":"https://api.github.com/users/valhristov/events{/privacy}","received_events_url":"https://api.github.com/users/valhristov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/milestones/5","html_url":"https://github.com/SonarSource/sonar-scanner-msbuild/milestone/5","labels_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/milestones/5/labels","id":3354073,"node_id":"MDk6TWlsZXN0b25lMzM1NDA3Mw==","number":5,"title":"4.3","description":"","creator":{"login":"agigleux","id":1057037,"node_id":"MDQ6VXNlcjEwNTcwMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1057037?v=4","gravatar_id":"","url":"https://api.github.com/users/agigleux","html_url":"https://github.com/agigleux","followers_url":"https://api.github.com/users/agigleux/followers","following_url":"https://api.github.com/users/agigleux/following{/other_user}","gists_url":"https://api.github.com/users/agigleux/gists{/gist_id}","starred_url":"https://api.github.com/users/agigleux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agigleux/subscriptions","organizations_url":"https://api.github.com/users/agigleux/orgs","repos_url":"https://api.github.com/users/agigleux/repos","events_url":"https://api.github.com/users/agigleux/events{/privacy}","received_events_url":"https://api.github.com/users/agigleux/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":12,"state":"closed","created_at":"2018-05-17T08:49:59Z","updated_at":"2018-09-14T12:42:47Z","due_on":"2018-06-04T07:00:00Z","closed_at":"2018-06-05T13:01:05Z"},"comments":5,"created_at":"2018-06-04T08:16:51Z","updated_at":"2018-09-24T09:53:28Z","closed_at":"2018-09-14T12:42:47Z","author_association":"CONTRIBUTOR","body":"### Description\r\n\r\nThe MSBuild integration is not working when the scanner is run under the Local System account. This happens frequently as the Local System is the default account for authentication of Jenkins slaves.\r\n\r\n### Expected behavior\r\n\r\nWhen running under Local System the `begin` step should fail with the same message we currently use as a warning.\r\n\r\nRelated ticket https://github.com/SonarSource/sonar-csharp/issues/1437"},"comment":{"url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/comments/423924989","html_url":"https://github.com/SonarSource/sonar-scanner-msbuild/issues/522#issuecomment-423924989","issue_url":"https://api.github.com/repos/SonarSource/sonar-scanner-msbuild/issues/522","id":423924989,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzkyNDk4OQ==","user":{"login":"dbolkensteyn","id":1132601,"node_id":"MDQ6VXNlcjExMzI2MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1132601?v=4","gravatar_id":"","url":"https://api.github.com/users/dbolkensteyn","html_url":"https://github.com/dbolkensteyn","followers_url":"https://api.github.com/users/dbolkensteyn/followers","following_url":"https://api.github.com/users/dbolkensteyn/following{/other_user}","gists_url":"https://api.github.com/users/dbolkensteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/dbolkensteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbolkensteyn/subscriptions","organizations_url":"https://api.github.com/users/dbolkensteyn/orgs","repos_url":"https://api.github.com/users/dbolkensteyn/repos","events_url":"https://api.github.com/users/dbolkensteyn/events{/privacy}","received_events_url":"https://api.github.com/users/dbolkensteyn/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T09:53:28Z","updated_at":"2018-09-24T09:53:28Z","author_association":"CONTRIBUTOR","body":"The investigation is now completed: The root cause relates to how WoW64 works and how it transparently translates `C:\\Windows\\system32` path into `C:\\Windows\\\\SysWoW64`. Our integration only worked in situations where the bitness of the SonarScanner for MSBuild and the one of MSBuild matched.\r\n\r\nDetails on when `Local Account` was supported:\r\n1. Up until version 4.0.2.892, the SonarScanner for MSBuild was a 32 bits process. As MSBuild itself is typically invoked in its 32 bits version, both processes saw  the same `C:\\Windows\\system32` path regardless of Windows begin a 32 or 64 bits installation, and our integration worked as expected. Note that the 64 bits version of MSBuild (`bin\\amd64\\MSBuild.exe`) was not supported by those releases.\r\n2. Releases 4.1.0.1148, 4.1.1 and 4.2 of the SonarScanner for MSBuild were 64 bits one. Our integration with the 32 bits version of MSBuild got broken, except on 32 bits Windows installations where the SonarScanner for MSBuild was forced to run as a 32 bits process. The 64 bits version of MSBuild (`bin\\amd64\\MSBuild.exe`) became supported.\r\n3. As of version 4.3, `Local Account` is not supported at all."}}
{"actor":{"display_login":"dbolkensteyn"}}