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 | I: Running tests help_app
I: Starting X Server: /usr/bin/Xvfb :5 -screen 0 1024x768x24
I: Starting autopilot
Loading tests from: /home/daniel/dev/apps/help.functional-test/internals/tests/functional
Tests running...
Xlib.xauth: warning, no xauthority details available
CWD /home/daniel/dev/apps/help.functional-test
Done: Processed 0 article(s), 0 draft(s) and 81 page(s) in 0.82 seconds.
CWD /home/daniel/dev/apps/help.functional-test
Done: Processed 0 article(s), 0 draft(s) and 81 page(s) in 0.83 seconds.
======================================================================
ERROR: help_app.tests.test_web.TestWeb.test_basic_launch
----------------------------------------------------------------------
Binary content:
FailedTestScreenshot (image/png)
Empty attachments:
process-stdout (/usr/bin/ubuntu-html5-app-launcher)
/var/log/syslog: {{{
Jun 8 16:34:03 daydream org.a11y.Bus[6868]: Activating service name='org.a11y.atspi.Registry'
Jun 8 16:34:03 daydream org.a11y.Bus[6868]: Successfully activated service 'org.a11y.atspi.Registry'
Jun 8 16:34:03 daydream org.a11y.atspi.Registry[6886]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jun 8 16:34:03 daydream kernel: [26941.702808] input: autopilot-finger as /devices/virtual/input/input30
}}}
process-return-code (/usr/bin/ubuntu-html5-app-launcher): {{{1}}}
process-stderr (/usr/bin/ubuntu-html5-app-launcher): {{{
Xlib: extension "RANDR" missing on display ":5.0".
Testability driver loaded. Wire protocol version is "1.4".
WWW folder not found or not a proper directory: "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/tmp/tmpxqewah7s/www/"
}}}
test-log: {{{
16:34:04.048 WARNING utilities:263 - WARNING: in file "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 38 in setUp
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
16:34:04.049 WARNING utilities:263 - WARNING: in file "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 41 in setUp
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
16:34:15.292 INFO _launcher:373 - Attempting to launch application 'ubuntu-html5-app-launcher' with arguments '--www=/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests//tmp/tmpxqewah7s/www/' as a normal process
16:34:15.306 INFO _launcher:431 - Launching process: ['/usr/bin/ubuntu-html5-app-launcher', '-testability', '--www=/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests//tmp/tmpxqewah7s/www/']
16:34:16.482 INFO _launcher:544 - waiting for process to exit.
16:34:16.482 INFO _launcher:567 - Killing process 7013
16:34:16.483 INFO _launcher:570 - Appears process has already exited.
}}}
Traceback (most recent call last):
File "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 90, in setUp
self.app = HelpApp(self.launch_app(self.build_runner.html_path))
File "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 67, in launch_app
emulator_base=uitk.UbuntuUIToolkitCustomProxyObjectBase)
File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 279, in launch_test_application
return launcher.launch(application, arguments, **launch_args)
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 384, in launch
pid=process.pid
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 171, in get_proxy_object_for_existing_process
process
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 312, in _find_matching_connections
_raise_if_process_has_exited(process)
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 334, in _raise_if_process_has_exited
% return_code
autopilot.exceptions.ProcessSearchError: Process exited with exit code: 1
======================================================================
ERROR: help_app.tests.test_app.TestApp.test_basic_launch
----------------------------------------------------------------------
Binary content:
FailedTestScreenshot (image/png)
Empty attachments:
/var/log/syslog
process-stdout (/usr/bin/ubuntu-html5-app-launcher)
process-return-code (/usr/bin/ubuntu-html5-app-launcher): {{{1}}}
process-stderr (/usr/bin/ubuntu-html5-app-launcher): {{{
Xlib: extension "RANDR" missing on display ":5.0".
Testability driver loaded. Wire protocol version is "1.4".
WWW folder not found or not a proper directory: "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/tmp/tmpi5c6m60r/"
}}}
test-log: {{{
16:34:16.505 WARNING utilities:263 - WARNING: in file "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 38 in setUp
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
16:34:16.507 WARNING utilities:263 - WARNING: in file "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 41 in setUp
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
16:34:27.780 INFO _launcher:373 - Attempting to launch application 'ubuntu-html5-app-launcher' with arguments '--www=/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests//tmp/tmpi5c6m60r/' as a normal process
16:34:27.795 INFO _launcher:431 - Launching process: ['/usr/bin/ubuntu-html5-app-launcher', '-testability', '--www=/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests//tmp/tmpi5c6m60r/']
16:34:28.942 INFO _launcher:544 - waiting for process to exit.
16:34:28.942 INFO _launcher:567 - Killing process 7124
16:34:28.942 INFO _launcher:570 - Appears process has already exited.
}}}
Traceback (most recent call last):
File "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 78, in setUp
self.app = HelpApp(self.launch_app(self.build_runner.html_path))
File "/home/daniel/dev/apps/help.functional-test/internals/tests/functional/help_app/tests/__init__.py", line 67, in launch_app
emulator_base=uitk.UbuntuUIToolkitCustomProxyObjectBase)
File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 279, in launch_test_application
return launcher.launch(application, arguments, **launch_args)
File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 384, in launch
pid=process.pid
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 171, in get_proxy_object_for_existing_process
process
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 312, in _find_matching_connections
_raise_if_process_has_exited(process)
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 334, in _raise_if_process_has_exited
% return_code
autopilot.exceptions.ProcessSearchError: Process exited with exit code: 1
Ran 2 tests in 25.265s
FAILED (failures=2)
I: autopilot tests done
|