1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114 | C_ALL=C PYTHONPATH=tests/autopilot autopilot3 run -vv unity8.shell.tests.test_rotation.RotationBase.test_rotation
15:20:37.113 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.04.20141031-0ubuntu1
15:20:37.403 WARNING emulators:26 - The ubuntuuitoolkit.emulators module is deprecated. Import the autopilot helpers from the top-level ubuntuuitoolkit module.
15:20:37.448 INFO _logging:40 - ************************************************************
15:20:37.449 INFO _logging:41 - Starting test unity8.shell.tests.test_rotation.RotationBase.test_rotation (Native Device)
15:20:37.452 ERROR content:47 - Could not add content object 'None' due to IO Error: [Errno 2] No such file or directory: '/var/log/syslog'
15:20:37.516 DEBUG utilities:44 - Possible backends: UInput
15:20:37.517 DEBUG utilities:44 - Possible backends: X11,UPA
Loading tests from: /home/phablet/src/unity8-shellRotation/tests/autopilot
Tests running...
15:20:37.520 WARNING utilities:57 - Can't create backend X11: ValueError('Namespace Gdk not available',)
15:20:37.652 DEBUG utilities:44 - Possible backends: BAMF
15:20:37.675 WARNING utilities:57 - Can't create backend BAMF: ImportError("No module named 'Xlib'",)
15:20:37.678 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
15:20:37.901 WARNING utilities:263 - WARNING: in file "/home/phablet/src/unity8-shellRotation/tests/autopilot/unity8/shell/tests/__init__.py", line 163 in setUp
This function is deprecated. Please use 'the Touch class to instantiate a device object' instead.
15:20:37.902 DEBUG utilities:44 - Possible backends: X11,UPA
15:20:37.903 WARNING utilities:57 - Can't create backend X11: ValueError('Namespace Gdk not available',)
15:20:38.020 DEBUG utilities:44 - Possible backends: UInput
15:20:38.068 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('sensors',). Keyword arguments: {'global_': False}.
15:20:38.128 INFO process_helpers:152 - Starting job unity8 with arguments ('QT_LOAD_TESTABILITY=1',).
15:20:39.599 INFO process_helpers:160 - unity8 start/running, process 16779
15:20:47.623 WARNING _object_registry:194 - Generating introspection instance for type 'b'unity8'' based on generic class.
15:20:47.630 DEBUG utilities:44 - Possible backends: UInput
15:20:51.022 WARNING _object_registry:194 - Generating introspection instance for type 'b'unity8'' based on generic class.
15:20:51.037 DEBUG utilities:44 - Possible backends: UInput
15:20:51.465 DEBUG utilities:162 - 'GetState Query(b'/unity8//QQuickView')' took 0.424S
15:20:51.474 DEBUG utilities:44 - Possible backends: UInput
15:20:51.795 DEBUG utilities:162 - 'GetState Query(b'/unity8//QQuickView')' took 0.283S
15:20:51.821 DEBUG utilities:44 - Possible backends: UInput
15:20:52.253 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Greeter')' took 0.427S
15:20:52.264 DEBUG utilities:44 - Possible backends: UInput
15:20:52.554 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell/QQuickItem/Greeter[id=3]')' took 0.289S
15:20:53.120 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell/QQuickItem/Greeter[id=3]')' took 0.337S
15:20:53.472 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell/QQuickItem/Greeter[id=3]')' took 0.341S
15:20:54.715 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell/QQuickItem/Greeter[id=3]')' took 0.240S
15:20:54.750 INFO process_helpers:95 - Greeter unlocked, continuing.
15:20:54.767 WARNING base:52 - This function is deprecated. Use get_toolkit_launcher_command() instead.
15:20:54.984 INFO _launcher:120 - Attempting to launch application 'tmppwp7s11w' with URIs '' via upstart-app-launch
15:20:57.707 WARNING _object_registry:194 - Generating introspection instance for type 'b'QtQmlViewer'' based on generic class.
15:20:57.805 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.092S
15:20:57.808 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:57.820 DEBUG utilities:44 - Possible backends: UInput
15:20:57.870 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.048S
15:20:58.048 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.168S
15:20:58.050 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:58.059 DEBUG utilities:44 - Possible backends: UInput
15:20:58.220 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.159S
15:20:58.396 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.137S
15:20:58.398 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:58.408 DEBUG utilities:44 - Possible backends: UInput
15:20:58.555 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.146S
15:20:58.851 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.262S
15:20:58.853 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:58.864 DEBUG utilities:44 - Possible backends: UInput
15:20:59.015 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.150S
15:20:59.466 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.423S
15:20:59.468 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:59.478 DEBUG utilities:44 - Possible backends: UInput
15:20:59.643 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.163S
15:20:59.955 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.285S
15:20:59.957 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:20:59.968 DEBUG utilities:44 - Possible backends: UInput
15:21:00.104 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.135S
15:21:00.327 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.209S
15:21:00.329 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:21:00.341 DEBUG utilities:44 - Possible backends: UInput
15:21:00.360 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.017S
15:21:00.417 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.048S
15:21:00.419 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:21:00.430 DEBUG utilities:44 - Possible backends: UInput
15:21:00.446 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.014S
15:21:00.522 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.049S
15:21:00.524 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:21:00.533 DEBUG utilities:44 - Possible backends: UInput
15:21:00.552 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.017S
15:21:00.617 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView[id=2]//Shell')' took 0.055S
15:21:00.619 WARNING _object_registry:194 - Generating introspection instance for type 'b'Shell'' based on generic class.
15:21:00.630 DEBUG utilities:44 - Possible backends: UInput
15:21:00.648 DEBUG utilities:162 - 'GetState Query(b'/unity8/QQuickView/Shell[id=10]')' took 0.017S
15:21:01.060 INFO process_helpers:208 - Stoping job unity8.
15:21:03.528 INFO process_helpers:216 - unity8 stop/waiting
15:21:03.530 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('sensors',). Keyword arguments: {'global_': False}.
15:21:03.616 INFO testresult:44 - OK: unity8.shell.tests.test_rotation.RotationBase.test_rotation(Native Device)
_get_unity_prox_object(...): <autopilot.introspection._object_registry.unity8 object at 0xb4ba5a30>
default...
orientation: 0
rotation: 0.0
after top-up...
orientation: 2
rotation: 0.0
after right-up...
orientation: 1
rotation: 0.0
after top-down...
orientation: 8
rotation: 0.0
after left-up...
orientation: 8
rotation: 0.0
Ran 1 test in 26.197s
OK
|