Merge lp:~psivaa/ubuntu-test-cases/skip-unity-8-for-utopic into lp:ubuntu-test-cases/touch

Proposed by Para Siva
Status: Merged
Merged at revision: 302
Proposed branch: lp:~psivaa/ubuntu-test-cases/skip-unity-8-for-utopic
Merge into: lp:ubuntu-test-cases/touch
Diff against target: 42 lines (+13/-1)
2 files modified
scripts/provision.sh (+1/-1)
scripts/run-smoke (+12/-0)
To merge this branch: bzr merge lp:~psivaa/ubuntu-test-cases/skip-unity-8-for-utopic
Reviewer Review Type Date Requested Status
Paul Larson Approve
Review via email: mp+235791@code.launchpad.net

Commit message

To temporarily skip unity8 tests for non rtm images until lp:1371454 gets fixed

Description of the change

To temporarily skip unity8 tests for non rtm images until lp:1371454 gets fixed

To post a comment you must log in.
301. By Para Siva

Add the bug number in the log

302. By Para Siva

Obtain hardware clock with sudo

Revision history for this message
Paul Larson (pwlars) wrote :

I think I'd normally prefer to do the filtering in testconfig, but this is hopefully going to be short-lived and has the advantage of throwing up a big warning about the fact this is intentionally skipped, so +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/provision.sh'
2--- scripts/provision.sh 2014-09-12 21:14:51 +0000
3+++ scripts/provision.sh 2014-09-24 11:51:23 +0000
4@@ -64,7 +64,7 @@
5 log "Current date on device is:"
6 adb shell date
7 log "Current hwclock on device is:"
8- adb shell hwclock
9+ adb shell sudo hwclock
10 }
11
12 retry() {
13
14=== modified file 'scripts/run-smoke'
15--- scripts/run-smoke 2014-08-13 18:04:54 +0000
16+++ scripts/run-smoke 2014-09-24 11:51:23 +0000
17@@ -314,6 +314,12 @@
18 os.environ['DASHBOARD_IMAGE'] = image
19 cargs = [os.path.join(script_dir, 'run-autopilot-tests.sh')]
20 for app in args.app:
21+ # XXX psivaa 20140924 Unity8 tests hang on non-rtm images
22+ # skipped temporarily
23+ if (args.image_type != 'touch_stable' and app == 'unity8'):
24+ logging.info('====== Unity8 Tests are skipped temporarily'
25+ ' non rtm Images: lp: 1371454 ======')
26+ continue
27 cargs.extend(['-a', app])
28 with statsd.time_it('APPS'):
29 _run(cargs)
30@@ -375,6 +381,12 @@
31 dashboard_api.result_queue(image, build, x)
32 if args.app:
33 for x in args.app:
34+ # XXX psivaa 20140924 Unity8 tests hang on non-rtm images
35+ # skipped temporarily
36+ if (args.image_type != 'touch_stable' and x == 'unity8'):
37+ logging.info('====== Unity8 Tests are skipped temporarily'
38+ ' non rtm Images lp: 1371454 ======')
39+ continue
40 dashboard_api.result_queue(image, build, x)
41
42 _test_utah(args, build, image)

Subscribers

People subscribed via source and target branches