Ticket #290: tm

File tm, 19.9 KB (added by faried, at 2008-01-30T10:06:06Z)

make test TEST=allmydata.test.test_mutable

Line 
1PYTHONPATH="/raid/home/fn/src/tahoe/src::/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/Nevow-0.9.18-py2.5.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/pycryptopp-0.2.10-py2.5-linux-x86_64.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/simplejson-1.7.3-py2.5-linux-x86_64.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/foolscap-0.2.3-py2.5.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/zfec-1.3.4-py2.5-linux-x86_64.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/pyutil-1.3.12-py2.5-linux-x86_64.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/argparse-0.8.0-py2.5.egg:/raid/home/fn/src/tahoe/support/lib/python2.5/site-packages/allmydata_tahoe-0.7.0_184-py2.5.egg:/raid/home/fn/src/tahoe/setuptools_darcs-1.1.7-py2.5.egg:/raid/home/fn/src/tahoe/darcsver-1.0.1-py2.5.egg" \
2         PYTHONUNBUFFERED=1 /usr/bin/python /usr/bin/trial --rterrors   allmydata.test.test_mutable
3Running 9 tests.
4allmydata.test.test_mutable
5  Filenode
6    test_create ... Traceback (most recent call last):
7  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
8    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
9  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
10    enc = AES(writekey)
11aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
12[ERROR]
13    test_create_with_initial_contents ... Traceback (most recent call last):
14  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
15    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
16  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
17    enc = AES(writekey)
18aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
19[ERROR]
20  Publish
21    test_encrypt ... Traceback (most recent call last):
22  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 180, in test_encrypt
23    p = mutable.Publish(fn)
24  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
25    self._storage_index = self._node.get_storage_index()
26  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
27    return self._storage_index
28exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
29[ERROR]
30Traceback (most recent call last):
31  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
32    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
33  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
34    enc = AES(writekey)
35aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
36[ERROR]
37    test_generate ... Traceback (most recent call last):
38  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 207, in test_generate
39    p = mutable.Publish(fn)
40  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
41    self._storage_index = self._node.get_storage_index()
42  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
43    return self._storage_index
44exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
45[ERROR]
46Traceback (most recent call last):
47  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
48    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
49  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
50    enc = AES(writekey)
51aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
52[ERROR]
53    test_publish ... Traceback (most recent call last):
54  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 384, in test_publish
55    c, fn, p = self.setup_for_publish(20)
56  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 377, in setup_for_publish
57    p = FakePublish(fn)
58  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
59    self._storage_index = self._node.get_storage_index()
60  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
61    return self._storage_index
62exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
63[ERROR]
64Traceback (most recent call last):
65  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
66    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
67  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
68    enc = AES(writekey)
69aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
70[ERROR]
71    test_sharemap_20newpeers ... Traceback (most recent call last):
72  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 297, in test_sharemap_20newpeers
73    c, p = self.setup_for_sharemap(20)
74  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
75    p = FakePublish(fn)
76  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
77    self._storage_index = self._node.get_storage_index()
78  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
79    return self._storage_index
80exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
81[ERROR]
82Traceback (most recent call last):
83  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
84    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
85  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
86    enc = AES(writekey)
87aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
88[ERROR]
89    test_sharemap_3newpeers ... Traceback (most recent call last):
90  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 319, in test_sharemap_3newpeers
91    c, p = self.setup_for_sharemap(3)
92  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
93    p = FakePublish(fn)
94  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
95    self._storage_index = self._node.get_storage_index()
96  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
97    return self._storage_index
98exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
99[ERROR]
100Traceback (most recent call last):
101  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
102    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
103  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
104    enc = AES(writekey)
105aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
106[ERROR]
107    test_sharemap_nopeers ... Traceback (most recent call last):
108  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 339, in test_sharemap_nopeers
109    c, p = self.setup_for_sharemap(0)
110  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
111    p = FakePublish(fn)
112  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
113    self._storage_index = self._node.get_storage_index()
114  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
115    return self._storage_index
116exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
117[ERROR]
118Traceback (most recent call last):
119  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
120    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
121  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
122    enc = AES(writekey)
123aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
124[ERROR]
125    test_write ... Traceback (most recent call last):
126  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 348, in test_write
127    c, p = self.setup_for_sharemap(20)
128  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
129    p = FakePublish(fn)
130  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
131    self._storage_index = self._node.get_storage_index()
132  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
133    return self._storage_index
134exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
135[ERROR]
136Traceback (most recent call last):
137  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
138    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
139  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
140    enc = AES(writekey)
141aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
142[ERROR]
143
144===============================================================================
145[ERROR]: allmydata.test.test_mutable.Filenode.test_create
146
147Traceback (most recent call last):
148  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
149    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
150  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
151    enc = AES(writekey)
152aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
153===============================================================================
154[ERROR]: allmydata.test.test_mutable.Filenode.test_create_with_initial_contents
155
156Traceback (most recent call last):
157  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
158    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
159  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
160    enc = AES(writekey)
161aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
162===============================================================================
163[ERROR]: allmydata.test.test_mutable.Publish.test_encrypt
164
165Traceback (most recent call last):
166  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 180, in test_encrypt
167    p = mutable.Publish(fn)
168  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
169    self._storage_index = self._node.get_storage_index()
170  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
171    return self._storage_index
172exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
173===============================================================================
174[ERROR]: allmydata.test.test_mutable.Publish.test_encrypt
175
176Traceback (most recent call last):
177  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
178    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
179  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
180    enc = AES(writekey)
181aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
182===============================================================================
183[ERROR]: allmydata.test.test_mutable.Publish.test_generate
184
185Traceback (most recent call last):
186  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 207, in test_generate
187    p = mutable.Publish(fn)
188  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
189    self._storage_index = self._node.get_storage_index()
190  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
191    return self._storage_index
192exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
193===============================================================================
194[ERROR]: allmydata.test.test_mutable.Publish.test_generate
195
196Traceback (most recent call last):
197  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
198    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
199  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
200    enc = AES(writekey)
201aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
202===============================================================================
203[ERROR]: allmydata.test.test_mutable.Publish.test_publish
204
205Traceback (most recent call last):
206  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 384, in test_publish
207    c, fn, p = self.setup_for_publish(20)
208  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 377, in setup_for_publish
209    p = FakePublish(fn)
210  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
211    self._storage_index = self._node.get_storage_index()
212  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
213    return self._storage_index
214exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
215===============================================================================
216[ERROR]: allmydata.test.test_mutable.Publish.test_publish
217
218Traceback (most recent call last):
219  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
220    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
221  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
222    enc = AES(writekey)
223aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
224===============================================================================
225[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_20newpeers
226
227Traceback (most recent call last):
228  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 297, in test_sharemap_20newpeers
229    c, p = self.setup_for_sharemap(20)
230  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
231    p = FakePublish(fn)
232  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
233    self._storage_index = self._node.get_storage_index()
234  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
235    return self._storage_index
236exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
237===============================================================================
238[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_20newpeers
239
240Traceback (most recent call last):
241  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
242    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
243  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
244    enc = AES(writekey)
245aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
246===============================================================================
247[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_3newpeers
248
249Traceback (most recent call last):
250  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 319, in test_sharemap_3newpeers
251    c, p = self.setup_for_sharemap(3)
252  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
253    p = FakePublish(fn)
254  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
255    self._storage_index = self._node.get_storage_index()
256  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
257    return self._storage_index
258exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
259===============================================================================
260[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_3newpeers
261
262Traceback (most recent call last):
263  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
264    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
265  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
266    enc = AES(writekey)
267aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
268===============================================================================
269[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_nopeers
270
271Traceback (most recent call last):
272  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 339, in test_sharemap_nopeers
273    c, p = self.setup_for_sharemap(0)
274  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
275    p = FakePublish(fn)
276  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
277    self._storage_index = self._node.get_storage_index()
278  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
279    return self._storage_index
280exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
281===============================================================================
282[ERROR]: allmydata.test.test_mutable.Publish.test_sharemap_nopeers
283
284Traceback (most recent call last):
285  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
286    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
287  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
288    enc = AES(writekey)
289aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
290===============================================================================
291[ERROR]: allmydata.test.test_mutable.Publish.test_write
292
293Traceback (most recent call last):
294  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 348, in test_write
295    c, p = self.setup_for_sharemap(20)
296  File "/raid/home/fn/src/tahoe/src/allmydata/test/test_mutable.py", line 271, in setup_for_sharemap
297    p = FakePublish(fn)
298  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 714, in __init__
299    self._storage_index = self._node.get_storage_index()
300  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1435, in get_storage_index
301    return self._storage_index
302exceptions.AttributeError: FakeFilenode instance has no attribute '_storage_index'
303===============================================================================
304[ERROR]: allmydata.test.test_mutable.Publish.test_write
305
306Traceback (most recent call last):
307  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1358, in _generated
308    self._encprivkey = self._encrypt_privkey(self._writekey, privkey_s)
309  File "/raid/home/fn/src/tahoe/src/allmydata/mutable.py", line 1384, in _encrypt_privkey
310    enc = AES(writekey)
311aes.Error: Precondition violation: key size is expected to be the default for AES, which is 16, but a key of size 46956877447184 was provided.
312-------------------------------------------------------------------------------
313Ran 9 tests in 0.381s
314
315FAILED (errors=16)
316make: *** [test] Error 1