libv8 7.3.492.27.3beta1 → 7.4.288.28.0beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -0
  3. data/lib/libv8/version.rb +1 -1
  4. data/vendor/depot_tools/annotated_gclient.py +4 -2
  5. data/vendor/depot_tools/auth.py +2 -0
  6. data/vendor/depot_tools/autoninja +3 -1
  7. data/vendor/depot_tools/autoninja.bat +1 -1
  8. data/vendor/depot_tools/autoninja.py +3 -1
  9. data/vendor/depot_tools/bb +1 -1
  10. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  11. data/vendor/depot_tools/buildbucket.py +8 -6
  12. data/vendor/depot_tools/checkout.py +7 -5
  13. data/vendor/depot_tools/cipd +1 -1
  14. data/vendor/depot_tools/cipd_manifest.txt +4 -4
  15. data/vendor/depot_tools/cipd_manifest.versions +80 -80
  16. data/vendor/depot_tools/cit.py +9 -7
  17. data/vendor/depot_tools/clang_format.py +4 -1
  18. data/vendor/depot_tools/clang_format_merge_driver.py +9 -7
  19. data/vendor/depot_tools/compile_single_file.py +3 -1
  20. data/vendor/depot_tools/dart_format.py +4 -2
  21. data/vendor/depot_tools/depot-tools-auth.py +10 -8
  22. data/vendor/depot_tools/fix_encoding.py +5 -2
  23. data/vendor/depot_tools/gclient-new-workdir.py +2 -0
  24. data/vendor/depot_tools/gclient.py +8 -9
  25. data/vendor/depot_tools/gclient_scm.py +54 -28
  26. data/vendor/depot_tools/gclient_utils.py +14 -4
  27. data/vendor/depot_tools/gerrit_util.py +8 -6
  28. data/vendor/depot_tools/git_cache.py +53 -37
  29. data/vendor/depot_tools/git_cl.py +115 -42
  30. data/vendor/depot_tools/git_drover.py +3 -1
  31. data/vendor/depot_tools/git_find_releases.py +8 -6
  32. data/vendor/depot_tools/git_footers.py +7 -5
  33. data/vendor/depot_tools/git_freezer.py +3 -1
  34. data/vendor/depot_tools/git_map_branches.py +7 -5
  35. data/vendor/depot_tools/git_mark_merge_base.py +8 -6
  36. data/vendor/depot_tools/git_nav_downstream.py +7 -5
  37. data/vendor/depot_tools/git_number.py +3 -1
  38. data/vendor/depot_tools/git_rebase_update.py +38 -43
  39. data/vendor/depot_tools/git_reparent_branch.py +8 -6
  40. data/vendor/depot_tools/git_upstream_diff.py +4 -2
  41. data/vendor/depot_tools/gn.py +6 -4
  42. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  43. data/vendor/depot_tools/led +1 -1
  44. data/vendor/depot_tools/luci-auth +1 -1
  45. data/vendor/depot_tools/lucicfg +1 -1
  46. data/vendor/depot_tools/mac_toolchain +1 -1
  47. data/vendor/depot_tools/man/html/depot_tools.html +1 -1
  48. data/vendor/depot_tools/man/html/depot_tools_tutorial.html +28 -22
  49. data/vendor/depot_tools/man/html/git-cl.html +1 -1
  50. data/vendor/depot_tools/man/html/git-drover.html +18 -18
  51. data/vendor/depot_tools/man/html/git-footers.html +1 -1
  52. data/vendor/depot_tools/man/html/git-freeze.html +3 -3
  53. data/vendor/depot_tools/man/html/git-hyper-blame.html +1 -1
  54. data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
  55. data/vendor/depot_tools/man/html/git-map.html +1 -1
  56. data/vendor/depot_tools/man/html/git-mark-merge-base.html +1 -1
  57. data/vendor/depot_tools/man/html/git-nav-downstream.html +3 -3
  58. data/vendor/depot_tools/man/html/git-nav-upstream.html +12 -6
  59. data/vendor/depot_tools/man/html/git-new-branch.html +1 -1
  60. data/vendor/depot_tools/man/html/git-rebase-update.html +20 -1
  61. data/vendor/depot_tools/man/html/git-rename-branch.html +1 -1
  62. data/vendor/depot_tools/man/html/git-reparent-branch.html +1 -1
  63. data/vendor/depot_tools/man/html/git-retry.html +1 -1
  64. data/vendor/depot_tools/man/html/git-squash-branch.html +1 -1
  65. data/vendor/depot_tools/man/html/git-thaw.html +1 -1
  66. data/vendor/depot_tools/man/html/git-upstream-diff.html +10 -6
  67. data/vendor/depot_tools/man/man1/git-cl.1 +4 -4
  68. data/vendor/depot_tools/man/man1/git-drover.1 +21 -21
  69. data/vendor/depot_tools/man/man1/git-footers.1 +4 -4
  70. data/vendor/depot_tools/man/man1/git-freeze.1 +6 -6
  71. data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
  72. data/vendor/depot_tools/man/man1/git-map-branches.1 +4 -4
  73. data/vendor/depot_tools/man/man1/git-map.1 +4 -4
  74. data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
  75. data/vendor/depot_tools/man/man1/git-nav-downstream.1 +6 -6
  76. data/vendor/depot_tools/man/man1/git-nav-upstream.1 +15 -9
  77. data/vendor/depot_tools/man/man1/git-new-branch.1 +3 -3
  78. data/vendor/depot_tools/man/man1/git-rebase-update.1 +14 -4
  79. data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
  80. data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
  81. data/vendor/depot_tools/man/man1/git-retry.1 +4 -4
  82. data/vendor/depot_tools/man/man1/git-squash-branch.1 +4 -4
  83. data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
  84. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +7 -13
  85. data/vendor/depot_tools/man/man7/depot_tools.7 +4 -4
  86. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +33 -27
  87. data/vendor/depot_tools/man/src/filter_demo_output.py +3 -1
  88. data/vendor/depot_tools/man/src/git-rebase-update.txt +7 -0
  89. data/vendor/depot_tools/my_activity.py +13 -11
  90. data/vendor/depot_tools/my_reviews.py +34 -29
  91. data/vendor/depot_tools/ninjalog_uploader_wrapper.py +4 -2
  92. data/vendor/depot_tools/owners_finder.py +3 -1
  93. data/vendor/depot_tools/patch.py +1 -1
  94. data/vendor/depot_tools/post_build_ninja_summary.py +17 -15
  95. data/vendor/depot_tools/presubmit_canned_checks.py +3 -1
  96. data/vendor/depot_tools/presubmit_support.py +10 -5
  97. data/vendor/depot_tools/prpc +1 -1
  98. data/vendor/depot_tools/recipes/README.recipes.md +17 -17
  99. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +1 -6
  100. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +2 -4
  101. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +1 -6
  102. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/unrecognized_commit_repo.json +0 -5
  103. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/describe-failed.json +2 -4
  104. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_file.json +25 -5
  105. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_mode.json +23 -5
  106. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_verfile.json +23 -5
  107. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +0 -6
  108. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +0 -1
  109. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +1 -5
  110. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/can_fail_build.json +1 -6
  111. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_with_bad_output_fails_build.json +0 -5
  112. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/rebase_failed.json +1 -6
  113. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/set_failure_hash_with_no_steps.json +1 -3
  114. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +4 -6
  115. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch_and_target_ref.json +4 -6
  116. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch.json +4 -6
  117. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch_luci.json +4 -6
  118. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +4 -6
  119. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch_new.json +4 -6
  120. data/vendor/depot_tools/rietveld.py +3 -1
  121. data/vendor/depot_tools/roll_dep.py +2 -0
  122. data/vendor/depot_tools/roll_dep_svn.py +14 -11
  123. data/vendor/depot_tools/scm.py +10 -5
  124. data/vendor/depot_tools/split_cl.py +13 -11
  125. data/vendor/depot_tools/subprocess2.py +1 -1
  126. data/vendor/depot_tools/third_party/colorama/LICENSE.txt +0 -1
  127. data/vendor/depot_tools/third_party/colorama/README.chromium +4 -5
  128. data/vendor/depot_tools/third_party/colorama/README.rst +346 -0
  129. data/vendor/depot_tools/third_party/colorama/__init__.py +3 -4
  130. data/vendor/depot_tools/third_party/colorama/ansi.py +82 -30
  131. data/vendor/depot_tools/third_party/colorama/ansitowin32.py +105 -37
  132. data/vendor/depot_tools/third_party/colorama/initialise.py +39 -15
  133. data/vendor/depot_tools/third_party/colorama/win32.py +46 -28
  134. data/vendor/depot_tools/third_party/colorama/winterm.py +80 -31
  135. data/vendor/depot_tools/third_party/upload.py +1 -1
  136. data/vendor/depot_tools/upload_to_google_storage.py +8 -6
  137. data/vendor/depot_tools/vpython +1 -1
  138. data/vendor/depot_tools/watchlists.py +5 -3
  139. data/vendor/depot_tools/weekly +4 -2
  140. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +38 -36
  141. data/vendor/depot_tools/win_toolchain/package_from_installed.py +10 -8
  142. data/vendor/depot_tools/wtf +5 -3
  143. metadata +3 -3
  144. data/vendor/depot_tools/third_party/colorama/README.txt +0 -304
