Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exit code 100 returned from process - error when getting source from TFS

We're intermittently getting this error when fetching source from TFS:

2017-03-23T23:49:31.0591599Z ##[section]Starting: Build solution [SOLUTION-NAME].sln
2017-03-23T23:49:31.0591599Z ==============================================================================
2017-03-23T23:49:31.0591599Z Task         : Visual Studio Build
2017-03-23T23:49:31.0591599Z Description  : Build with MSBuild and set the Visual Studio version property
2017-03-23T23:49:31.0591599Z Version      : 1.113.0
2017-03-23T23:49:31.0591599Z Author       : Microsoft Corporation
2017-03-23T23:49:31.0591599Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613727)
2017-03-23T23:49:31.0591599Z ==============================================================================
2017-03-23T23:49:31.6529233Z Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.
2017-03-23T23:49:31.8872843Z ##[error]Exit code 100 returned from process: file name 'tf', arguments 'vc resolvePath "$\My Development\Trunk\src\Rostering\trunk\[SOLUTION-NAME].sln" /loginType:OAuth /login:.,******** /noprompt'.

Any idea what causes this issue? We see no clear pattern when this happens. Our build server runs 24/7. It appears more likely to happen on the first build of the day.

like image 870
Quality Catalyst Avatar asked Apr 03 '17 22:04

Quality Catalyst


People also ask

What does it mean when a command returns the exit code 100?

apparently the command returns with a status code 100. it looks like this is an issue that is caused by some kind of end of life for the Ubuntu version that CircleCI uses by default (12.04). Select this option to run builds in our Ubuntu 14.04 (Trusty) container.

What does process finished with exit code mean?

What is the meaning of process finished with exit code? It means the program ran without any errors. Run exit(1) and it'll say it ran with exit code 1. Useful if someone wants to run your program from a script and act on the code returned. 5.23-May-2021.

Is Exit an code?

What Does Exit Code Mean? An exit code or exit status is a number that is returned by an executable to show whether it was successful. This is also sometimes called a return code, or in some cases, an error code, although the terminology here may be slightly different.


1 Answers

The issue may related to the workspace, you could give a try with solution Error When Setting Clean = True on Windows

Looks like scorch is failing when the root sources folder (e.g. _work\1\s) is not mapped - i.e. workspace does not contain a root mapping. One not great workaround is to set a variable build.clean to all.

like image 65
PatrickLu-MSFT Avatar answered Oct 25 '22 02:10

PatrickLu-MSFT