Merge lp:~mterry/unity8/hide-greeter-on-focus-request into lp:unity8

Proposed by Michael Terry
Status: Merged
Approved by: Michał Sawicz
Approved revision: 652
Merged at revision: 836
Proposed branch: lp:~mterry/unity8/hide-greeter-on-focus-request
Merge into: lp:unity8
Prerequisite: lp:~elopio/unity8/use_fake_instead_of_messaging
Diff against target: 151 lines (+65/-13)
5 files modified
qml/Shell.qml (+5/-12)
tests/autopilot/unity8/application_lifecycle/tests/__init__.py (+4/-1)
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py (+29/-0)
tests/autopilot/unity8/process_helpers.py (+16/-0)
tests/qmltests/tst_Shell.qml (+11/-0)
To merge this branch: bzr merge lp:~mterry/unity8/hide-greeter-on-focus-request
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Michael Zanetti Pending
Albert Astals Cid Pending
Review via email: mp+215749@code.launchpad.net

This proposal supersedes a proposal from 2014-01-15.

Commit message

When an application requests focus, handle it in Shell.qml by hiding the greeter and stopping any edge demo.

Description of the change

When an application requests focus, handle it in Shell.qml by hiding the greeter and stopping any edge demo.

This was previously being done in Stage.qml, which wasn't responsive when the greeter was up.

 * Are there any related MPs required for this MP to build/function as expected? Please list.
- Yes:
  https://code.launchpad.net/~mterry/autopilot/allow-focus/+merge/215735
  https://code.launchpad.net/~mterry/powerd/consistent-state/+merge/215761

 * Did you perform an exploratory manual test run of your code change and any related functionality?
- Yes. I tested this manually, launching apps in the adb terminal.

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
- N/A

 * If you changed the UI, has there been a design review?
- N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:639
http://jenkins.qa.ubuntu.com/job/unity8-ci/2076/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2374
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2247
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/930
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/598
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/600
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/600/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/598
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2084
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2376
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2376/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2247
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2247/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4701
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3128

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2076/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote : Posted in a previous version of this proposal

This should probably have an autopilot test

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

PASSED: Continuous integration, rev:639
http://jenkins.qa.ubuntu.com/job/unity8-ci/2088/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2396
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2267
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/945
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/610
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/612
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/612/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/610
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2103
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2398
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2398/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2267
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2267/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4718
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3147

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2088/rebuild

review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:640
http://jenkins.qa.ubuntu.com/job/unity8-ci/2089/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2400
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2270/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/946
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/611
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/613
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/613/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/611
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2105
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2402
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2402/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2270
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2270/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4719/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3149

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2089/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

OK, there are two main 'focus an app' situations: opening the app for the first time and focusing the app that used to be open under the greeter. This bug was actually about situation 2.

I've added an autopilot test for situation 1, since that was lacking too. But situation 2 is hard for autopilot. We have to trigger a power button press to lock the greeter. I'm consulting with pitti about how to do it.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

PASSED: Continuous integration, rev:641
http://jenkins.qa.ubuntu.com/job/unity8-ci/2093/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2406
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2276
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/950
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/615
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/617
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/617/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/615
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2109
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2408
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2408/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2276
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2276/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4723
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3155

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2093/rebuild