@@ -3,6 +3,8 @@
3
3
  # Use of this source code is governed by a BSD-style license that can be
4
4
  # found in the LICENSE file.
5
5
 
6
+ from __future__ import print_function
7
+
6
8
  import os
7
9
  import subprocess
8
10
  import json
@@ -40,7 +42,7 @@ def SaveConfig(config):
40
42
  def ShowMessage(countdown):
41
43
  whitelisted = '\n'.join([' * %s' % config for config in
42
44
  ninjalog_uploader.WHITELISTED_CONFIGS])
43
- print """
45
+ print("""
44
46
  Your ninjalog will be uploaded to build stats server. The uploaded log will be
45
47
  used to analyze user side build performance.
46
48
 
@@ -67,7 +69,7 @@ You can find a more detailed explanation in
67
69
  %s
68
70
 
69
71
  """ % (whitelisted, countdown, __file__, __file__,
70
- os.path.abspath(os.path.join(THIS_DIR, "ninjalog.README.md")))
72
+ os.path.abspath(os.path.join(THIS_DIR, "ninjalog.README.md"))))
71
73
 
72
74
 
73
75
  def main():
@@ -4,6 +4,8 @@
4
4
 
5
5
  """Interactive tool for finding reviewers/owners for a change."""
6
6
 
7
+ from __future__ import print_function
8
+
7
9
  import os
8
10
  import copy
9
11
  import owners as owners_module
@@ -354,7 +356,7 @@ class OwnersFinder(object):
354
356
  return ' ' * self.indentation
355
357
 
356
358
  def writeln(self, text=''):
357
- print self.print_indent() + text
359
+ print(self.print_indent() + text)
358
360
 
359
361
  def hr(self):
360
362
  self.writeln('=====================')
@@ -1,4 +1,4 @@
1
- # coding=utf8
1
+ # coding=utf-8
2
2
  # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3
3
  # Use of this source code is governed by a BSD-style license that can be
4
4
  # found in the LICENSE file.
@@ -56,6 +56,8 @@ will have a weighted time that is the same or similar to its elapsed time. A
56
56
  compile that runs in parallel with 999 other compiles will have a weighted time
57
57
  that is tiny."""
