Skip to content

enable skipped tests #1750

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Bertk
Copy link
Collaborator

@Bertk Bertk commented Apr 13, 2025

Solved with PR #1745

@Bertk
Copy link
Collaborator Author

Bertk commented Apr 13, 2025

AsyncAwait_Issue_669_2 test fails in CI under Windows OS but is successfully executed locally using:

dotnet test test\coverlet.core.coverage.tests /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[coverlet.core.tests.samples.netstandard]*" --results-directory:".\artifacts\reports"
Windows_NT_debug_2 Coverlet.CoreCoverage.Tests.CoverageTests.AsyncAwait_Issue_669_2

Result Details
Failed 11m ago on fv-az616-840
Duration0:00:00.937
Ownernot available
Date started4/13/2025, 11:08:09 AM
Date completed4/13/2025, 11:08:10 AM
Failing since11m ago
Failing since build20250413.2

Debug

Work items

Attachments

History

Error message
Function exit code failed with exit code: 134
Unhandled exception: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at Coverlet.Core.Tests.TestInstrumentationHelper.Run[T](Func2 callMethod, Func2 includeFilter, Func2 excludeFilter, Func2 doesNotReturnAttributes, String persistPrepareResultToFile, Boolean disableRestoreModules, Boolean skipAutoProps, String assemblyLocation) in //test/coverlet.core.coverage.tests/Coverage/InstrumenterHelper.cs:line 139
at Coverlet.CoreCoverage.Tests.CoverageTests.<>c.<<AsyncAwait_Issue_669_2>b__2_0>d.MoveNext() in //test/coverlet.core.coverage.tests/Coverage/CoverageTests.AsyncAwait.cs:line 113
--- End of stack trace from previous location ---
at Tmds.Utils.ExecFunction.Program.Main(String[] args)

Stack trace
at Coverlet.Core.Tests.ExternalProcessExecutionTest.<>c.<.ctor>b__1_1(Process p) in //test/coverlet.core.coverage.tests/Coverage/InstrumenterHelper.cs:line 332
at Tmds.Utils.ExecFunction.Start(MethodInfo method, String[] args, Action1 configure, Boolean waitForExit, Boolean returnTask) at Tmds.Utils.ExecFunction.Run(Func2 action, String[] args, Action1 configure) at Tmds.Utils.FunctionExecutor.Run(Func2 action, String[] args, Action`1 configure)
at Coverlet.CoreCoverage.Tests.CoverageTests.AsyncAwait_Issue_669_2() in /
/test/coverlet.core.coverage.tests/Coverage/CoverageTests.AsyncAwait.cs:line 111
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

@Bertk Bertk force-pushed the enable-skipped-tests branch from 693cb0a to 1728297 Compare April 14, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant