OctoPack CreateOctoPackPackage error OCT-1676060969

Hi,

I faced an error in Team City where it seems relate to the Octopus Deploy.
The build is unable to run in team city from the last checked in where previously it was running fine.
Please refer to the error text log from team city below and advise.

Thanks in advance.

Build
MSBuild
ComPETE\Integration\CrmGatewayService\trunk\src\Service\Service.csproj
OctoPack
CreateOctoPackPackage
error OCT-1676060969: There was an error calling NuGet. Please see the output above for more details. Command line: ‘D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\packages\OctoPack.3.0.31\tools\NuGet.exe’ pack “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service\obj\octopacking\Service.nuspec” -NoPackageAnalysis -BasePath “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service” -OutputDirectory “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service\obj\octopacked” -Version 4892.01
error OCT-1676060969: System.Exception: There was an error calling NuGet. Please see the output above for more details. Command line: ‘D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\packages\OctoPack.3.0.31\tools\NuGet.exe’ pack “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service\obj\octopacking\Service.nuspec” -NoPackageAnalysis -BasePath “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service” -OutputDirectory “D:\BuildAgent\work\c78459110529edf5\ComPETE\Integration\CrmGatewayService\trunk\src\Service\obj\octopacked” -Version 4892.01
at OctoPack.Tasks.CreateOctoPackPackage.RunNuGet(String specFilePath, String octopacking, String octopacked, String projectDirectory) in y:\work\46cfb6001f03d701\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 520
at OctoPack.Tasks.CreateOctoPackPackage.Execute() in y:\work\46cfb6001f03d701\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 181
Project ComPETE\Integration\CrmGatewayService\trunk\src\Service\Service.csproj failed.
ComPETE\Integration\CrmGatewayService\trunk\src\UnitTests\UnitTests.csproj
Project ComPETE\Integration\CrmGatewayService\trunk\src\UnitTests\UnitTests.csproj failed.
Project ComPETE\Integration\CrmGatewayService\trunk\src\CrmGatewayService.sln failed.

Hi,

Thanks for reaching out. Could you please send us a full TeamCity build log? I’m setting this conversation as private so only you and our staff can see its content.

Thanks,

Dalmiro

Hi,

Thanks for the reply. i have attached the build log in this reply. Please refer from there.

Regards,
Soong Yi

trunk_CI_Build_4892.01.1079.txt (88 KB)

Hi,

This issue is now resolved. It is due to the team city build agent checkout directory on the build server has obsolete, as the previous admin account on team city has expired.

Closing this topic.
Thanks for assisting.