58
58
 
59
+ from __future__ import print_function
60
+
59
61
  import argparse
60
62
  import errno
61
63
  import os
@@ -100,7 +102,7 @@ class Target:
100
102
  # Allow for modest floating-point errors
101
103
  epsilon = 0.000002
102
104
  if (self.weighted_duration > self.Duration() + epsilon):
103
- print '%s > %s?' % (self.weighted_duration, self.Duration())
105
+ print('%s > %s?' % (self.weighted_duration, self.Duration()))
104
106
  assert(self.weighted_duration <= self.Duration() + epsilon)
105
107
  return self.weighted_duration
106
108
 
@@ -256,16 +258,16 @@ def SummarizeEntries(entries):
256
258
 
257
259
  # Warn if the sum of weighted times is off by more than half a second.
258
260
  if abs(length - weighted_total) > 500:
259
- print 'Discrepancy!!! Length = %.3f, weighted total = %.3f' % (
260
- length, weighted_total)
261
+ print('Discrepancy!!! Length = %.3f, weighted total = %.3f' % (
262
+ length, weighted_total))
261
263
 
262
264
  # Print the slowest build steps (by weighted time).
263
- print ' Longest build steps:'
265
+ print(' Longest build steps:')
264
266
  entries.sort(key=lambda x: x.WeightedDuration())
