8000 Unhandled Exception running tests under opencover · Issue #2756 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Unhandled Exception running tests under opencover #2756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SteveL-MSFT opened this issue Nov 21, 2016 · 0 comments
Closed

Unhandled Exception running tests under opencover #2756

SteveL-MSFT opened this issue Nov 21, 2016 · 0 comments
Assignees
Labels
Resolution-Fixed The issue is fixed. WG-Engine core PowerShell engine, interpreter, and runtime
Milestone

Comments

@SteveL-MSFT
Copy link
Member
SteveL-MSFT commented Nov 21, 2016

Steps to reproduce

Start-PSBuild -Configuration codecoverage -Clean -Restore -ResGen -TypeGen -Runtime win10-x64
Ipmo test\tools\opencover\opencover.psd1
Install-OpenCover 
invoke-opencover

Might be related to #2640

Expected behavior

Successfully complete execution of tests

Actual behavior

Unhandled Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at Microsoft.PowerShell.PendingProgress.RenderHelper(ArrayList strings, ArrayList nodes, Int32 indentation, Int32 maxWidth, PSHostRawUserInterface rawUI)
   at Microsoft.PowerShell.PendingProgress.Render(Int32 maxWidth, Int32 maxHeight, PSHostRawUserInterface rawUI)
   at Microsoft.PowerShell.ProgressPane.Show(PendingProgress pendingProgress)
   at Microsoft.PowerShell.ConsoleHostUserInterface.ProgressPaneUpdateTimerElapsed(Object sender)
   at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()
   at System.Threading.TimerQueue.AppDomainTimerCallback()

Environment data

Name                           Value
----                           -----
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
PSVersion                      6.0.0-alpha
WSManStackVersion              3.0
PSEdition                      Core
GitCommitId                    v6.0.0-alpha.12
BuildVersion                   3.0.0.0
CLRVersion
SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Fixed The issue is fixed. WG-Engine core PowerShell engine, interpreter, and runtime
Projects
None yet
Development

No branches or pull requests

2 participants
0