Thinking about reproducing the problem, I looked at the situation again and noted the following:
- The step is being delegated to a different (random) machine
- Looks like the problem happens very early in the process
13:30:46,738 INFO - Checking step execute condition...
13:30:46,738 INFO - Step execute condition satisfied, executing...
13:35:14,368 INFO - Executing pre-execute action...
13:35:15,271 INFO - Retry condition not satisified
13:35:15,272 ERROR - Step 'master>Build Necessary>Build VS Version?VSVersion=cmake>Action Parallel>Action Execute Tests>CppUnit Config Parallel>CppUnit Test Config?Config=Release&Plat=Win32>CppUnit Test Run>CppUnit Excute Parallel>CppUnit Excute Targets Parallel?CppTestTarget=CppUnit>CppUnit Execute?Test=PktFilter' is failed: Failed to delete file 'D:\Programs\buildagent\workspace\Fusion\SER\SER Branch\CppUnits\v143\Debug\Win32'.
- Strangely, sometimes the complete step may run through
02:42:29,071 INFO - Checking step execute condition...
02:42:29,071 INFO - Step execute condition satisfied, executing...
02:43:19,577 INFO - Executing pre-execute action...
02:43:19,648 INFO - Fetching input files...
02:43:41,957 INFO - Running step...
02:43:42,097 INFO -
02:43:42,097 INFO - D:\Programs\buildagent\workspace\Fusion\SER\SER Bullseye\CppUnits\Release\Win32>if exist CppUnit_CellularLib.dll .\..\..\v143\Release\Win32\DllPlugInTester.exe -x CppUnit_CellularLib.xml -s Service.Release.Win32.CellularLib -o CppUnit_CellularLib.dll
02:43:43,968 INFO - ...........................
02:43:44,079 INFO - Sending output files...
02:43:44,079 INFO - Workspace: D:\Programs\buildagent\workspace\Fusion/SER/SER Bullseye
02:43:45,110 INFO - Executing post-execute action...
02:43:45,124 INFO - Retry condition not satisified
02:43:45,124 ERROR - Step 'master>Build Bullseye?VSVersion=2022>Action Execute Tests>CppUnit Config Parallel>CppUnit Test Config?Config=Release&Plat=Win32>CppUnit Test Run>CppUnit Excute Parallel>CppUnit Excute Targets Parallel?CppTestTarget=CppUnit>CppUnit Execute?Test=CellularLib' is failed: Failed to delete file 'D:\workspace\Fusion\SER\SER Bullseye\CppUnits\Release\Win32\Coverage_CellularLib.cov'.
- The step is of "Type: Shell/Batch Command"
- There is no place in the script where a file is being deleted
- There is a "Fetch Input Files" and "Send Output Files" defined, but these do not delete files as well
- However, there is "Pre-Execute Action: Clean workspace on current node" defined
Could it be that 7 is the cause and this is not being considered in the evaluation?
(Similar to the problem you fixed in version 13.0.31?)