265
267
  for target in entries[-long_count:]:
266
- print ' %8.1f weighted s to build %s (%.1f s CPU time)' % (
268
+ print(' %8.1f weighted s to build %s (%.1f s CPU time)' % (
267
269
  target.WeightedDuration(),
268
- target.DescribeTargets(), target.Duration())
270
+ target.DescribeTargets(), target.Duration()))
269
271
 
270
272
  # Sum up the time by file extension/type of the output file
271
273
  count_by_ext = {}
@@ -279,21 +281,21 @@ def SummarizeEntries(entries):
279
281
  0) + target.WeightedDuration()
280
282
  count_by_ext[extension] = count_by_ext.get(extension, 0) + 1
281
283
 
282
- print ' Time by build-step type:'
284
+ print(' Time by build-step type:')
283
285
  # Copy to a list with extension name and total time swapped, to (time, ext)
284
286
  weighted_time_by_ext_sorted = sorted((y, x) for (x, y) in
285
287
  weighted_time_by_ext.items())
286
288
  # Print the slowest build target types (by weighted time):
287
289
  for time, extension in weighted_time_by_ext_sorted[-long_ext_count:]:
288
- print (' %8.1f s weighted time to generate %d %s files '
289
- '(%1.1f s CPU time)') % (time, count_by_ext[extension],
290
- extension, time_by_ext[extension])
290
+ print(' %8.1f s weighted time to generate %d %s files '
291
+ '(%1.1f s CPU time)' % (time, count_by_ext[extension],
292
+ extension, time_by_ext[extension]))
291
293
 
292
- print ' %.1f s weighted time (%.1f s CPU time, %1.1fx parallelism)' % (
294
+ print(' %.1f s weighted time (%.1f s CPU time, %1.1fx parallelism)' % (
293
295
  length, total_cpu_time,
294
- total_cpu_time * 1.0 / length)
295
- print ' %d build steps completed, average of %1.2f/s' % (
296
- len(entries), len(entries) / (length))
296
+ total_cpu_time * 1.0 / length))
297
+ print(' %d build steps completed, average of %1.2f/s' % (
298
+ len(entries), len(entries) / (length)))
297
299
 
298
300
 
299
301
  def main():
@@ -314,7 +316,7 @@ def main():
314
316
  entries = ReadTargets(log, False)
315
317
  SummarizeEntries(entries)
316
318
  except IOError:
317
- print 'Log file %r not found, no build summary created.' % log_file
319
+ print('Log file %r not found, no build summary created.' % log_file)
318
320
  return errno.ENOENT
319
321
 
320
322
 
@@ -4,6 +4,8 @@
4
4
 
5
5
  """Generic presubmit checks that can be reused by other presubmit checks."""
6
6
 
7
+ from __future__ import print_function
8
+
7
9
  import os as _os
8
10
  _HERE = _os.path.dirname(_os.path.abspath(__file__))
9
11
 
