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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155 | ======================================================================
ERROR: test_snap_simple_provider (test_plainbox_provider_plugin.PlainboxProviderPluginTestCase)
test_plainbox_provider_plugin.PlainboxProviderPluginTestCase.test_snap_simple_provider
----------------------------------------------------------------------
testtools.testresult.real._StringException: output: {{{
Installing build dependencies: python3-plainbox
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
plainbox-secure-policy python3-guacamole python3-padme python3-xlsxwriter
The following NEW packages will be installed:
plainbox-secure-policy python3-guacamole python3-padme python3-plainbox
python3-xlsxwriter
0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded.
Need to get 789 kB of archives.
After this operation, 8497 kB of additional disk space will be used.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 plainbox-secure-policy all 0.25-1 [8176 B]
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python3-guacamole all 0.9.2-1 [21.3 kB]
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python3-padme all 1.1.1-2 [17.2 kB]
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python3-xlsxwriter all 0.7.3-1 [142 kB]
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/main amd64 python3-plainbox all 0.25-1 [600 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 789 kB in 0s (11.8 MB/s)
Selecting previously unselected package plainbox-secure-policy.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75196 files and directories currently installed.)
Preparing to unpack .../plainbox-secure-policy_0.25-1_all.deb ...
Unpacking plainbox-secure-policy (0.25-1) ...
Selecting previously unselected package python3-guacamole.
Preparing to unpack .../python3-guacamole_0.9.2-1_all.deb ...
Unpacking python3-guacamole (0.9.2-1) ...
Selecting previously unselected package python3-padme.
Preparing to unpack .../python3-padme_1.1.1-2_all.deb ...
Unpacking python3-padme (1.1.1-2) ...
Selecting previously unselected package python3-xlsxwriter.
Preparing to unpack .../python3-xlsxwriter_0.7.3-1_all.deb ...
Unpacking python3-xlsxwriter (0.7.3-1) ...
Selecting previously unselected package python3-plainbox.
Preparing to unpack .../python3-plainbox_0.25-1_all.deb ...
Unpacking python3-plainbox (0.25-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up plainbox-secure-policy (0.25-1) ...
Setting up python3-guacamole (0.9.2-1) ...
Setting up python3-padme (1.1.1-2) ...
Setting up python3-xlsxwriter (0.7.3-1) ...
Setting up python3-plainbox (0.25-1) ...
Pulling simple-plainbox-provider
Building simple-plainbox-provider
python3 manage.py build
python3 manage.py i18n
CRITICAL plainbox.crashes: Executable 'manage.py' invoked with Namespace(command=<plainbox.provider_manager.I18NCommand object at 0x7f83bfaa8470>, debug_console=False, debug_interrupt=False, dont_build_mo=False, dont_merge_po=False, dont_update_pot=False, dry_run=False, log_level=None, pdb=False, trace=[]) has crashed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
return self.dispatch_command(ns)
File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 556, in dispatch_command
return ns.command.invoked(ns)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1234, in invoked
self._update_pot(ns.dry_run)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1255, in _update_pot
], self.po_dir, dry_run)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1290, in _cmd
return subprocess.call(cmd, cwd=cwd)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1541, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'intltool-update'
( cd po && intltool-update --gettext-package=2016_com_example_simple --pot )
Traceback (most recent call last):
File "manage.py", line 10, in <module>
gettext_domain="2016_com_example_simple",
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1488, in setup
raise SystemExit(ProviderManagerTool(definition, kwargs).main())
File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 324, in main
return self.dispatch_and_catch_exceptions(ns)
File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
return self.dispatch_command(ns)
File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 556, in dispatch_command
return ns.command.invoked(ns)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1234, in invoked
self._update_pot(ns.dry_run)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1255, in _update_pot
], self.po_dir, dry_run)
File "/usr/lib/python3/dist-packages/plainbox/provider_manager.py", line 1290, in _cmd
return subprocess.call(cmd, cwd=cwd)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1541, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'intltool-update'
Command '['/bin/sh', '/tmp/tmpu_huou8o', 'python3', 'manage.py',
'i18n']' returned non-zero exit status 1
}}}
Traceback (most recent call last):
File "/tmp/adt-run.rOfqE0/tree/integration_tests/test_plainbox_provider_plugin.py", line 28, in test_snap_simple_provider
self.run_snapcraft('snap', project_dir)
File "/tmp/adt-run.rOfqE0/tree/integration_tests/__init__.py", line 54, in run_snapcraft
stderr=subprocess.STDOUT, universal_newlines=True)
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/adt-run.rOfqE0/tree/bin/snapcraft', 'snap']' returned non-zero exit status 1
======================================================================
FAIL: test_main (test_main.MainTestCase)
test_main.MainTestCase.test_main
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/tmp/adt-run.rOfqE0/tree/integration_tests/test_main.py", line 45, in test_main
self.assertIn('\n'.join(expected_plugins), output)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 356, in assertIn
self.assertThat(haystack, Contains(needle), message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'ant\nautotools\ncatkin\ncmake\ncopy\ngo\njdk\nkbuild\nmake\nmaven\nnil\nnodejs\npython2\npython3\nqml\nscons\ntar-content' not in 'ant\nautotools\ncatkin\ncmake\ncopy\ngo\njdk\nkbuild\nmake\nmaven\nnil\nnodejs\nplainbox-provider\npython2\npython3\nqml\nscons\ntar-content\n'
----------------------------------------------------------------------
Ran 52 tests in 320.419s
FAILED (failures=1, errors=1, skipped=3)
|