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

Issue 2411763002: Rename upload_gtest_test_results.py to upload_test_results.py. (Closed)

Created:
4 years, 2 months ago by nednguyen
Modified:
4 years, 2 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Rename upload_gtest_test_results.py to upload_test_results.py. The motivation is to reuse the logic of uploading test results to support other format such as JSON Test Result format. *This CL was split from https://crrev.com/2410613002 BUG=649762 Committed: https://chromium.googlesource.com/chromium/tools/build/+/8151d3c3ab517ed5c99b104b00d2a3fd549cc813

Patch Set 1 #

Patch Set 2 : Retrain #

Patch Set 3 : Update README.md #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -583 lines) Patch
M scripts/slave/recipe_modules/test_results/api.py View 2 chunks +7 lines, -5 lines 5 comments Download
M scripts/slave/recipe_modules/test_results/example.expected/upload_and_degrade_to_warning.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/test_results/example.expected/upload_success.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/test_results/example.expected/upload_without_degrading_failures.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/test_results/resources/README.md View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
D scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py View 1 chunk +0 lines, -153 lines 0 comments Download
D scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results_unittest.py View 1 chunk +0 lines, -73 lines 0 comments Download
A + scripts/slave/recipe_modules/test_results/resources/upload_test_results.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + scripts/slave/recipe_modules/test_results/resources/upload_test_results_unittest.py View 4 chunks +7 lines, -7 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_gtest_android.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_instrumentation_nodefault_test.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_instrumentation_test.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_instrumentation_test_with_timeout_scale.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_junit_test.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_swarmed_gtest_mac_gpu.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_swarmed_serialized_gtests.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_android_Android_Webview_L__dbg_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_android_Android_Webview_M__dbg_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_Linux_ChromiumOS_Ozone_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_Linux_ChromiumOS_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_Linux_ChromiumOS_Tests__dbg__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Asan_Builder_Tests__dbg_.json View 1 4 chunks +8 lines, -8 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Coverage__dbg_.json View 1 4 chunks +8 lines, -8 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Remoting_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinuxASan_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinuxLLD_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinuxUBSanVptr_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinux_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTMacASan_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTMac_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin64_dbg__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin64_dll__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin64_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin_dbg__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin_dll__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinAsanCov_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinAsan_dll__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinAsan_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang64_dbg__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang64_dll__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang64_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClangLLD64_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClangLLD_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang_dbg__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang_shared__tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClang_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClngLLD64dbg_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_CrWinClngLLDdbg_tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_remote_run_Tester.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win7_Tests__ANGLE_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Linux_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Linux_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Debug__Intel_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Release__Intel_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Retina_Debug__AMD_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Retina_Release__AMD_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Win7_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Win7_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Fake_Linux_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Linux_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Linux_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Debug__Intel_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Release__Intel_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Retina_Debug__AMD_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Retina_Release__AMD_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_Retina_Debug.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_Retina_Release.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Linux_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Mac_10_10_Release__Intel_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Mac_10_10_Retina_Release__AMD_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Mac_Retina_Release.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Win7_Release__ATI_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Win7_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_Debug__ATI_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_Release__ATI_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_x64_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win7_x64_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win8_Debug__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Win8_Release__NVIDIA_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests__dbg__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests__dbg__1__32_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_9_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_9_Tests__dbg_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_Linux_ASan_LSan_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_Linux_ASan_Tests__sandboxed_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_Linux_Chromium_OS_ASan_LSan_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_Mac_ASan_64_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_full_Linux_ChromeOS_MSan_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_full_Linux_MSan_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_memory_full_Linux_TSan_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_perf_fyi_Win_10_Low_End_Perf_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Mac10_10.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Mac10_11.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Mac10_11__dbg_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Win10.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Win7.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Win7__dbg_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win10_Tests_x64.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7_Tests__dbg__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7__32__Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Linux_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Linux_Tests_Trybot.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Mac10_9_Tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Mac10_9_Tests_Trybot.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Win7_Tests__1_.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Win7_Tests__1__Trybot.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_android_android_coverage.json View 1 8 chunks +16 lines, -16 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_test_failure.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_test_with_priority_expiration_and_timeout.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/all_test_failed.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/all_test_passed.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_consecutive_culprits.json View 1 3 chunks +6 lines, -6 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_first_sub_range.json View 1 3 chunks +6 lines, -6 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_last_sub_range.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_middle_sub_range.json View 1 4 chunks +8 lines, -8 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_steps_multiple_culprits.json View 1 5 chunks +10 lines, -10 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/findit_tests_multiple_culprits.json View 1 5 chunks +10 lines, -10 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/only_one_test_passed.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/unaffected_test_skipped_by_analyze.json View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/use_analyze_set_to_False_for_non_linear_try_job.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/findit/chromium/test.expected/use_build_parameter_for_tests.json View 1 3 chunks +6 lines, -6 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/linux_Debug.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/linux_Release.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/mac_Debug.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/mac_Release.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/one_fails.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/win_Debug.json View 1 2 chunks +4 lines, -4 lines 0 comments Download
M scripts/slave/recipes/swarming/staging.expected/win_Release.json View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
nednguyen
4 years, 2 months ago (2016-10-11 15:15:14 UTC) #2
nednguyen
PTAL
4 years, 2 months ago (2016-10-11 15:15:31 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py File scripts/slave/recipe_modules/test_results/api.py (right): https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py#newcode11 scripts/slave/recipe_modules/test_results/api.py:11: def upload(self, results_file, test_type, chrome_revision, It seems useful to ...
4 years, 2 months ago (2016-10-11 16:36:26 UTC) #4
nednguyen
On 2016/10/11 16:36:26, Paweł Hajdan Jr. wrote: > https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py > File scripts/slave/recipe_modules/test_results/api.py (right): > > ...
4 years, 2 months ago (2016-10-11 17:12:31 UTC) #5
Ken Russell (switch to Gerrit)
LGTM for what it's worth. I think auto-detection of the upload format is fine, but ...
4 years, 2 months ago (2016-10-11 22:47:43 UTC) #6
Sergiy Byelozyorov
lgtm
4 years, 2 months ago (2016-10-12 18:57:20 UTC) #7
Sergiy Byelozyorov
On 2016/10/12 18:57:20, Sergiy Byelozyorov wrote: > lgtm This CL was split from https://crrev.com/2410613002
4 years, 2 months ago (2016-10-12 18:59:19 UTC) #8
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/2411763002/40001
4 years, 2 months ago (2016-10-12 19:03:44 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/tools/build/+/8151d3c3ab517ed5c99b104b00d2a3fd549cc813
4 years, 2 months ago (2016-10-12 19:08:46 UTC) #13
ghost stip (do not use)
https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py File scripts/slave/recipe_modules/test_results/api.py (right): https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py#newcode31 scripts/slave/recipe_modules/test_results/api.py:31: args=['--input-json', results_file, this broke test uploading for android. should ...
4 years, 2 months ago (2016-10-13 07:49:21 UTC) #15
estaab
https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py File scripts/slave/recipe_modules/test_results/api.py (right): https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py#newcode11 scripts/slave/recipe_modules/test_results/api.py:11: def upload(self, results_file, test_type, chrome_revision, On 2016/10/11 at 16:36:26, ...
4 years, 2 months ago (2016-10-13 15:46:40 UTC) #17
nednguyen
https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py File scripts/slave/recipe_modules/test_results/api.py (right): https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_modules/test_results/api.py#newcode11 scripts/slave/recipe_modules/test_results/api.py:11: def upload(self, results_file, test_type, chrome_revision, On 2016/10/13 15:46:39, estaab ...
4 years, 2 months ago (2016-10-13 15:54:35 UTC) #18
estaab
4 years, 2 months ago (2016-10-20 04:56:42 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_mo...
File scripts/slave/recipe_modules/test_results/api.py (right):

https://codereview.chromium.org/2411763002/diff/40001/scripts/slave/recipe_mo...
scripts/slave/recipe_modules/test_results/api.py:11: def upload(self,
results_file, test_type, chrome_revision,
On 2016/10/13 at 15:54:35, nednguyen wrote:
> On 2016/10/13 15:46:39, estaab wrote:
> > On 2016/10/11 at 16:36:26, Paweł Hajdan Jr. wrote:
> > > It seems useful to have explicit way of knowing type of results we're
> > uploading.
> > > 
> > > I'm generally skeptical about possible auto-detection (is that the plan?).
> > > 
> > > What's the advantage otherwise? What code would be shared? Why not extract
> > shared parts to a module?
> > 
> > I agree with Paweł, this should have been explicit. Callers should be
conscious
> > of the distinction since the behavior is very different for the different
use
> > cases (converting formats vs uploading raw).
> 
> I don't find how splitting the uploader into 2 scripts: one convert format +
upload and another one only uploading will make it simpler.
> 
> I think the bug is the uploader script is doing too much here: both converting
format & uploading. 
> 
> If you want, I can move the format converting logic out of
upload_test_results.py. Maybe move the formatting logic to test_results/api.py,
wdyt?

Sorry, I didn't mean that we need multiple scripts. I would be happy with 2
optional parameters where users set one or the other to upload() and to
upload_test_results.py: a gtest_json and a test_results_json (--gtest-input-json
and --test-results-input-json).

I think it's not worth spending more than 30 minutes changing it at this point
since it doesn't matter that much. The logging you mentioned sounds like a good
compromise and printing "parsed as the gtest json format" or something along
those lines would speed up debugging.

Powered by Google App Engine
This is Rietveld 408576698