Merge lp:~doanac/lava-android-test/mmtest-verbosity into lp:lava-android-test

Proposed by Andy Doan
Status: Merged
Merged at revision: 189
Proposed branch: lp:~doanac/lava-android-test/mmtest-verbosity
Merge into: lp:lava-android-test
Diff against target: 12 lines (+1/-1)
1 file modified
lava_android_test/test_definitions/mmtest.py (+1/-1)
To merge this branch: bzr merge lp:~doanac/lava-android-test/mmtest-verbosity
Reviewer Review Type Date Requested Status
Yongqin Liu Approve
Review via email: mp+115457@code.launchpad.net

Description of the change

untested way to make mmtest not be so verbose. Could someone take a quick run and let me know?

To post a comment you must log in.
Revision history for this message
Yongqin Liu (liuyq0307) wrote :
Download full text (19.7 KiB)

Here is part of the output. I think it works.

(workspace)14:55:48 liuyq:mmtest-verbosity$ lava-android-test run mmtest -s 192.168.1.108:5555 -o /tmp/mmtest.json
LAVA: --Start Operation: Run test (mmtest) on device(192.168.1.108:5555)
LAVA: Begin to execute command: wget --progress=dot -e dotbytes=1M -r -np -l 10 -R csv,txt,css,html,gif,pdf http://samplemedia.linaro.org/ -P samplemedia.linaro.org
LAVA: (stdout) --2012-07-26 14:56:19-- http://samplemedia.linaro.org/
LAVA: (stdout) Resolving samplemedia.linaro.org (samplemedia.linaro.org)... 91.189.95.16
LAVA: (stdout) Connecting to samplemedia.linaro.org (samplemedia.linaro.org)|91.189.95.16|:80... connected.
LAVA: (stdout) HTTP request sent, awaiting response... 200 OK
LAVA: (stdout) Length: unspecified [text/html]
LAVA: (stdout) Saving to: `samplemedia.linaro.org/samplemedia.linaro.org/index.html'
LAVA: (stdout)
LAVA: (stdout) 0K 1.80M=0.002s
LAVA: (stdout)
LAVA: (stdout) 2012-07-26 14:56:22 (1.80 MB/s) - `samplemedia.linaro.org/samplemedia.linaro.org/index.html' saved [3519]
LAVA: (stdout)
LAVA: (stdout) Loading robots.txt; please ignore errors.
LAVA: (stdout) --2012-07-26 14:56:22-- http://samplemedia.linaro.org/robots.txt
LAVA: (stdout) Reusing existing connection to samplemedia.linaro.org:80.
LAVA: (stdout) HTTP request sent, awaiting response... 404 Not Found
LAVA: (stdout) 2012-07-26 14:56:23 ERROR 404: Not Found.
LAVA: (stdout)
LAVA: (stdout) Removing samplemedia.linaro.org/samplemedia.linaro.org/index.html since it should be rejected.
LAVA: (stdout)
LAVA: (stdout) --2012-07-26 14:56:23-- http://samplemedia.linaro.org/?C=N;O=D
LAVA: (stdout) Reusing existing connection to samplemedia.linaro.org:80.
LAVA: (stdout) HTTP request sent, awaiting response... 200 OK
LAVA: (stdout) Length: unspecified [text/html]
LAVA: (stdout) Saving to: `samplemedia.linaro.org/samplemedia.linaro.org/index.html?C=N;O=D'
LAVA: (stdout)
LAVA: (stdout) 0K 1.28M=0.003s
LAVA: (stdout)
LAVA: (stdout) 2012-07-26 14:56:24 (1.28 MB/s) - `samplemedia.linaro.org/samplemedia.linaro.org/index.html?C=N;O=D' saved [3519]
LAVA: (stdout)
LAVA: (stdout) --2012-07-26 14:56:24-- http://samplemedia.linaro.org/?C=M;O=A
LAVA: (stdout) Reusing existing connection to samplemedia.linaro.org:80.
LAVA: (stdout) HTTP request sent, awaiting response... 200 OK
LAVA: (stdout) Length: unspecified [text/html]
LAVA: (stdout) Saving to: `samplemedia.linaro.org/samplemedia.linaro.org/index.html?C=M;O=A'
LAVA: (stdout)
LAVA: (stdout) 0K 1.12M=0.003s
LAVA: (stdout)
LAVA: (stdout) 2012-07-26 14:56:24 (1.12 MB/s) - `samplemedia.linaro.org/samplemedia.linaro.org/index.html?C=M;O=A' saved [3519]
LAVA: (stdout)
LAVA: (stdout) --2012-07-26 14:56:24-- http://samplemedia.linaro.org/?C=S;O=A
LAVA: (stdout) Reusing existing connection to samplemedia.linaro.org:80.
LAVA: (stdout) HTTP request sent, awaiting response... 200 OK
LAVA: (stdout) Length: unspecified [text/html]
LAVA: (stdout) Saving to: `samplemedia.linaro.org/samplemedia.linaro.org/index.html?C=S;O=A'
...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lava_android_test/test_definitions/mmtest.py'
2--- lava_android_test/test_definitions/mmtest.py 2012-06-28 09:52:29 +0000
3+++ lava_android_test/test_definitions/mmtest.py 2012-07-17 23:11:33 +0000
4@@ -38,7 +38,7 @@
5 site = 'http://samplemedia.linaro.org/'
6 local_name = get_local_name(site)
7 RUN_STEPS_HOST_PRE = [
8- 'wget -r -np -l 10 -R csv,txt,css,html,gif,pdf %s -P %s' % (site,
9+ 'wget --progress=dot -e dotbytes=1M -r -np -l 10 -R csv,txt,css,html,gif,pdf %s -P %s' % (site,
10 local_name),
11 r'find %s -type f -name "index*" -exec rm -f \{\} \;' % local_name,
12 r'find %s -type f -name "README" -exec rm -f \{\} \;' % local_name]

Subscribers

People subscribed via source and target branches