Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Issue 3007063002: Plumb trace canonicalUrl through TelemetryInfo. (Closed)

Created:
3 years, 3 months ago by benjhayden
Modified:
3 years, 3 months ago
Reviewers:
eakuefner, shatch
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Plumb trace canonicalUrl through TelemetryInfo. Currently, trace canonical URLs are constructed after serializing the trace. This prevents Histogram results from containing the canonical URL. This CL constructs trace canonical URLs before serializing the trace so that Histograms can contain the canonical URL. Next CLs: - format traceUrls generic-set-spans https://codereview.chromium.org/3008203002 - add traceUrls to CSVBuilder https://codereview.chromium.org/3005203002 - plumb traceUrls through ChartJsonConverter BUG=catapult:#2431 Review-Url: https://chromiumcodereview.appspot.com/3007063002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/8859dc2b7175d2c72a1fb1deebb3a0ca003aaa5b

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : error handling #

Patch Set 4 : fix csv pivot table test #

Patch Set 5 : fix json output formatter test #

Patch Set 6 : fix trace_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -82 lines) Patch
M telemetry/telemetry/internal/results/csv_output_formatter_unittest.py View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M telemetry/telemetry/internal/results/csv_pivot_table_output_formatter_unittest.py View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M telemetry/telemetry/internal/results/json_output_formatter_unittest.py View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M telemetry/telemetry/internal/results/page_test_results.py View 1 2 9 chunks +62 lines, -11 lines 0 comments Download
M telemetry/telemetry/internal/results/results_options.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/story_runner.py View 1 chunk +2 lines, -5 lines 0 comments Download
M telemetry/telemetry/value/trace.py View 1 2 3 4 5 chunks +14 lines, -24 lines 0 comments Download
M telemetry/telemetry/value/trace_unittest.py View 1 2 3 4 5 1 chunk +16 lines, -24 lines 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 3 chunks +13 lines, -3 lines 0 comments Download
M tracing/tracing/metrics/metric_map_function.html View 1 chunk +7 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/metric_runner.py View 2 chunks +20 lines, -8 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
benjhayden
3 years, 3 months ago (2017-09-06 07:45:07 UTC) #5
eakuefner
lgtm % test discussed offline.
3 years, 3 months ago (2017-09-06 21:39:38 UTC) #10
benjhayden
https://codereview.chromium.org/3007063002/diff/60001/tracing/tracing/metrics/metric_map_function.html File tracing/tracing/metrics/metric_map_function.html (right): https://codereview.chromium.org/3007063002/diff/60001/tracing/tracing/metrics/metric_map_function.html#newcode76 tracing/tracing/metrics/metric_map_function.html:76: throw new Error(`canonicalUrl "${model.canonicalUrl}" != ` + Test this
3 years, 3 months ago (2017-09-06 21:39:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3007063002/80001
3 years, 3 months ago (2017-09-06 23:01:28 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/5134)
3 years, 3 months ago (2017-09-06 23:24:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3007063002/100001
3 years, 3 months ago (2017-09-07 04:08:48 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/5137) Catapult Linux ...
3 years, 3 months ago (2017-09-07 04:20:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3007063002/120001
3 years, 3 months ago (2017-09-07 16:41:59 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/8765)
3 years, 3 months ago (2017-09-07 16:55:50 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3007063002/160001
3 years, 3 months ago (2017-09-07 18:28:09 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/8768)
3 years, 3 months ago (2017-09-07 18:32:39 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3007063002/160001
3 years, 3 months ago (2017-09-07 22:33:55 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:160001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/8859dc2b7175d2c72a1fb1deebb3a0ca003aaa5b
3 years, 3 months ago (2017-09-07 23:06:26 UTC) #36
eakuefner
3 years, 3 months ago (2017-09-08 18:19:53 UTC) #37
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:160001) has been created in
https://chromiumcodereview.appspot.com/3007313002/ by eakuefner@chromium.org.

The reason for reverting is: Broke perf waterfall. Example stack trace:

Traceback (most recent call last):
  <module> at /b/swarming/w/ir/tools/perf/run_benchmark:26
    sys.exit(main())
  main at /b/swarming/w/ir/tools/perf/run_benchmark:22
    return benchmark_runner.main(config, [trybot_command.Trybot])
  main at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/benchmark_runner.py:352
    return command_instance.Run(options)
  Run at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/benchmark_runner.py:222
    return min(255, self._benchmark().Run(args))
  Run at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/benchmark.py:108
    return story_runner.RunBenchmark(self, finder_options)
  RunBenchmark at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/internal/story_runner.py:355
    results.UploadTraceFilesToCloud()
  UploadTraceFilesToCloud at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/internal/results/page_test_results.py:496
    value.UploadToCloud()
  UploadToCloud at
/b/swarming/w/ir/third_party/catapult/telemetry/telemetry/value/trace.py:144
    self._upload_bucket, self._remote_path, fh.GetAbsPath())
  Insert at
/b/swarming/w/ir/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:378
    _RunCommand(command_and_args)
  _RunCommand at
/b/swarming/w/ir/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:153
    raise GetErrorObjectForCloudStorageStderr(stderr)
CloudStorageError: BucketNotFoundException: 404 gs://None bucket does not exist.

Locals:
  args       :
['/b/swarming/w/ir/third_party/catapult/third_party/gsutil/gsutil', 'cp',
'/b/swarming/w/it2IK7be/tmpRGMr7K.html', 'gs://None/None']
  gsutil     : <subprocess.Popen object at 0x7f0ff2972dd0>
  gsutil_env : None
  stderr     : 'BucketNotFoundException: 404 gs://None bucket does not exist.\n'
  stdout     : ''.

Powered by Google App Engine
This is Rietveld 408576698