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

Side by Side Diff: webrtc/audio/test/unittests/low_bandwidth_audio_test_test.py

Issue 2783343003: Support multiple connected Android devices in low bandwidth audio test (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « webrtc/audio/test/low_bandwidth_audio_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 #
4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree.
9
10 import os
11 import unittest
12 import sys
13
14
15 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
16 PARENT_DIR = os.path.join(SCRIPT_DIR, os.pardir)
17 sys.path.append(PARENT_DIR)
18 import low_bandwidth_audio_test
19
20
21 class TestExtractTestRuns(unittest.TestCase):
22 def _testLog(self, log, *expected):
23 self.assertEqual(
24 tuple(low_bandwidth_audio_test.ExtractTestRuns(log.splitlines(True))),
25 expected)
26
27 def testLinux(self):
28 self._testLog(LINUX_LOG,
29 (None, 'GoodNetworkHighBitrate',
30 '/webrtc/src/resources/voice_engine/audio_tiny16.wav',
31 '/webrtc/src/out/LowBandwidth_GoodNetworkHighBitrate.wav'),
32 (None, 'Mobile2GNetwork',
33 '/webrtc/src/resources/voice_engine/audio_tiny16.wav',
34 '/webrtc/src/out/LowBandwidth_Mobile2GNetwork.wav'))
35
36 def testAndroid(self):
37 self._testLog(ANDROID_LOG,
38 ('ddfa6149', 'Mobile2GNetwork',
39 '/sdcard/chromium_tests_root/resources/voice_engine/audio_tiny16.wav',
40 '/sdcard/chromium_tests_root/LowBandwidth_Mobile2GNetwork.wav'),
41 ('TA99205CNO', 'GoodNetworkHighBitrate',
42 '/sdcard/chromium_tests_root/resources/voice_engine/audio_tiny16.wav',
43 '/sdcard/chromium_tests_root/LowBandwidth_GoodNetworkHighBitrate.wav'))
44
45
46 LINUX_LOG = r'''\
47 [==========] Running 2 tests from 1 test case.
48 [----------] Global test environment set-up.
49 [----------] 2 tests from LowBandwidthAudioTest
50 [ RUN ] LowBandwidthAudioTest.GoodNetworkHighBitrate
51 TEST GoodNetworkHighBitrate /webrtc/src/resources/voice_engine/audio_tiny16.wav /webrtc/src/out/LowBandwidth_GoodNetworkHighBitrate.wav
52 [ OK ] LowBandwidthAudioTest.GoodNetworkHighBitrate (5932 ms)
53 [ RUN ] LowBandwidthAudioTest.Mobile2GNetwork
54 TEST Mobile2GNetwork /webrtc/src/resources/voice_engine/audio_tiny16.wav /webrtc /src/out/LowBandwidth_Mobile2GNetwork.wav
55 [ OK ] LowBandwidthAudioTest.Mobile2GNetwork (6333 ms)
56 [----------] 2 tests from LowBandwidthAudioTest (12265 ms total)
57
58 [----------] Global test environment tear-down
59 [==========] 2 tests from 1 test case ran. (12266 ms total)
60 [ PASSED ] 2 tests.
61 '''
62
63 ANDROID_LOG = r'''\
64 I 0.000s Main command: /webrtc/src/build/android/test_runner.py gtest --suit e low_bandwidth_audio_test --output-directory /webrtc/src/out/debug-android --ru ntime-deps-path /webrtc/src/out/debug-android/gen.runtime/webrtc/audio/low_bandw idth_audio_test__test_runner_script.runtime_deps -v
65 I 0.007s Main [host]> /webrtc/src/third_party/android_tools/sdk/build-tools/ 24.0.2/aapt dump xmltree /webrtc/src/out/debug-android/low_bandwidth_audio_test_ apk/low_bandwidth_audio_test-debug.apk AndroidManifest.xml
66 I 0.028s TimeoutThread-1-for-MainThread [host]> /webrtc/src/third_party/andr oid_tools/sdk/platform-tools/adb devices
67 I 0.062s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO wait-for-device
68 I 0.063s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 wait-for-device
69 I 0.102s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( ( c=/dat a/local/tmp/cache_token;echo $EXTERNAL_STORAGE;cat $c 2>/dev/null||echo;echo "77 611072-160c-11d7-9362-705b0f464195">$c &&getprop )>/data/local/tmp/temp_file-5ea 34389e3f92 );echo %$?'
70 I 0.105s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( ( c=/data/lo cal/tmp/cache_token;echo $EXTERNAL_STORAGE;cat $c 2>/dev/null||echo;echo "77618a fc-160c-11d7-bda4-705b0f464195">$c &&getprop )>/data/local/tmp/temp_file-b995cef 6e0e3d );echo %$?'
71 I 0.204s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 pull /data/local/tmp/ temp_file-b995cef6e0e3d /tmp/tmpieAgDj/tmp_ReadFileWithPull
72 I 0.285s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( test -d /sto rage/emulated/legacy );echo %$?'
73 I 0.285s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / data/local/tmp/temp_file-b995cef6e0e3d'
74 I 0.302s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO pull /data/local/ tmp/temp_file-5ea34389e3f92 /tmp/tmpvlyG3I/tmp_ReadFileWithPull
75 I 0.352s TimeoutThread-1-for-prepare_device(ddfa6149) condition 'sd_card_rea dy' met (0.3s)
76 I 0.353s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( pm path andr oid );echo %$?'
77 I 0.369s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( test -d /sdcard );echo %$?'
78 I 0.370s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /data/local/tmp/temp_file-5ea34389e3f92'
79 I 0.434s TimeoutThread-1-for-prepare_device(TA99205CNO) condition 'sd_card_r eady' met (0.4s)
80 I 0.434s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( pm path android );echo %$?'
81 I 1.067s TimeoutThread-1-for-prepare_device(ddfa6149) condition 'pm_ready' m et (1.0s)
82 I 1.067s TimeoutThread-1-for-prepare_device(ddfa6149) [host]> /webrtc/src/th ird_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( getprop sys. boot_completed );echo %$?'
83 I 1.115s TimeoutThread-1-for-prepare_device(ddfa6149) condition 'boot_comple ted' met (1.1s)
84 I 1.181s TimeoutThread-1-for-prepare_device(TA99205CNO) condition 'pm_ready' met (1.1s)
85 I 1.181s TimeoutThread-1-for-prepare_device(TA99205CNO) [host]> /webrtc/src/ third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( getprop sys.boot_completed );echo %$?'
86 I 1.242s TimeoutThread-1-for-prepare_device(TA99205CNO) condition 'boot_comp leted' met (1.2s)
87 I 1.268s TimeoutThread-1-for-individual_device_set_up(TA99205CNO) [host]> /w ebrtc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell ' ( pm path org.chromium.native_test );echo %$?'
88 I 1.269s TimeoutThread-1-for-individual_device_set_up(ddfa6149) [host]> /web rtc/src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( pm path org.chromium.native_test );echo %$?'
89 I 2.008s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s ddfa6149 shell '( a=/data/local/tmp/md5sum/md5su m_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/local /tmp/md5sum;$a /data/app/org.chromium.native_test-2/base.apk;: );echo %$?'
90 I 2.008s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/out/debug-android/low_bandwidth_audio_test_apk/low_bandw idth_audio_test-debug.apk
91 I 2.019s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s TA99205CNO shell '( a=/data/local/tmp/md5sum/md5 sum_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/loc al/tmp/md5sum;$a /data/app/org.chromium.native_test-1/base.apk;: );echo %$?'
92 I 2.020s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/out/debug-android/low_bandwidth_audio_test_apk/low_bandw idth_audio_test-debug.apk
93 I 2.172s TimeoutThread-1-for-individual_device_set_up(ddfa6149) [host]> /web rtc/src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( p= org.chromium.native_test;if [[ "$(ps)" = *$p* ]]; then am force-stop $p; fi );ec ho %$?'
94 I 2.183s TimeoutThread-1-for-individual_device_set_up(TA99205CNO) [host]> /w ebrtc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell ' ( p=org.chromium.native_test;if [[ "$(ps)" = *$p* ]]; then am force-stop $p; fi );echo %$?'
95 I 2.290s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s TA99205CNO shell '( a=/data/local/tmp/md5sum/md5 sum_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/loc al/tmp/md5sum;$a /sdcard/chromium_tests_root/resources/voice_engine/audio_tiny16 .wav;: );echo %$?'
96 I 2.291s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/resources/voice_engine/audio_tiny16.wav
97 I 2.373s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s ddfa6149 shell '( a=/data/local/tmp/md5sum/md5su m_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/local /tmp/md5sum;$a /storage/emulated/legacy/chromium_tests_root/resources/voice_engi ne/audio_tiny16.wav;: );echo %$?'
98 I 2.374s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/resources/voice_engine/audio_tiny16.wav
99 I 2.390s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s TA99205CNO shell '( a=/data/local/tmp/md5sum/md5 sum_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/loc al/tmp/md5sum;$a /sdcard/chromium_tests_root/icudtl.dat;: );echo %$?'
100 I 2.390s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/out/debug-android/icudtl.dat
101 I 2.472s calculate_device_checksums [host]> /webrtc/src/third_party/android_ tools/sdk/platform-tools/adb -s ddfa6149 shell '( a=/data/local/tmp/md5sum/md5su m_bin;! [[ $(ls -l $a) = *1225256* ]]&&exit 2;export LD_LIBRARY_PATH=/data/local /tmp/md5sum;$a /storage/emulated/legacy/chromium_tests_root/icudtl.dat;: );echo %$?'
102 I 2.472s calculate_host_checksums [host]> /webrtc/src/out/debug-android/md5s um_bin_host /webrtc/src/out/debug-android/icudtl.dat
103 I 2.675s TimeoutThread-1-for-list_tests(TA99205CNO) [host]> /webrtc/src/thir d_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( ( p=org.chro mium.native_test;am instrument -w -e "$p".NativeTestInstrumentationTestRunner.Sh ardNanoTimeout 30000000000 -e "$p".NativeTestInstrumentationTestRunner.NativeTes tActivity "$p".NativeUnitTestActivity -e "$p".NativeTestInstrumentationTestRunne r.StdoutFile /sdcard/temp_file-6407c967884af.gtest_out -e "$p".NativeTest.Comman dLineFlags --gtest_list_tests "$p"/"$p".NativeTestInstrumentationTestRunner )>/d ata/local/tmp/temp_file-d21ebcd0977d9 );echo %$?'
104 I 2.675s TimeoutThread-1-for-list_tests(ddfa6149) [host]> /webrtc/src/third_ party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( ( p=org.chromium .native_test;am instrument -w -e "$p".NativeTestInstrumentationTestRunner.ShardN anoTimeout 30000000000 -e "$p".NativeTestInstrumentationTestRunner.NativeTestAct ivity "$p".NativeUnitTestActivity -e "$p".NativeTestInstrumentationTestRunner.St doutFile /storage/emulated/legacy/temp_file-fa09560c3259.gtest_out -e "$p".Nativ eTest.CommandLineFlags --gtest_list_tests "$p"/"$p".NativeTestInstrumentationTes tRunner )>/data/local/tmp/temp_file-95ad995999939 );echo %$?'
105 I 3.739s TimeoutThread-1-for-list_tests(ddfa6149) [host]> /webrtc/src/third_ party/android_tools/sdk/platform-tools/adb -s ddfa6149 pull /data/local/tmp/temp _file-95ad995999939 /tmp/tmpSnnF6Y/tmp_ReadFileWithPull
106 I 3.807s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / data/local/tmp/temp_file-95ad995999939'
107 I 3.812s TimeoutThread-1-for-list_tests(ddfa6149) [host]> /webrtc/src/third_ party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( TZ=utc ls -a -l /storage/emulated/legacy/ );echo %$?'
108 I 3.866s TimeoutThread-1-for-list_tests(ddfa6149) [host]> /webrtc/src/third_ party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( cat /storage/emu lated/legacy/temp_file-fa09560c3259.gtest_out );echo %$?'
109 I 3.912s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / storage/emulated/legacy/temp_file-fa09560c3259.gtest_out'
110 I 4.256s TimeoutThread-1-for-list_tests(TA99205CNO) [host]> /webrtc/src/thir d_party/android_tools/sdk/platform-tools/adb -s TA99205CNO pull /data/local/tmp/ temp_file-d21ebcd0977d9 /tmp/tmpokPF5b/tmp_ReadFileWithPull
111 I 4.324s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /data/local/tmp/temp_file-d21ebcd0977d9'
112 I 4.342s TimeoutThread-1-for-list_tests(TA99205CNO) [host]> /webrtc/src/thir d_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( TZ=utc ls -a -l /sdcard/ );echo %$?'
113 I 4.432s TimeoutThread-1-for-list_tests(TA99205CNO) [host]> /webrtc/src/thir d_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( cat /sdcard/ temp_file-6407c967884af.gtest_out );echo %$?'
114 I 4.476s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /sdcard/temp_file-6407c967884af.gtest_out'
115 I 4.483s Main Using external sharding settings. This is shard 0/1
116 I 4.483s Main STARTING TRY #1/3
117 I 4.484s Main Will run 2 tests on 2 devices: TA99205CNO, ddfa6149
118 I 4.486s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( pm dump org.chromium.native_test | grep dataDir=; echo "PIPESTATUS: ${PIPESTATUS[@] }" );echo %$?'
119 I 4.486s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( pm dump org.chromium.native_test | grep dataDir=; echo "PIPESTATUS: ${PIPESTATUS[@]}" ) ;echo %$?'
120 I 5.551s run_tests_on_device(TA99205CNO) flags:
121 I 5.552s run_tests_on_device(ddfa6149) flags:
122 I 5.554s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( ( p =org.chromium.native_test;am instrument -w -e "$p".NativeTestInstrumentationTest Runner.ShardNanoTimeout 120000000000 -e "$p".NativeTestInstrumentationTestRunner .NativeTestActivity "$p".NativeUnitTestActivity -e "$p".NativeTestInstrumentatio nTestRunner.Test LowBandwidthAudioTest.GoodNetworkHighBitrate -e "$p".NativeTest InstrumentationTestRunner.StdoutFile /sdcard/temp_file-ffe7b76691cb7.gtest_out " $p"/"$p".NativeTestInstrumentationTestRunner )>/data/local/tmp/temp_file-c9d83b3 078ab1 );echo %$?'
123 I 5.556s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( ( p=org .chromium.native_test;am instrument -w -e "$p".NativeTestInstrumentationTestRunn er.ShardNanoTimeout 120000000000 -e "$p".NativeTestInstrumentationTestRunner.Nat iveTestActivity "$p".NativeUnitTestActivity -e "$p".NativeTestInstrumentationTes tRunner.Test LowBandwidthAudioTest.Mobile2GNetwork -e "$p".NativeTestInstrumenta tionTestRunner.StdoutFile /storage/emulated/legacy/temp_file-f0ceb1a05ea8.gtest_ out "$p"/"$p".NativeTestInstrumentationTestRunner )>/data/local/tmp/temp_file-24 5ef307a5b32 );echo %$?'
124 I 12.956s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO pull /data/l ocal/tmp/temp_file-c9d83b3078ab1 /tmp/tmpRQhTcM/tmp_ReadFileWithPull
125 I 13.024s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /data/local/tmp/temp_file-c9d83b3078ab1'
126 I 13.032s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( TZ= utc ls -a -l /sdcard/ );echo %$?'
127 I 13.114s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( cat /sdcard/temp_file-ffe7b76691cb7.gtest_out );echo %$?'
128 I 13.154s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 pull /data/local /tmp/temp_file-245ef307a5b32 /tmp/tmpfQ4J96/tmp_ReadFileWithPull
129 I 13.167s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /sdcard/temp_file-ffe7b76691cb7.gtest_out'
130 I 13.169s TimeoutThread-1-for-delete_temporary_file(TA99205CNO) [host]> /webr tc/src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell 'rm -f /data/user/0/org.chromium.native_test/temp_file-f07c4808dbf8f.xml'
131 I 13.170s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( pm clear org.chromium.native_test );echo %$?'
132 I 13.234s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / data/local/tmp/temp_file-245ef307a5b32'
133 I 13.239s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( TZ=utc ls -a -l /storage/emulated/legacy/ );echo %$?'
134 I 13.291s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( cat /st orage/emulated/legacy/temp_file-f0ceb1a05ea8.gtest_out );echo %$?'
135 I 13.341s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / storage/emulated/legacy/temp_file-f0ceb1a05ea8.gtest_out'
136 I 13.343s TimeoutThread-1-for-delete_temporary_file(ddfa6149) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell 'rm -f / data/data/org.chromium.native_test/temp_file-5649bb01682da.xml'
137 I 13.346s TimeoutThread-1-for-run_tests_on_device(ddfa6149) [host]> /webrtc/s rc/third_party/android_tools/sdk/platform-tools/adb -s ddfa6149 shell '( pm clea r org.chromium.native_test );echo %$?'
138 I 13.971s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) Setting permiss ions for org.chromium.native_test.
139 I 13.971s TimeoutThread-1-for-run_tests_on_device(TA99205CNO) [host]> /webrtc /src/third_party/android_tools/sdk/platform-tools/adb -s TA99205CNO shell '( pm grant org.chromium.native_test android.permission.CAMERA&&pm grant org.chromium. native_test android.permission.RECORD_AUDIO&&pm grant org.chromium.native_test a ndroid.permission.WRITE_EXTERNAL_STORAGE&&pm grant org.chromium.native_test andr oid.permission.READ_EXTERNAL_STORAGE );echo %$?'
140 I 14.078s run_tests_on_device(ddfa6149) >>ScopedMainEntryLogger
141 I 14.078s run_tests_on_device(ddfa6149) Note: Google Test filter = LowBandwid thAudioTest.Mobile2GNetwork
142 I 14.078s run_tests_on_device(ddfa6149) [==========] Running 1 test from 1 te st case.
143 I 14.078s run_tests_on_device(ddfa6149) [----------] Global test environment set-up.
144 I 14.078s run_tests_on_device(ddfa6149) [----------] 1 test from LowBandwidth AudioTest
145 I 14.078s run_tests_on_device(ddfa6149) [ RUN ] LowBandwidthAudioTest.Mo bile2GNetwork
146 I 14.078s run_tests_on_device(ddfa6149) TEST Mobile2GNetwork /sdcard/chromium _tests_root/resources/voice_engine/audio_tiny16.wav /sdcard/chromium_tests_root/ LowBandwidth_Mobile2GNetwork.wav
147 I 14.078s run_tests_on_device(ddfa6149) [ OK ] LowBandwidthAudioTest.Mo bile2GNetwork (6438 ms)
148 I 14.078s run_tests_on_device(ddfa6149) [----------] 1 test from LowBandwidth AudioTest (6438 ms total)
149 I 14.078s run_tests_on_device(ddfa6149)
150 I 14.078s run_tests_on_device(ddfa6149) [----------] Global test environment tear-down
151 I 14.079s run_tests_on_device(ddfa6149) [==========] 1 test from 1 test case ran. (6438 ms total)
152 I 14.079s run_tests_on_device(ddfa6149) [ PASSED ] 1 test.
153 I 14.079s run_tests_on_device(ddfa6149) <<ScopedMainEntryLogger
154 I 16.576s run_tests_on_device(TA99205CNO) >>ScopedMainEntryLogger
155 I 16.576s run_tests_on_device(TA99205CNO) Note: Google Test filter = LowBandw idthAudioTest.GoodNetworkHighBitrate
156 I 16.576s run_tests_on_device(TA99205CNO) [==========] Running 1 test from 1 test case.
157 I 16.576s run_tests_on_device(TA99205CNO) [----------] Global test environmen t set-up.
158 I 16.576s run_tests_on_device(TA99205CNO) [----------] 1 test from LowBandwid thAudioTest
159 I 16.576s run_tests_on_device(TA99205CNO) [ RUN ] LowBandwidthAudioTest. GoodNetworkHighBitrate
160 I 16.576s run_tests_on_device(TA99205CNO) TEST GoodNetworkHighBitrate /sdcard /chromium_tests_root/resources/voice_engine/audio_tiny16.wav /sdcard/chromium_te sts_root/LowBandwidth_GoodNetworkHighBitrate.wav
161 I 16.576s run_tests_on_device(TA99205CNO) [ OK ] LowBandwidthAudioTest. GoodNetworkHighBitrate (5968 ms)
162 I 16.576s run_tests_on_device(TA99205CNO) [----------] 1 test from LowBandwid thAudioTest (5968 ms total)
163 I 16.576s run_tests_on_device(TA99205CNO)
164 I 16.576s run_tests_on_device(TA99205CNO) [----------] Global test environmen t tear-down
165 I 16.576s run_tests_on_device(TA99205CNO) [==========] 1 test from 1 test cas e ran. (5968 ms total)
166 I 16.577s run_tests_on_device(TA99205CNO) [ PASSED ] 1 test.
167 I 16.577s run_tests_on_device(TA99205CNO) <<ScopedMainEntryLogger
168 I 16.577s run_tests_on_device(TA99205CNO) Finished running tests on this devi ce.
169 I 16.577s run_tests_on_device(ddfa6149) Finished running tests on this device .
170 I 16.604s Main FINISHED TRY #1/3
171 I 16.604s Main All tests completed.
172 C 16.604s Main ************************************************************** ******************
173 C 16.604s Main Summary
174 C 16.604s Main ************************************************************** ******************
175 C 16.605s Main [==========] 2 tests ran.
176 C 16.605s Main [ PASSED ] 2 tests.
177 C 16.605s Main ************************************************************** ******************
178 I 16.608s tear_down_device(ddfa6149) Wrote device cache: /webrtc/src/out/debu g-android/device_cache_ddea6549.json
179 I 16.608s tear_down_device(TA99205CNO) Wrote device cache: /webrtc/src/out/de bug-android/device_cache_TA99305CMO.json
180 '''
181
182
183 if __name__ == "__main__":
184 unittest.main()
OLDNEW
« no previous file with comments | « webrtc/audio/test/low_bandwidth_audio_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698