{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/3705","labels_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3705/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3705/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3705/events","html_url":"https://github.com/puppetlabs/puppet/pull/3705","id":60746594,"number":3705,"title":"(maint) Windows 2003 registry test fails","user":{"login":"Iristyle","id":394081,"avatar_url":"https://avatars.githubusercontent.com/u/394081?v=3","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/PL","name":"PL","color":"d4c5f9"},{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/Windows","name":"Windows","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-11T23:21:50Z","updated_at":"2015-03-17T23:09:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/3705","html_url":"https://github.com/puppetlabs/puppet/pull/3705","diff_url":"https://github.com/puppetlabs/puppet/pull/3705.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/3705.patch"},"body":"Changes were introduced in b46ede7\r\n  to work around string encoding issues discovered internal to\r\n  Ruby 2.1.5 Registry handling.  Additional tests were added to\r\n  demonstrate the behavior around round-tripping Unicode characters\r\n  properly.  Interestingly, this test caused a test failure only\r\n  in Windows 2003.\r\n\r\n - On Windows 2003, the following behavior was observed:\r\n\r\n   - Calls to create generated registry keys under\r\n     HKLM\\SOFTWARE\\Wow6432Node\\\r\n     This is equivalent to passing KEY_WOW64_32KEY to RegCreateKeyEx\r\n\r\n   - Calls to open try to open registry keys under\r\n     HKLM\\SOFTWARE\\\r\n     This is equivalent to passing KEY_WOW64_64KEY to RegOpenKeyEx\r\n\r\n   This generates a test failure because the key created is not the same\r\n   one that the code later attempts to open, and hence the handle is\r\n   invalid, and the key cannot be deleted.\r\n\r\n   Strangely, other operating systems do not encounter this behavior,\r\n   which may mean that advapi32.dll has different default values for\r\n   the registry redirection configuration values with Windows 2003.\r\n\r\n   The fix here is to always specify the 0x200 / KEY_WOW64_32KEY to\r\n   be explicit about opening the same key."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments/82634987","html_url":"https://github.com/puppetlabs/puppet/pull/3705#issuecomment-82634987","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/3705","id":82634987,"user":{"login":"Iristyle","id":394081,"avatar_url":"https://avatars.githubusercontent.com/u/394081?v=3","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T23:09:24Z","updated_at":"2015-03-17T23:09:24Z","body":"RC1 packages tagged and ready to go, feel free to merge now."}}