On Spirent TestCenter the user may receive errors and be unable to open aggregate captures for LAG ports although viewing the captures separately per member port works as expected. This article compiles possible causes and solutions. Errors may include:
This has been seen on Spirent TestCenter 4.69 for Windows after the following procedure:
An error like the following may appear in a popup window:
Error: Cannot open the temporary file: C:\Users\username\Documents\Spirent\TestCenter 4.69\Captured Files\somefile.pcap
An error like the following may appear in the Log panel on STC:
​Exception Caught: Traceback (most recent call last): File "c:\jenkins-rel\workspace\release_bll_windows_ci\bin/Release\STAKCommands\spirent\LagCapture\GetLagCaptureCommand.py", line 92, in run File "c:\jenkins-rel\workspace\release_bll_windows_ci\bin/Release\STAKCommands\spirent\LagCapture\GetLagCaptureCommand.py", line 54, in MergeCaptureFiles: Exception: Error running mergecap tool.
There are two possible causes identified for the above errors:
To fix this:
Screenshots below:
The name for the merged capture file is composed by concatenating the LAG port name, the word "capture" and a timestamp. If the LAG port contains an asterisk (for example "3*10G LAG Port") the resulting file name for the aggregated capture will be invalid.
In this scenario, aggregate capture viewing may work in some configurations (.tcc) and not in others, depending on the port names used.