New issue
Advanced search Search tips

Issue 648301 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 645953



Sign in to add a comment

win_upload_clang bot unhappy with vs2015 update 3 roll

Project Member Reported by thakis@chromium.org, Sep 19 2016

Issue description

https://codereview.chromium.org/2106203002/diff/180001/build/vs_toolchain.py?context=25&column_width=80&tab_spaces=8 updated us to vs2015 update 3.

win_upload_clang fails with 

Checked out revision 281889.
Building bootstrap compiler
Traceback (most recent call last):
  File "E:\b\build\slave\win_upload_clang\build\src\tools\clang\scripts\update.py", line 909, in <module>
    sys.exit(main())
  File "E:\b\build\slave\win_upload_clang\build\src\tools\clang\scripts\update.py", line 905, in main
    return UpdateClang(args)
  File "E:\b\build\slave\win_upload_clang\build\src\tools\clang\scripts\update.py", line 518, in UpdateClang
    RunCommand(['cmake'] + bootstrap_args + [LLVM_DIR], msvc_arch='x64')
  File "E:\b\build\slave\win_upload_clang\build\src\tools\clang\scripts\update.py", line 210, in RunCommand
    command = GetVSVersion().SetupScript(msvc_arch) + ['&&'] + command
  File "E:\b\build\slave\win_upload_clang\build\src\tools\gyp\pylib\gyp\MSVSVersion.py", line 116, in SetupScript
    script_path)
Exception: E:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\VC\vcvarsall.bat is missing - make sure VC++ tools are installed.
Failed: ['E:\\b\\depot_tools\\python276_bin\\python.exe', 'E:\\b\\build\\slave\\win_upload_clang\\build\\src\\tools\\clang\\scripts\\update.py', '--bootstrap', '--force-local-build', '--run-tests']
step returned non-zero exit code: 1



That's the hash from the old toolchain; not sure why it's not using the new hash.


update.py does:


vs_version = None
def GetVSVersion():
  global vs_version
  if vs_version:
    return vs_version

  # Try using the toolchain in depot_tools.
  # This sets environment variables used by SelectVisualStudioVersion below.
  sys.path.append(os.path.join(CHROMIUM_DIR, 'build'))
  import vs_toolchain
  vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()

  # Use gyp to find the MSVS installation, either in depot_tools as per above,
  # or a system-wide installation otherwise.
  sys.path.append(os.path.join(CHROMIUM_DIR, 'tools', 'gyp', 'pylib'))
  import gyp.MSVSVersion
  vs_version = gyp.MSVSVersion.SelectVisualStudioVersion(
      vs_toolchain.GetVisualStudioVersion())
  return vs_version



Depending on gyp is probably a bad idea in the long run, but from glancing at it quickly it should probably still work.

(see win_upload_clang run on ps1 on https://codereview.chromium.org/2349183003 -- https://build.chromium.org/p/tryserver.chromium.win/builders/win_upload_clang/builds/104/steps/package%20clang/logs/stdio)
 
I think maybe gclient runhooks doesn't get run on that bot?

Comment 2 by thakis@chromium.org, Sep 19 2016

Oh, excellent point, that sounds like the explanation.

Comment 3 by thakis@chromium.org, Sep 19 2016

Owner: thakis@chromium.org
Status: Started (was: Unconfirmed)
https://codereview.chromium.org/2348413002/
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 19 2016

Project Member

Comment 6 by bugdroid1@chromium.org, Sep 19 2016

Project Member

Comment 7 by bugdroid1@chromium.org, Sep 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/113a85966ca8980c68eea9adfd90090a9ce7bb8c

commit 113a85966ca8980c68eea9adfd90090a9ce7bb8c
Author: recipe-roller <recipe-roller@chromium.org>
Date: Mon Sep 19 18:20:17 2016

Roll recipe dependencies (trivial).

This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug
(or complain)

build:
  https://crrev.com/4344bc8bd41f5ebd515104ad34cbd1faff669c9a clang upload bots: Run scripts to update toolchains. (thakis@chromium.org)

TBR=martiniss@chromium.org,phajdan.jr@chromium.org
BUG= 648301 

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Review-Url: https://codereview.chromium.org/2352763002
Cr-Commit-Position: refs/heads/master@{#419509}

[modify] https://crrev.com/113a85966ca8980c68eea9adfd90090a9ce7bb8c/infra/config/recipes.cfg

Project Member

Comment 9 by bugdroid1@chromium.org, Sep 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra.git/+/54a71fe146e6ee25c334240ba2f0447299b7deea

commit 54a71fe146e6ee25c334240ba2f0447299b7deea
Author: recipe-roller <recipe-roller@chromium.org>
Date: Mon Sep 19 21:44:40 2016

Roll recipe dependencies (trivial).

This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug
(or complain)

build:
  https://crrev.com/4344bc8bd41f5ebd515104ad34cbd1faff669c9a clang upload bots: Run scripts to update toolchains. (thakis@chromium.org)
  https://crrev.com/c731a26b214ed6e743460469385b53bb3cc34228 Roll recipe dependencies (trivial). (recipe-roller@chromium.org)
  https://crrev.com/4654e248929bffb7eee1df0ba851f608dbe6eee1 Roll recipe dependencies (trivial). (recipe-roller@chromium.org)
  https://crrev.com/8cde6a2835f03e5bf18e1bd8e84e8421dc206495 Revert of Changed sequence of package_build step (patchset #2 id:20001 of https://codereview.chromium.org/2335383002/ ) (dtu@chromium.org)
depot_tools:
  https://crrev.com/9eadede7df2fb30f25edf64e378b129c88efdfb6 Add ability to set topic during "git cl upload" (rmistry@google.com)
  https://crrev.com/8ea74908a6b6f9ec1ab1a8333d40b54cef0f6f19 depot_tools: Remove third_party/gsutil (hinoka@google.com)

TBR=martiniss@chromium.org,phajdan.jr@chromium.org
BUG=645662, 648301 , chromium:628237 

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Review-Url: https://codereview.chromium.org/2355673002

[modify] https://crrev.com/54a71fe146e6ee25c334240ba2f0447299b7deea/infra/config/recipes.cfg

Sign in to add a comment