@@ -1111,7 +1113,7 @@ def PanProjectChecks(input_api, output_api,
1111
1113
  if snapshot_memory:
1112
1114
  delta_ms = int(1000*(dt2 - snapshot_memory[0]))
1113
1115
  if delta_ms > 500:
1114
- print " %s took a long time: %dms" % (snapshot_memory[1], delta_ms)
1116
+ print(" %s took a long time: %dms" % (snapshot_memory[1], delta_ms))
1115
1117
  snapshot_memory[:] = (dt2, msg)
1116
1118
 
1117
1119
  snapshot("checking owners files format")
@@ -6,6 +6,8 @@
6
6
  """Enables directory-specific presubmit checks to run at upload and/or commit.
7
7
  """
8
8
 
9
+ from __future__ import print_function
10
+
9
11
  __version__ = '1.8.0'
10
12
 
11
13
  # TODO(joi) Add caching where appropriate/needed. The API is designed to allow
@@ -1216,7 +1218,8 @@ class GetTryMastersExecuter(object):
1216
1218
  """
1217
1219
  context = {}
1218
1220
  try:
1219
- exec script_text in context
1221
+ exec(compile(script_text, 'PRESUBMIT.py', 'exec', dont_inherit=True),
1222
+ context)
1220
1223
  except Exception, e:
1221
1224
  raise PresubmitFailure('"%s" had an exception.\n%s'
1222
1225
  % (presubmit_path, e))
@@ -1247,7 +1250,8 @@ class GetPostUploadExecuter(object):
1247
1250
  """
1248
1251
  context = {}
1249
1252
  try:
1250
- exec script_text in context
1253
+ exec(compile(script_text, 'PRESUBMIT.py', 'exec', dont_inherit=True),
1254
+ context)
1251
1255
  except Exception, e:
1252
1256
  raise PresubmitFailure('"%s" had an exception.\n%s'
1253
1257
  % (presubmit_path, e))
@@ -1412,7 +1416,8 @@ class PresubmitExecuter(object):
1412
1416
  output_api = OutputApi(self.committing)
1413
1417
  context = {}
1414
1418
  try:
1415
- exec script_text in context
1419
+ exec(compile(script_text, 'PRESUBMIT.py', 'exec', dont_inherit=True),
1420
+ context)
1416
1421
  except Exception, e:
1417
1422
  raise PresubmitFailure('"%s" had an exception.\n%s' % (presubmit_path, e))
1418
1423
 
@@ -1715,8 +1720,8 @@ def main(argv=None):
1715
1720
  options.parallel)
1716
1721
  return not results.should_continue()
1717
1722
  except PresubmitFailure, e:
1718
- print >> sys.stderr, e
1719
- print >> sys.stderr, 'Maybe your depot_tools is out of date?'
1723
+ print(e, file=sys.stderr)
1724
+ print('Maybe your depot_tools is out of date?', file=sys.stderr)
1720
1725
  return 2
1721
1726
 
1722
1727
 
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
 
3
3
  # Copyright 2018 The Chromium Authors. All rights reserved.
4
4
  # Use of this source code is governed by a BSD-style license that can be
@@ -933,7 +933,7 @@ Raises:
933
933
 
