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

Side by Side Diff: slave/skia_slave_scripts/check_gs_timestamps.py

Issue 14517004: Change Builder Names, MkIII (Closed) Base URL: http://skia.googlecode.com/svn/buildbot/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Checks that the timestamps of gm-actual directories on Google Storage match. 6 """Checks that the timestamps of gm-actual directories on Google Storage match.
7 7
8 Checks if the TIMESTAMP_LAST_UPLOAD_STARTED and TIMESTAMP_LAST_UPLOAD_COMPLETED 8 Checks if the TIMESTAMP_LAST_UPLOAD_STARTED and TIMESTAMP_LAST_UPLOAD_COMPLETED
9 files of all gm-actual directories on Google Storage match. This module can be 9 files of all gm-actual directories on Google Storage match. This module can be
10 run from the command-line like this: 10 run from the command-line like this:
11 11
12 cd buildbot/third_party/chromium_buildbot/slave/\ 12 cd buildbot/third_party/chromium_buildbot/slave/\
13 Skia_Shuttle_Ubuntu12_ATI5770_Float_Release_64/build/trunk 13 Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release/build/trunk
14 14
15 PYTHONPATH=../../../../scripts:\ 15 PYTHONPATH=../../../../scripts:\
16 ../../../../site_config \ 16 ../../../../site_config \
17 python ../../../../../../slave/skia_slave_scripts/check_gs_timestamps.py \ 17 python ../../../../../../slave/skia_slave_scripts/check_gs_timestamps.py \
18 --configuration "Debug" --target_platform "" --revision 0 \ 18 --configuration "Debug" --target_platform "" --revision 0 \
19 --autogen_svn_baseurl "" --make_flags "" --test_args "" --gm_args "" \ 19 --autogen_svn_baseurl "" --make_flags "" --test_args "" --gm_args "" \
20 --bench_args "" --num_cores 8 --perf_output_basedir "" \ 20 --bench_args "" --num_cores 8 --perf_output_basedir "" \
21 --builder_name Skia_Shuttle_Ubuntu12_ATI5770_Float_Release_64 \ 21 --builder_name Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release \
22 --got_revision 0 --gm_image_subdir base-shuttle_ubuntu12_ati5770 \ 22 --got_revision 0 --gm_image_subdir base-shuttle_ubuntu12_ati5770 \
23 --is_try False --do_upload_results True --dest_gsbase gs://rmistry 23 --is_try False --do_upload_results True --dest_gsbase gs://rmistry
24 24
25 """ 25 """
26 26
27 import posixpath 27 import posixpath
28 import sys 28 import sys
29 29
30 from utils import gs_utils 30 from utils import gs_utils
31 from utils import sync_bucket_subdir 31 from utils import sync_bucket_subdir
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 exception_txt += ('Investigate the suspect directories with the following' 102 exception_txt += ('Investigate the suspect directories with the following'
103 ' command(s):\n') 103 ' command(s):\n')
104 for failed_gm_actual_dir in failed_gm_actual_dirs: 104 for failed_gm_actual_dir in failed_gm_actual_dirs:
105 exception_txt += 'gsutil ls -l %sTIMESTAMP*\n' % failed_gm_actual_dir 105 exception_txt += 'gsutil ls -l %sTIMESTAMP*\n' % failed_gm_actual_dir
106 exception_txt += '\n' 106 exception_txt += '\n'
107 raise Exception(exception_txt) 107 raise Exception(exception_txt)
108 108
109 109
110 if '__main__' == __name__: 110 if '__main__' == __name__:
111 sys.exit(build_step.BuildStep.RunBuildStep(CheckGoogleStorageTimestamps)) 111 sys.exit(build_step.BuildStep.RunBuildStep(CheckGoogleStorageTimestamps))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698