Lines Matching full:python
22 "python",
37 "@@@STEP_LOG_LINE@python.inline@@@@",
38 "@@@STEP_LOG_LINE@python.inline@import os@@@",
39 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
40 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
41 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
42 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
43 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
44 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
45 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
46 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
47 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
48 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
49 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
50 …"@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, …
51 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
52 "@@@STEP_LOG_END@python.inline@@@"
57 "python",
71 "python",
157 "python",
172 "@@@STEP_LOG_LINE@python.inline@@@@",
173 "@@@STEP_LOG_LINE@python.inline@import os@@@",
174 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
175 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
176 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
177 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
178 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
179 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
180 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
181 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
182 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
183 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
184 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
185 …"@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, …
186 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
187 "@@@STEP_LOG_END@python.inline@@@"
209 "python",
223 "python",
309 "python",
324 "@@@STEP_LOG_LINE@python.inline@@@@",
325 "@@@STEP_LOG_LINE@python.inline@import os@@@",
326 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
327 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
328 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
329 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
330 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
331 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
332 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
333 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
334 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
335 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
336 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
337 …"@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, …
338 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
339 "@@@STEP_LOG_END@python.inline@@@"
361 "python",
375 "python",
461 "python",
476 "@@@STEP_LOG_LINE@python.inline@@@@",
477 "@@@STEP_LOG_LINE@python.inline@import os@@@",
478 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
479 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
480 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
481 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
482 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
483 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
484 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
485 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
486 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
487 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
488 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@@@",
489 …"@@@STEP_LOG_LINE@python.inline@ os.path.realpath(os.path.join(host, p, …
490 "@@@STEP_LOG_LINE@python.inline@ os.path.join(device, p, f)])@@@",
491 "@@@STEP_LOG_END@python.inline@@@"
513 "python",
526 "python",
577 "python",
592 "python",
606 "@@@STEP_LOG_LINE@python.inline@@@@",
607 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
608 "@@@STEP_LOG_LINE@python.inline@import math@@@",
609 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
610 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
611 "@@@STEP_LOG_LINE@python.inline@import time@@@",
612 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
613 "@@@STEP_LOG_LINE@python.inline@@@@",
614 …"@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_fi…
615 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
616 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
617 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
618 "@@@STEP_LOG_LINE@python.inline@@@@",
619 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
620 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
621 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
622 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
623 … "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
624 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
625 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@",
626 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
627 "@@@STEP_LOG_LINE@python.inline@ break@@@",
628 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
629 …"@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_U…
630 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
631 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
632 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
633 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@",
634 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@",
635 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
636 "@@@STEP_LOG_END@python.inline@@@"
658 "python",
665 "@@@STEP_LOG_LINE@python.inline@import os@@@",
666 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
667 "@@@STEP_LOG_END@python.inline@@@"
672 "python",
679 "@@@STEP_LOG_LINE@python.inline@import os@@@",
680 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
681 "@@@STEP_LOG_END@python.inline@@@"
703 "python",
756 "python",
770 "@@@STEP_LOG_LINE@python.inline@@@@",
771 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
772 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
773 "@@@STEP_LOG_LINE@python.inline@bin_dir = sys.argv[1]@@@",
774 "@@@STEP_LOG_LINE@python.inline@sh = sys.argv[2]@@@",
775 … "@@@STEP_LOG_LINE@python.inline@subprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])@@@",
776 "@@@STEP_LOG_LINE@python.inline@try:@@@",
777 …"@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['adb', 'shell', 'cat',@@@",
778 … "@@@STEP_LOG_LINE@python.inline@ bin_dir + 'rc'])))@@@",
779 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@",
780 …"@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code. Probably killed for OOM.…
781 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
782 "@@@STEP_LOG_END@python.inline@@@"
804 "python",
818 "@@@STEP_LOG_LINE@python.inline@@@@",
819 "@@@STEP_LOG_LINE@python.inline@import os@@@",
820 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
821 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
822 "@@@STEP_LOG_LINE@python.inline@out = sys.argv[1]@@@",
823 "@@@STEP_LOG_LINE@python.inline@log = subprocess.check_output(['adb', 'logcat', '-d'])@@@",
824 "@@@STEP_LOG_LINE@python.inline@for line in log.split('\\n'):@@@",
825 "@@@STEP_LOG_LINE@python.inline@ tokens = line.split()@@@",
826 …"@@@STEP_LOG_LINE@python.inline@ if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc…
827 "@@@STEP_LOG_LINE@python.inline@ addr, path = tokens[-2:]@@@",
828 "@@@STEP_LOG_LINE@python.inline@ local = os.path.join(out, os.path.basename(path))@@@",
829 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(local):@@@",
830 …"@@@STEP_LOG_LINE@python.inline@ sym = subprocess.check_output(['addr2line', '-Cfpe', local, …
831 "@@@STEP_LOG_LINE@python.inline@ line = line.replace(addr, addr + ' ' + sym.strip())@@@",
832 "@@@STEP_LOG_LINE@python.inline@ print line@@@",
833 "@@@STEP_LOG_END@python.inline@@@"