anchor.diff:  
   set build_times=1
   :build_tp
  -echo Build third_party the %build_times% time:
  -msbuild /m /p:Configuration=Release /verbosity:quiet third_party.vcxproj
  +echo Build third_party for %build_times% time:
  +msbuild /m /p:Configuration=Release /verbosity:minimal third_party.vcxproj
   if %ERRORLEVEL% NEQ 0 (
       set /a build_times=%build_times%+1  
       if %build_times% GTR 3 (
  -        exit /b 1
  +        exit /b 7
       ) else (
           echo Build third_party failed, will retry!
           goto :build_tp
  
positive.code: goto:eof
  
  :check_change_of_unittest_error
  call paddle_winci\Scripts\deactivate.bat
  exit /b 6
  
  
  rem ---------------------------------------------------------------------------------------------
  
negative.code: if not defined PYTHON_ROOT set PYTHON_ROOT=C:\Python37
  set PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%
  
  rem ToDo: virtual environment can't be deleted safely, some process not exit when task is canceled
  rem Now use system python environment temporarily
  rem set PYTHON_EXECUTABLE=%PYTHON_ROOT%\python.exe
  rem %PYTHON_EXECUTABLE% -m pip install virtualenv
  rem %PYTHON_EXECUTABLE% -m virtualenv paddle_winci
  rem call paddle_winci\Scripts\activate.bat
  
  rem ------pre install requirement----------
  where python
  where pip
  pip install --upgrade pip --user
  pip install wheel --user
  pip install gym --user
  pip install -U -r %work_dir%\python\requirements.txt --user
  if %ERRORLEVEL% NEQ 0 (
      call paddle_winci\Scripts\deactivate.bat 2>NUL
      echo pip install requirements.txt failed!
      exit /b 7
  )
  
  rem ------initialize common variable------
  