934
934
  [DEPS](/recipes/recipe_modules/gclient/examples/full.py#5): [gclient](#recipe_modules-gclient), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]
935
935
 
936
- &mdash; **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#53)(api):**
936
+ &mdash; **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#52)(api):**
937
937
  ### *recipes* / [gclient:tests/patch\_project](/recipes/recipe_modules/gclient/tests/patch_project.py)
938
938
 
939
939
  [DEPS](/recipes/recipe_modules/gclient/tests/patch_project.py#9): [gclient](#recipe_modules-gclient), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/properties][recipe_engine/recipe_modules/properties]
@@ -997,19 +997,19 @@ Move things around in a loop!
997
997
 
998
998
  &mdash; **def [RunSteps](/recipes/recipe_modules/windows_sdk/examples/full.py#13)(api):**
999
999
 
1000
- [recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-buildbucket
1001
- [recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-cipd
1002
- [recipe_engine/recipe_modules/commit_position]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-commit_position
1003
- [recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-context
1004
- [recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-file
1005
- [recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-json
1006
- [recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-path
1007
- [recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-platform
1008
- [recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-properties
1009
- [recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-python
1010
- [recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-raw_io
1011
- [recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-runtime
1012
- [recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-source_manifest
1013
- [recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-step
1014
- [recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/README.recipes.md#recipe_modules-url
1015
- [recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/0589a429cf3c164004dae4ced4c75784a50afd81/recipe_engine/recipe_api.py#838
1000
+ [recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-buildbucket
1001
+ [recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-cipd
1002
+ [recipe_engine/recipe_modules/commit_position]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-commit_position
1003
+ [recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-context
1004
+ [recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-file
1005
+ [recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-json
1006
+ [recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-path
1007
+ [recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-platform
1008
+ [recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-properties
1009
+ [recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-python
1010
+ [recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-raw_io
1011
+ [recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-runtime
1012
+ [recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-source_manifest
1013
+ [recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-step
1014
+ [recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/README.recipes.md#recipe_modules-url
1015
+ [recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/e7498a59f81c8fad2caf7e3d7c8ca072ec0e2494/recipe_engine/recipe_api.py#836
@@ -77,12 +77,7 @@
77
77
  },
78
78
  {
79
79
  "failure": {
80
- "exception": {
81
- "traceback": [
82
- "<omitted by recipe engine>"
83
- ]
84
- },
85
- "humanReason": "Infra Failure: Step('bot_update') returned 1"
80
+ "humanReason": "Infra Failure: Step('bot_update') (retcode: 1)"
86
81
  },
87
82
  "name": "$result"
88
83
  }
@@ -175,10 +175,8 @@
175
175
  },
176
176
  {
177
177
  "failure": {
178
- "failure": {
179
- "step": "Patch failure"
180
- },
181
- "humanReason": "Step('Patch failure') failed with return_code 1"
178
+ "failure": {},
179
+ "humanReason": "Step('Patch failure') (retcode: 1)"
182
180
  },
183
181
  "name": "$result"
184
182
  }
@@ -175,12 +175,7 @@
175
175
  },
176
176
  {
177
177
  "failure": {
178
- "exception": {
179
- "traceback": [
180
- "<omitted by recipe engine>"
181
- ]
182
- },
183
- "humanReason": "Infra Failure: Step('Patch failure') returned 1"
178
+ "humanReason": "Infra Failure: Step('Patch failure') (retcode: 1)"
184
179
  },
185
180
  "name": "$result"
186
181
  }
@@ -1,11 +1,6 @@
1
1
  [
2
2
  {
3
3
  "failure": {
4
- "exception": {
5
- "traceback": [
6
- "<omitted by recipe engine>"
7
- ]
8
- },
9
4
  "humanReason": "invalid (host, project) pair in buildbucket.build.input.gitiles_commit: (u'unrecognized', u'repo') does not match any of configured gclient solutions and not present in gclient_config.repo_path_map"
10
5
  },
11
6
  "name": "$result"
@@ -74,10 +74,8 @@
74
74
  },
75
75
  {
76
76
  "failure": {
77
- "failure": {
78
- "step": "cipd describe public/package/linux-amd64"
79
- },
80
- "humanReason": "Step('cipd describe public/package/linux-amd64') failed with return_code 1"
77
+ "failure": {},
78
+ "humanReason": "Step('cipd describe public/package/linux-amd64') (retcode: 1)"
81
79
  },
82
80
  "name": "$result"
83
81
  }
@@ -281,13 +281,33 @@
281
281
  "@@@STEP_LOG_END@json.output@@@"
282
282
  ]
283
283
  },
284
+ {
285
+ "cmd": [],
286
+ "name": "RECIPE CRASH (Uncaught exception)",
287
+ "~followup_annotations": [
288
+ "@@@STEP_EXCEPTION@@@",
289
+ "The recipe has crashed at point 'Uncaught exception'!",
290
+ "",
291
+ "Traceback (most recent call last):",
292
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/engine.py\", line 375, in run_steps",
293
+ " raw_result = recipe_obj.run_steps(api, engine)",
294
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/recipe_deps.py\", line 670, in run_steps",
295
+ " properties_def, api=api)",
296
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 89, in invoke_with_properties",
297
+ " arg_names, **additional_args)",
298
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 52, in _invoke_with_properties",
299
+ " return callable_obj(*props, **additional_args)",
300
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/examples/full.py\", line 70, in RunSteps",
301
+ " pkg.add_file(api.path.abs_to_path(fullpath))",
302
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/api.py\", line 115, in add_file",
303
+ " self.files.append(self._rel_path(file_path))",
304
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/api.py\", line 81, in _rel_path",
305
+ " (path, self.package_root))",
306
+ "ValueError: path Path('start_dir', 'a','path','to','file.py') is not the package root Path('start_dir', 'some_subdir') and not a child thereof"
307
+ ]
308
+ },
284
309
  {
285
310
  "failure": {
286
- "exception": {
287
- "traceback": [
288
- "<omitted by recipe engine>"
289
- ]
290
- },
291
311
  "humanReason": "Uncaught Exception: ValueError(\"path Path('start_dir', 'a','path','to','file.py') is not the package root Path('start_dir', 'some_subdir') and not a child thereof\",)"
292
312
  },
293
313
  "name": "$result"
@@ -281,13 +281,31 @@
281
281
  "@@@STEP_LOG_END@json.output@@@"
282
282
  ]
283
283
  },
284
+ {
285
+ "cmd": [],
286
+ "name": "RECIPE CRASH (Uncaught exception)",
287
+ "~followup_annotations": [
288
+ "@@@STEP_EXCEPTION@@@",
289
+ "The recipe has crashed at point 'Uncaught exception'!",
290
+ "",
291
+ "Traceback (most recent call last):",
292
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/engine.py\", line 375, in run_steps",
293
+ " raw_result = recipe_obj.run_steps(api, engine)",
294
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/recipe_deps.py\", line 670, in run_steps",
295
+ " properties_def, api=api)",
296
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 89, in invoke_with_properties",
297
+ " arg_names, **additional_args)",
298
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 52, in _invoke_with_properties",
299
+ " return callable_obj(*props, **additional_args)",
300
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/examples/full.py\", line 68, in RunSteps",
301
+ " pkg = api.cipd.PackageDefinition('infra/fake-package', root, install_mode)",
302
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/api.py\", line 64, in __init__",
303
+ " raise ValueError('invalid value for install_mode: %r' % install_mode)",
304
+ "ValueError: invalid value for install_mode: ''"
305
+ ]
306
+ },
284
307
  {
285
308
  "failure": {
286
- "exception": {
287
- "traceback": [
288
- "<omitted by recipe engine>"
289
- ]
290
- },
291
309
  "humanReason": "Uncaught Exception: ValueError(\"invalid value for install_mode: ''\",)"
292
310
  },
293
311
  "name": "$result"
@@ -281,13 +281,31 @@
281
281
  "@@@STEP_LOG_END@json.output@@@"
282
282
  ]
283
283
  },
284
+ {
285
+ "cmd": [],
286
+ "name": "RECIPE CRASH (Uncaught exception)",
287
+ "~followup_annotations": [
288
+ "@@@STEP_EXCEPTION@@@",
289
+ "The recipe has crashed at point 'Uncaught exception'!",
290
+ "",
291
+ "Traceback (most recent call last):",
292
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/engine.py\", line 375, in run_steps",
293
+ " raw_result = recipe_obj.run_steps(api, engine)",
294
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/recipe_deps.py\", line 670, in run_steps",
295
+ " properties_def, api=api)",
296
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 89, in invoke_with_properties",
297
+ " arg_names, **additional_args)",
298
+ " File \"RECIPE_REPO[recipe_engine]/recipe_engine/internal/property_invoker.py\", line 52, in _invoke_with_properties",
299
+ " return callable_obj(*props, **additional_args)",
300
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/examples/full.py\", line 76, in RunSteps",
301
+ " pkg.add_version_file(pth)",
302
+ " File \"RECIPE_REPO[depot_tools]/recipes/recipe_modules/cipd/api.py\", line 141, in add_version_file",
303
+ " raise ValueError('add_version_file() may only be used once.')",
304
+ "ValueError: add_version_file() may only be used once."
305
+ ]
306
+ },
284
307
  {
285
308
  "failure": {
286
- "exception": {
287
- "traceback": [
288
- "<omitted by recipe engine>"
289
- ]
290
- },
291
309
  "humanReason": "Uncaught Exception: ValueError('add_version_file() may only be used once.',)"
292
310
  },
293
311
  "name": "$result"
@@ -262,12 +262,6 @@ def pdfium(c):
262
262
  m = c.got_revision_mapping
263
263
  m['pdfium'] = 'got_revision'
264
264
 
265
- @config_ctx()
266
- def mojo(c):
267
- soln = c.solutions.add()
268
- soln.name = 'src'
269
- soln.url = 'https://chromium.googlesource.com/external/mojo.git'
270
-
271
265
  @config_ctx()
272
266
  def crashpad(c):
273
267
  soln = c.solutions.add()
@@ -36,7 +36,6 @@ TEST_CONFIGS = [
36
36
  'luci_go',
37
37
  'luci_py',
38
38
  'master_deps',
39
- 'mojo',
40
39
  'nacl',
41
40
  'openscreen',
42
41
  'pdfium',