review: Approve (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

OK mzanetti, this now has the requested autopilot tests.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:642
http://jenkins.qa.ubuntu.com/job/unity8-ci/2110/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2528
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2345/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/979
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/632
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/634
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/634/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/632
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2206
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2530
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2530/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2345
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2345/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4788/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3261

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2110/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:642
http://jenkins.qa.ubuntu.com/job/unity8-ci/2113/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2560
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2363/console
    FAILURE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/986/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/635
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/637
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/637/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/635
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2236
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2562
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2562/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2364
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2364/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4807/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3297

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2113/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote : Posted in a previous version of this proposal

Touch tests failed due to an issue with phablet-tools on the adb host. It has been resolved and this build has been restarted.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:642
http://jenkins.qa.ubuntu.com/job/unity8-ci/2115/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2567
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2369/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/988
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/637
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/639
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/639/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/637
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2243
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2569
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2569/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2370
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2370/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4813/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3303

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2115/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

The new autopilot test unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_greeter_hides_on_app_focus is failing in jenkins. But it is working on my device. :(

Is there a trick to get a more jenkins-like environment?

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:642
http://jenkins.qa.ubuntu.com/job/unity8-ci/2125/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2610
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2401/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/998
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/647
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/649
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/649/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/647
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2279
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2612
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2612/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2402
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2402/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4841/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3348

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2125/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

I did try those steps. Still can't reproduce.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:643
http://jenkins.qa.ubuntu.com/job/unity8-ci/2148/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2680
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2459/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1021
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/670
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/672
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/672/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/670
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2346
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2682
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2682/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2460
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2460/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4900/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3421

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2148/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:644
http://jenkins.qa.ubuntu.com/job/unity8-ci/2151/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2690
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2463
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1024
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/673
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/675
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/675/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/673
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2356
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2692
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2692/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2464
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2464/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4904
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3426

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2151/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:644
http://jenkins.qa.ubuntu.com/job/unity8-ci/2200/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/2813
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2566/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1073
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/722
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/724
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/724/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/722
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2464
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2815
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/2815/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2567
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2567/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/4995/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3532

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2200/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:644
http://jenkins.qa.ubuntu.com/job/unity8-ci/2288/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3078
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/2789/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1159
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/810
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/812
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/812/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/810
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2704
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3080
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3080/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2790
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/2790/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5203/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/3806

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2288/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

Doesn't merge cleanly anymore

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:645
http://jenkins.qa.ubuntu.com/job/unity8-ci/2410/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3544
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3158/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1280
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/931
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/935
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/935/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/931
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3119
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3548
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3548/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3160
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3160/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5545/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4321

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2410/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:645
http://jenkins.qa.ubuntu.com/job/unity8-ci/2412/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3561
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3170/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1282
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/933
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/937
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/937/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/933
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3134
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3565
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3565/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3172
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3172/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5556/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4343

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2412/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:646
http://jenkins.qa.ubuntu.com/job/unity8-ci/2413/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3564
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3174/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1283
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/934
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/938
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/938/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/934
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3137
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3568
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3568/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3176
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3176/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5560/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4347

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2413/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote : Posted in a previous version of this proposal

Hey, what's the status of this?

review: Needs Information
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

There seems to be a crash during AP tests... I wouldn't think this branch would introduce a crash. Is there a known crash problem in trunk?

Revision history for this message
Michał Sawicz (saviq) wrote : Posted in a previous version of this proposal

Yeah, qt crashes - is fixed in 5.2.

Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

Unfortunately doesn't merge cleanly again against trunk ^_^

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:647
http://jenkins.qa.ubuntu.com/job/unity8-ci/2519/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3981
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3566/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1389
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1040
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1044
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1044/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1040
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3475
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4016
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4016/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3568
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3568/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5900/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4857

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2519/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:647
http://jenkins.qa.ubuntu.com/job/unity8-ci/2580/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4114
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3698/console
    FAILURE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1450/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1101
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1105
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1105/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1101
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3589
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4175
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4175/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3700
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3700/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/6016/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5043

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2580/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:647
http://jenkins.qa.ubuntu.com/job/unity8-ci/2596/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4151
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3735/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1466
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1117
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1121
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1121/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1117
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3615
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4215
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4215/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3737
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3737/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/6043/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5087

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2596/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

Doesn't merge cleanly with trunk again :-/

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:648
http://jenkins.qa.ubuntu.com/job/unity8-ci/2632/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4251
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3835/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1502
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1153
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1157
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1157/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1153
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3686
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4327
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4327/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3837
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3837/artifact/work/output/*zip*/output.zip
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/6123/console
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5203

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2632/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

So i installed everything http://s-jenkins.ubuntu-ci:8080//view/mediumtests/job/generic-mediumtests-builder-trusty-armhf/3837/artifact/*zip*/archive.zip in my phone and after stopping unity8 and running

autopilot run unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_greeter_hides_on_app_focus

i get

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unity8/shell/__init__.py", line 48, in wrapper
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/unity8/application_lifecycle/tests/test_application_lifecycle.py", line 189, in test_greeter_hides_on_app_focus
    self.assertThat(greeter.created, Eventually(Equals(True)))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: After 10.0 seconds test on Greeter.created failed: True != dbus.Boolean(False, variant_level=1)

Mike, can you reproduce this? Does it work for you?

review: Needs Fixing
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

Text conflict in qml/Shell.qml

review: Needs Fixing
Revision history for this message
Michael Terry (mterry) wrote : Posted in a previous version of this proposal

Albert, I've merged from trunk and hopefully made the test more robust. Try now.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:649
http://jenkins.qa.ubuntu.com/job/unity8-ci/2759/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/105
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4628
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1629
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1280
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1284
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1284/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1280
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/102
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4220
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4220/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5762
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3985
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4752
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4752/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2759/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:650
http://jenkins.qa.ubuntu.com/job/unity8-ci/2764/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/116
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4650
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1634
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1285
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1289
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1289/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1285
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/113
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4237
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4237/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5791
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4007
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4774
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4774/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2764/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:649
http://jenkins.qa.ubuntu.com/job/unity8-ci/2768/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/120
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4654
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1638
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1289
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1293
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1293/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1289
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/118
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4241
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4241/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/5797
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4011
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4780
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4780/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2768/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

I think we have a problem here and is that autopilot tests are run with powerd-cli forcing the display on and thus your lock_unity does not work on CI

Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

Confirmed with Saviq that this happens so we need to find a solution here.

review: Needs Fixing
Revision history for this message
Michał Sawicz (saviq) wrote : Posted in a previous version of this proposal

Also, please do not rely on real apps, use the fixtures from UITK, see lp:~elopio/unity8/use_fake_instead_of_messaging/ for an example.

review: Needs Fixing
Revision history for this message
Albert Astals Cid (aacid) wrote : Posted in a previous version of this proposal

And there is a .THIS file that needs to go away

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:651
http://jenkins.qa.ubuntu.com/job/unity8-ci/2817/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/235
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4827
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1681
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1338
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1342
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1342/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1338
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/222
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4404
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4404/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/6007
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4172
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4959
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4959/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2817/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

lock_unity won't work during test runs, as powerd is locked with screen on during those... Either powerd would need to be fixed to change the power state on explicit power key press (screen does go off already), or think of something to make unity8 lock regardless of powerd's requests...

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:652
http://jenkins.qa.ubuntu.com/job/unity8-ci/2819/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/239
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4833
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1683
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1340
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1344
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1344/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1340
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/226
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4410
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4410/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/6012
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4177
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4968
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4968/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2819/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:652
http://jenkins.qa.ubuntu.com/job/unity8-ci/2820/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-trusty-touch/240
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/4834
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1684
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/1341
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1345
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/1345/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/1341
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/227
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4411
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/4411/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/6013
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/4178
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4969
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/4969/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2820/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Terry (mterry) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Yes.

 * Did CI run pass? If not, please explain why.
Otto broken, two failing tests on mako require the powerd changes.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Shell.qml'
2--- qml/Shell.qml 2014-04-01 18:35:33 +0000
3+++ qml/Shell.qml 2014-04-14 19:50:06 +0000
4@@ -240,6 +240,8 @@
5 function show(focusApp) {
6 shown = true;
7 panel.indicators.hide();
8+ edgeDemo.stopDemo();
9+ greeter.hide();
10 if (!ApplicationManager.focusedApplicationId && ApplicationManager.count > 0 && focusApp) {
11 ApplicationManager.focusApplication(ApplicationManager.get(0).appId);
12 }
13@@ -267,12 +269,6 @@
14 stages.hide();
15 }
16 }
17-
18- // If any app is focused when greeter is open, it's due to a user action
19- // like a snap decision (say, an incoming call).
20- // TODO: these should be protected to only unlock for certain applications / certain usecases
21- // potentially only in connection with a notification.
22- greeter.hide()
23 }
24
25 onApplicationAdded: {
26@@ -559,12 +555,9 @@
27 }
28 }
29 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
30- onLauncherApplicationSelected:{
31- if (edgeDemo.running)
32- return;
33-
34- greeter.hide()
35- shell.activateApplication(appId)
36+ onLauncherApplicationSelected: {
37+ if (!edgeDemo.running)
38+ shell.activateApplication(appId)
39 }
40 onShownChanged: {
41 if (shown) {
42
43=== modified file 'tests/autopilot/unity8/application_lifecycle/tests/__init__.py'
44--- tests/autopilot/unity8/application_lifecycle/tests/__init__.py 2014-04-14 19:50:06 +0000
45+++ tests/autopilot/unity8/application_lifecycle/tests/__init__.py 2014-04-14 19:50:06 +0000
46@@ -35,7 +35,10 @@
47 process_helpers.unlock_unity(unity_proxy)
48
49 def create_test_application(self):
50- fake_application = fixture_setup.FakeApplication()
51+ desktop_file_dict = fixture_setup.DEFAULT_DESKTOP_FILE_DICT
52+ desktop_file_dict.update({'X-Ubuntu-Single-Instance': 'true'})
53+ fake_application = fixture_setup.FakeApplication(
54+ desktop_file_dict=desktop_file_dict)
55 self.useFixture(fake_application)
56 return (
57 fake_application.qml_file_path, fake_application.desktop_file_path)
58
59=== modified file 'tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py'
60--- tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py 2014-04-14 19:50:06 +0000
61+++ tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py 2014-04-14 19:50:06 +0000
62@@ -24,8 +24,11 @@
63 import logging
64 import os
65
66+from autopilot.matchers import Eventually
67 from autopilot.platform import model
68+from testtools.matchers import Equals
69
70+from unity8 import process_helpers
71 from unity8.application_lifecycle import tests
72
73
74@@ -86,3 +89,29 @@
75 self.swipe_screen_from_right()
76
77 self.assert_current_focused_application(application1_name)
78+
79+ def test_greeter_hides_on_app_open(self):
80+ """Greeter should hide when an app is opened"""
81+ process_helpers.lock_unity()
82+ greeter = self.main_window.get_greeter()
83+ self.assertThat(greeter.created, Eventually(Equals(True)))
84+
85+ application_name = self.launch_fake_app()
86+ self.assertThat(greeter.created, Eventually(Equals(False)))
87+ self.assert_current_focused_application(application_name)
88+
89+ def test_greeter_hides_on_app_focus(self):
90+ """Greeter should hide when an app is re-focused"""
91+ application_name = self.launch_fake_app()
92+ self.assert_current_focused_application(application_name)
93+
94+ self.main_window.show_dash_swiping()
95+ self.assert_current_focused_application('')
96+
97+ process_helpers.lock_unity()
98+ greeter = self.main_window.get_greeter()
99+ self.assertThat(greeter.created, Eventually(Equals(True)))
100+
101+ self.launch_upstart_application(application_name)
102+ self.assertThat(greeter.created, Eventually(Equals(False)))
103+ self.assert_current_focused_application(application_name)
104
105=== modified file 'tests/autopilot/unity8/process_helpers.py'
106--- tests/autopilot/unity8/process_helpers.py 2014-02-23 01:46:02 +0000
107+++ tests/autopilot/unity8/process_helpers.py 2014-04-14 19:50:06 +0000
108@@ -89,6 +89,22 @@
109 break
110
111
112+def lock_unity(unity_proxy_obj=None):
113+ """Helper function that attempts to lock the unity greeter."""
114+ import evdev, time
115+ uinput = evdev.UInput(name='unity8-autopilot-power-button',
116+ devnode='/dev/autopilot-uinput')
117+ # One press and release to turn screen off (locking unity)
118+ uinput.write(evdev.ecodes.EV_KEY, evdev.ecodes.KEY_POWER, 1)
119+ uinput.write(evdev.ecodes.EV_KEY, evdev.ecodes.KEY_POWER, 0)
120+ uinput.syn()
121+ time.sleep(1)
122+ # And another press and release to turn screen back on
123+ uinput.write(evdev.ecodes.EV_KEY, evdev.ecodes.KEY_POWER, 1)
124+ uinput.write(evdev.ecodes.EV_KEY, evdev.ecodes.KEY_POWER, 0)
125+ uinput.syn()
126+
127+
128 def restart_unity_with_testability(*args):
129 """Restarts (or starts) unity with testability enabled.
130
131
132=== modified file 'tests/qmltests/tst_Shell.qml'
133--- tests/qmltests/tst_Shell.qml 2014-04-02 15:59:40 +0000
134+++ tests/qmltests/tst_Shell.qml 2014-04-14 19:50:06 +0000
135@@ -554,5 +554,16 @@
136
137 tryCompare(searchIndicator, "opacity", 0);
138 }
139+
140+ function test_focusRequestedHidesGreeter() {
141+ var greeter = findChild(shell, "greeter")
142+
143+ greeter.show()
144+ tryCompare(greeter, "showProgress", 1)
145+
146+ ApplicationManager.focusRequested("notes-app")
147+ tryCompare(greeter, "showProgress", 0)
148+ waitUntilApplicationWindowIsFullyVisible()
149+ }
150 }
151 }

Subscribers

People subscribed via source and target branches