We have some jobs randomly failing on certain agents, investigation of @Manangka showed that this is because of a global Anaconda install on the agents, which also comes with its own GDAL and NetCDF4 installations. Removing this installation from PATH removes the conflicting DLL loading.
As we cannot be certain what other colleagues outside our team install on the teamcity agents, it is better to run our jobs with a restricted PATH environmental variable.
We have some jobs randomly failing on certain agents, investigation of @Manangka showed that this is because of a global Anaconda install on the agents, which also comes with its own GDAL and NetCDF4 installations. Removing this installation from PATH removes the conflicting DLL loading.
As we cannot be certain what other colleagues outside our team install on the teamcity agents, it is better to run our jobs with a restricted PATH environmental variable.