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 | adt-run [12:48:49]: test autopilot: PYTHONPATH=tests/autopilot:$PYTHONPATH python3 -m autopilot.run run -v -f subunit -o $ADT_ARTIFACTS/autopilot.subunit pay_ui
adt-run [12:48:49]: test autopilot: [-----------------------
12:48:48.017 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.04.20141031-0ubuntu1
12:48:48.072 INFO _logging:40 - ************************************************************
12:48:48.072 INFO _logging:41 - Starting test pay_ui.tests.test_pay_ui.PayUITestCase.test_basic_purchase
Loading tests from: /tmp/adt-run.ZG7ly5/tree/tests/autopilot
** (run.py:14522): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
12:48:48.130 WARNING testcase:538 - Failed to create Touch device for bug lp:1297595 workaround: Unable to instantiate any backends
UInput: UInputError('"/dev/uinput" cannot be opened for writing',)
12:48:48.151 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
12:48:48.577 ERROR testresult:44 - ERROR: pay_ui.tests.test_pay_ui.PayUITestCase.test_basic_purchase
12:48:48.577 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/test_pay_ui.py", line 43, in setUp
super().setUp()
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 39, in setUp
self.app = self.launch_application(build_dir, source_dir)
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 52, in launch_application
self.launch_installed_app()
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 57, in launch_installed_app
raise NotImplementedError()
NotImplementedError
}}}
12:48:48.578 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot" (image/png)
12:48:48.578 ERROR testresult:44 - /var/log/syslog: {{{
}}}
12:48:48.578 ERROR testresult:44 - ERROR: pay_ui.tests.test_pay_ui.PayUITestCase.test_basic_purchase
12:48:48.578 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/test_pay_ui.py", line 43, in setUp
super().setUp()
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 39, in setUp
self.app = self.launch_application(build_dir, source_dir)
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 52, in launch_application
self.launch_installed_app()
File "/tmp/adt-run.ZG7ly5/tree/tests/autopilot/pay_ui/tests/__init__.py", line 57, in launch_installed_app
raise NotImplementedError()
NotImplementedError
}}}
12:48:48.578 ERROR testresult:44 - Binary attachment: "FailedTestScreenshot" (image/png)
12:48:48.578 ERROR testresult:44 - /var/log/syslog: {{{
}}}
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/autopilot/run.py", line 748, in <module>
main()
File "/usr/lib/python3/dist-packages/autopilot/run.py", line 742, in main
test_app.run()
File "/usr/lib/python3/dist-packages/autopilot/run.py", line 628, in run
action()
File "/usr/lib/python3/dist-packages/autopilot/run.py", line 694, in run_tests
test_result = test_suite.run(result)
File "/usr/lib/python3.4/unittest/suite.py", line 125, in run
test(result)
File "/usr/lib/python3.4/unittest/case.py", line 625, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python3/dist-packages/testscenarios/testcase.py", line 65, in run
return super(WithScenarios, self).run(result)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 585, in run
return self.__RunTest(self, self.exception_handlers).run(result)
File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 132, in run
return super().run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/testtools/runtest.py", line 74, in run
return self._run_one(actual_result)
File "/usr/lib/python3/dist-packages/testtools/runtest.py", line 88, in _run_one
return self._run_prepared_result(ExtendedToOriginalDecorator(result))
File "/usr/lib/python3/dist-packages/testtools/runtest.py", line 107, in _run_prepared_result
handler(self.case, self.result, e)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 550, in _report_error
result.addError(self, details=self.getDetails())
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 1121, in addError
return self.decorated.addError(test, err)
File "/usr/lib/python3/dist-packages/autopilot/testresult.py", line 71, in addError
return super(type(self), self).addError(test, err, details)
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 1543, in addError
return self.decorated.addError(test, err, details=details)
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 1322, in addError
self._convert(test, err, details, 'fail')
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 1350, in _convert
test_tags=self.current_tags, timestamp=now)
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 408, in status
super(CopyStreamResult, self).status(*args, **kwargs)
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 649, in status
self.on_test(self._inprogress.pop(key))
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 742, in _gather_test
self._handle_status[test_dict['status']](case)
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 761, in _fail
message = _details_to_str(case._details, special="traceback")
File "/usr/lib/python3/dist-packages/testtools/testresult/real.py", line 1752, in _details_to_str
text = content.as_text().strip()
File "/usr/lib/python3/dist-packages/testtools/content.py", line 94, in as_text
return _u('').join(self.iter_text())
File "/usr/lib/python3/dist-packages/testtools/content.py", line 118, in _iter_text
yield decoder.decode(bytes)
File "/usr/lib/python3.4/encodings/latin_1.py", line 26, in decode
return codecs.latin_1_decode(input,self.errors)[0]
TypeError: 'NoneType' does not support the buffer interface
adt-run [12:48:51]: test autopilot: -----------------------]
adt-run [12:48:52]: test autopilot: - - - - - - - - - - results - - - - - - - - - -
autopilot FAIL non-zero exit status 1
qemu: terminating on signal 15 from pid 13550
|