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
error TF298509 when running in Azure DevOps: #4760
Comments
@cvpoienaru I think screen recorder is your alley. Please have a look. |
Hello how is this progressing, this is an amazing usefull feature for our integration tests. |
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:
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. |
I do not have a way to reproduce it in a sample repo, it happens occusionally even on self-hosted agents.
I wonder, does it make sense if you can introduce a retry to the operation? |
@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.
Before to update the code we prefer understand if it's an isolated case or not. |
The exception is thrown everytime and on different agents regardless if the build succeeds.
Next is my yml and the used template
jobs: - job: ImportData displayName: 'ImportData Job' timeoutInMinutes: 90 variables: defaultWorkingDir: '$(System.DefaultWorkingDirectory)\CS' runSettingsPath: '$(defaultWorkingDir)\Tests\Tests.runsettings' testsFolderPath: '$(defaultWorkingDir)\Tests' dxFeedVar: '$(DXFeed)' NUGET_PACKAGES: $(Pipeline.Workspace)/.nuget/packages pool: vmImage: 'windows-2022' steps: - task: PowerShell@2 displayName: Build continueOnError: false inputs: targetType: 'inline' script: | & sqllocaldb start mssqllocaldb dotnet nuget add source $(dxFeedVar) --name DX cd "$(defaultWorkingDir)" dotnet build --configuration TEST Get-ChildItem -Path "$(testsFolderPath)" -Recurse -Directory -Include "ref", "refint", "obj" | ForEach-Object { Remove-Item $_.FullName -Recurse -Force } pwsh: true - task: VSTest@3 displayName: 'ImportData.Test' continueOnError: false enabled: true inputs: minimumExpectedTests: "1" failOnMinTestsNotRun: true searchFolder: $(testsFolderPath) testSelector: 'testAssemblies' testAssemblyVer2: '**\OutlookInspired.Win.Tests.dll' testFiltercriteria: TestCategory=ImportData diagnosticsEnabled: true codeCoverageEnabled: true runSettingsFile: $(runSettingsPath) - template: job-template.yml parameters: testAssembly: '**\OutlookInspired.Win.Tests.dll' displayName: 'Windows' - template: job-template.yml parameters: testAssembly: '**\OutlookInspired.Blazor.Tests.dll' displayName: 'Blazor'
vstestslog.zip
attaching my logs
The text was updated successfully, but these errors were encountered: