[snappi] Add test_cleanup code for tgen_port_info infra function #22441
Azure Pipelines / Azure.sonic-mgmt (Pre_test Validate Test Cases)
failed
Feb 17, 2026 in 17s
Pre_test Validate Test Cases failed
Annotations
Check failure on line 1215 in Build log
azure-pipelines / Azure.sonic-mgmt (Pre_test Validate Test Cases)
Build log #L1215
One or several exceptions have been occurred.
Check failure on line 1216 in Build log
azure-pipelines / Azure.sonic-mgmt (Pre_test Validate Test Cases)
Build log #L1216
System.UnauthorizedAccessException: Access to the path '/agent/_work/2/s/.pytest_cache/.gitignore' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.FileInfo.Delete()
at Microsoft.VisualStudio.Services.Agent.Util.IOUtil.<>c__DisplayClass12_0.<DeleteDirectory>b__0(FileSystemInfo item) in /mnt/vss/_work/1/s/src/Agent.Sdk/Util/IOUtil.cs:line 159
at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
Loading