{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerShell/DscResources/issues/172","repository_url":"https://api.github.com/repos/PowerShell/DscResources","labels_url":"https://api.github.com/repos/PowerShell/DscResources/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/DscResources/issues/172/comments","events_url":"https://api.github.com/repos/PowerShell/DscResources/issues/172/events","html_url":"https://github.com/PowerShell/DscResources/issues/172","id":170111373,"number":172,"title":"Intermittent Integration Test failures","user":{"login":"PlagueHO","id":7589164,"avatar_url":"https://avatars.githubusercontent.com/u/7589164?v=3","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/DscResources/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-09T08:39:57Z","updated_at":"2016-08-25T08:06:05Z","closed_at":"2016-08-25T08:06:05Z","body":"There is an issue where Integration tests intermittently fail (about 1 in 25 test runs) because the DSC LCM is executing another consistency check:\r\n![2016-08-09_20-17-22](https://cloud.githubusercontent.com/assets/7589164/17509556/a47df204-5e6e-11e6-924a-31b33fd0a6c5.png)\r\n\r\nSee: https://ci.appveyor.com/project/PowerShell/xnetworking/build/2.10.334.0\r\n\r\nTriggering AppVeyor to build again resolves the issue. However, for non PowerShell team members this requires a dummy commit (which isn't ideal).\r\n\r\n@narrieta noticed this problem in xNetworking (I've seen it many times in various repos that have integration tests and have just gotten used to working around it). I know others have seen it too. Might be time to look into a proper solution.\r\n\r\nI think this is most likely because an LCM consistency check has been kicked off by the ConfigurationMode timer. I will try and do some more testing to see what how the LCM is configured on an AppVeyor base OS. I find it unlikely that the LCM ConfigurationMode timer would kick off so soon after a config was applied.\r\n\r\nWe could probably work around this by adding the -Force parameter to the ```{ Get-DscConfiguration -Verbose -ErrorAction Stop } | Should Not throw``` but this bothers me a bit - feels like a work around rather than a solution.\r\n\r\nAny thoughts from the community and the MSFT DSC team would be appreciated. \r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"PlagueHO"}}