Comments (5)
@cvpoienaru I think screen recorder is your alley. Please have a look.
from vstest.
Hello how is this progressing, this is an amazing usefull feature for our integration tests.
from vstest.
Hello, thanks for reaching out.
I had a look into the logs you've attached and there's a couple of errors but the one that caught my attention is this one:
TpTrace Error: 0 : 5260, 7, 2023/11/21, 18:49:42.561, 5926854447, datacollector.exe, MediaRecorder.Start Failed : System.ComponentModel.Win32Exception (0x80004005): Error starting recorder: 258
Server stack trace:
at Microsoft.VisualStudio.TestTools.VideoRecorder.RecorderEngineWrapper.ThrowIfFailed(Int32 errorCode, String errorFormat) in D:\dbs\sh\ddvsm\0619_100222\cmd\1a\src\vset\QTools\Execution\Agent\Plugins\MediaRecorder\MediaFoundationRecorder\RecorderProcess\RecorderEngineWrapper.cs:line 131
at Microsoft.VisualStudio.TestTools.VideoRecorder.RecorderEngineWrapper.StartVideoRecorder(UInt32 bitRate, UInt32 frameRate, Boolean recordAudio, Boolean recordVideo, String outputFileName, Action`1 callback) in D:\dbs\sh\ddvsm\0619_100222\cmd\1a\src\vset\QTools\Execution\Agent\Plugins\MediaRecorder\MediaFoundationRecorder\RecorderProcess\RecorderEngineWrapper.cs:line 26
at Microsoft.VisualStudio.TestTools.VideoRecorder.MediaFoundationRecorder.StartMediaRecorder(Int32 bitRate, Int32 frameRate, Boolean recordAudio, Boolean recordVideo, String outputFileName) in D:\dbs\sh\ddvsm\0619_100222\cmd\1a\src\vset\QTools\Execution\Agent\Plugins\MediaRecorder\MediaFoundationRecorder\RecorderProcess\MediaFoundationRecorder.cs:line 72
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model.IMediaRecorder.StartMediaRecorder(Int32 bitRate, Int32 frameRate, Boolean recordAudio, Boolean recordVideo, String outputFileName)
at Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.MediaFoundationRecorder.Start()
Unfortunately it's unclear why this error occurs. The error code 258 means that some sort of timeout has expired waiting for the process to start. There's no insights from the native code that actually starts the process, which brings me to the ask I have:
Can you please create a small repro solution and send it over to us for analysis ? I don't see anything obviously wrong with the pipeline configuration but it is complex and hard to analyze in the context of this issue. A repro solution would be more helpful so I can step inside the native code and get a better feeling of why process spawning fails.
from vstest.
I do not have a way to reproduce it in a sample repo, it happens occusionally even on self-hosted agents.
he error code 258 means that some sort of timeout has expired waiting for the process to start
I wonder, does it make sense if you can introduce a retry to the operation?
from vstest.
@apobekiaris can you collect the events from the agent and when it will happen again sent do us? If the process fails to start for some reason(crash) we could see it at machine level.
Note: these logs could contain sensitive information (paths, project name...). Make sure to clean them or use the Visual Studio Send Feedback button. Don't put anything you want to keep private in the title or content of the initial report, which is public. Instead, say that you'll send details privately in a separate comment. Once the problem report is created, it's now possible to specify who can see your replies and attachments.
I wonder, does it make sense if you can introduce a retry to the operation?
Before to update the code we prefer understand if it's an isolated case or not.
from vstest.
Related Issues (20)
- DTAExecutionHost.exe failed with code 1 - Error occurred while publishing the test results : OutOfMemoryException HOT 1
- Upgrade to Visual Studio 17.10.x now has internal exception in Azure DevOps log HOT 1
- Blame dotnet test - System.IO.FileNotFoundException HOT 1
- Unsuppressable overwrite warning when using <VSTestLogger> MSBuild property which confuses users HOT 1
- Merging collector reports with `IDataCollectorAttachmentProcessor` HOT 7
- Would you please increase the maximum length of grouping in Test Explorer? HOT 2
- Microsoft.Testing.Platform vs Microsoft.TestPlatform.TestHost package HOT 1
- vstest.console.exe cannot resolve assembly for extension with target framework .net8.0, however dotnet test (vstest.console.dll) resolves it correctly HOT 3
- Testhost is blocked on system error message dialog HOT 2
- dotnet msbuild /t:VSTest does not work with terminal logger HOT 2
- Exception thrown in TestHostTraceListener.Fail does not include stack trace or method name
- Findings source corresponding to `Microsoft.CodeCoverage` 17.8.0 HOT 1
- [FeatureRequest] Possibilty to run Unit or Integration Test using dotnet test HOT 4
- Required build arguments should not be specified in pipeline YML
- IFrameworkHandle.LaunchProcessWithDebuggerAttached allows null for workingDirectory in signature but throws
- IFrameworkHandle.LaunchProcessWithDebuggerAttached needs ability to control ProcessStartInfo HOT 5
- Unable to disable determistic source mapping in Microsoft.CodeCoverage HOT 3
- .NET Framework test runners are not long path aware HOT 1
- VS2022 17.11: Test Explorer not showing traits anymore HOT 4
- 17.11 - error output is treated as error and fails tests HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vstest.