summaryrefslogtreecommitdiff
path: root/bugs/done/FTBFS:___34__FAIL:_root-is-symlink:_got_exit_code_1__44___expected_0__34__.mdwn
blob: 08ce0f72a8a950c5c62abfdcd9a8f5fd1b7dad38 (plain)
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
(I can't figure out how to simply mark a block of text as
code or monospaced, other than indenting every line manually.
The FormattingHelp page isn't all that helpful.)

> I've reformatted. Indenting by four spaces is the markdown way,
> or you can use the pre element in HTML (markdown and Branchable
> allow a subset of HTML to be used, including pre). --liw

When I try to build Obnam 1.0 I get this error.  I noticed that the
same build error occurs in Chris's PPA, and so Obnam isn't available
on Precise or Quantal.

----

<pre>
rm -rf build
cp -a test-gpghome temp.gpghome
env GNUPGHOME=temp.gpghome python setup.py check --fast
running check
run unit tests
Running test 167/387: test_missing_filter_gives_tag (hooks_tests.FilterHWARNING:root:Missing tag: 'missing'
Running test 168/387: test_missing_filter_raises (hooks_tests.FilterHookWARNING:root:Missing tag: 'missing'
Running test 387/387: test_removes_chunk (chunklist_tests.ChunkListTests

OK
121 excluded statements
22 excluded modules
Time: 5.1 s
run black box tests
FAIL: root-is-symlink: got exit code 1, expected 0          
41/42 tests OK, 1 failures
ERROR: Command '['cmdtest', 'tests']' returned non-zero exit status 1
</pre>

----

I don't know why root-is-symlink.script is failing.  There is output,
and I guess there is not supposed to be?

(Is there really no way to use preformatted text in Markdown other
than indenting every line?  This seems like a step backwards.
What's wrong with `[pre][/pre]` ?)

<pre>
$ cat root-is-symlink.stdout-actual 
--- /tmp/tmp16rwh9/data/data.summain    2012-06-09 16:39:12.000000000 -0500
+++ /tmp/tmp16rwh9/data/restored.summain        2012-06-09 16:39:12.000000000 -0500
@@ -11,127 +11,3 @@
 Group: me
 Target: data.real
 
-Name: 0
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 40775
-Ino: 2
-Dev: 1
-Nlink: 3
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-
-Name: 0/0
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 40775
-Ino: 3
-Dev: 1
-Nlink: 3
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-
-Name: 0/0/0
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 40775
-Ino: 4
-Dev: 1
-Nlink: 2
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-
-Name: 0/0/0/0
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 5
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: 7b2f423343cc5a4b5afbd8792b84aeee3b1eef68
-
-Name: 0/0/0/1
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 6
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: 99b6a6eac04a1dee31e07245c60bf6ff60c5dbb7
-
-Name: 0/0/0/2
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 7
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: ca26a73aaf98ba4634794952c29bc02bed536529
-
-Name: 0/0/0/3
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 8
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: d60b38536692c387932ffca6b59a235fa7744c22
-
-Name: 0/0/0/4
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 9
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: e5213924a2ce010a667605951a2abee56f2373da
-
-Name: 0/0/0/5
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 10
-Dev: 1
-Nlink: 1
-Size: 16384
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: f1837f15230109d673bf741afc0bb8e8cd343538
-
-Name: 0/0/0/6
-Mtime: 2012-06-09 21:39:11.000000 +0000
-Mode: 100664
-Ino: 11
-Dev: 1
-Nlink: 1
-Size: 1696
-Uid: 1000
-Username: me
-Gid: 1000
-Group: me
-SHA1: 578a819d61ad07e996900a236cbc33b70d47cd75
</pre>


---

The PPA now has 1.0 for Ubuntu, so I assume the problem is fixed.
I seem to recall it was a problem of a too-old dependency. Are you
still having this problem? --liw

---

Thanks for reformatting my stuff.

I still see the build failure in the PPA for Precise and Quantal:

https://launchpad.net/~chris-bigballofwax/+archive/obnam-ppa/+packages

It hasn't been attempted for 10 days, but I don't see any upgradable Python packages on my system, so I'm not sure it would help.

On the other hand, I just ran debian/rules on 1.0 again, and now the output is different.  Maybe I was doing it wrong before?  It seems to complete, but it also says "FAILED" and that it exited non-zero.  I am confused.  :)

<pre>
debian/rules
python setup.py build_ext -i
running build_ext
building 'obnamlib._obnam' extension
creating build
creating build/temp.linux-i686-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c _obnammodule.c -o build/temp.linux-i686-2.7/_obnammodule.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/_obnammodule.o -o /home/me/Projects/Python/obnam/trunk/obnamlib/_obnam.so
rm -rf build
cp -a test-gpghome temp.gpghome
env GNUPGHOME=temp.gpghome python setup.py check --fast
running check
run unit tests
Running test 167/774: test_missing_filter_gives_tag (hooks_tests.FilterHWARNING:root:Missing tag: 'missing'
Running test 168/774: test_missing_filter_raises (hooks_tests.FilterHookWARNING:root:Missing tag: 'missing'
Running test 554/774: test_missing_filter_gives_tag (hooks_tests.FilterHWARNING:root:Missing tag: 'missing'
Running test 555/774: test_missing_filter_raises (hooks_tests.FilterHookWARNING:root:Missing tag: 'missing'
Running test 774/774: test_removes_chunk (chunklist_tests.ChunkListTests

FAILED

Statements missed by per-module tests:
  Module                                     Missed statements
  obnam-1.0/obnamlib/checksumtree.py         34-39, 42, 45, 48-53, 56-63, 66-71, 75-81
  obnam-1.0/obnamlib/checksumtree.py         34-39, 42, 45, 48-53, 56-63, 66-71, 75-81
  obnam-1.0/obnamlib/chunklist.py            37-42, 45, 48-51, 54-57, 60-63
  obnam-1.0/obnamlib/chunklist.py            37-42, 45, 48-51, 54-57, 60-63
  obnam-1.0/obnamlib/clientlist.py           49-59, 62, 65, 68-69, 72, 75, 78-84, 87-93, 96-99, 102-114, 117-122, 125-132, 135-142
  obnam-1.0/obnamlib/clientlist.py           49-59, 62, 65, 68-69, 72, 75, 78-84, 87-93, 96-99, 102-114, 117-122, 125-132, 135-142
  obnam-1.0/obnamlib/clientmetadatatree.py   73-82, 85-86, 90-95, 99, 124-131, 135, 139-140, 144, 148, 152, 157-158, 163-180, 185-204, 207, 210, 213-224, 227-228, 231-232, 236-250, 253-261, 264-271, 274-277, 280-285, 288-292, 295, 298-299, 304-307, 310-311, 315, 318-323, 326-328, 331, 334-369, 372-376, 379-387, 390-432, 435-445, 448-459, 462-463, 466-469, 472-474, 477-491, 494-509, 514-517, 522-525
  obnam-1.0/obnamlib/clientmetadatatree.py   73-82, 85-86, 90-95, 99, 124-131, 135, 139-140, 144, 148, 152, 157-158, 163-180, 185-204, 207, 210, 213-224, 227-228, 231-232, 236-250, 253-261, 264-271, 274-277, 280-285, 288-292, 295, 298-299, 304-307, 310-311, 315, 318-323, 326-328, 331, 334-369, 372-376, 379-387, 390-432, 435-445, 448-459, 462-463, 466-469, 472-474, 477-491, 494-509, 514-517, 522-525
  obnam-1.0/obnamlib/encryption.py           29-36, 44, 47-49, 52-54, 57, 79-97, 102, 107, 113-129, 134, 149-151, 154-157, 160-161, 165, 168-175, 178-180, 183, 186, 189-192, 195, 198, 201-212, 222-229, 234-237, 248
  obnam-1.0/obnamlib/encryption.py           29-36, 44, 47-49, 52-54, 57, 79-97, 102, 107, 113-129, 134, 149-151, 154-157, 160-161, 165, 168-175, 178-180, 183, 186, 189-192, 195, 198, 201-212, 222-229, 234-237, 248
  obnam-1.0/obnamlib/forget_policy.py        49-73, 76-93, 111-118
  obnam-1.0/obnamlib/forget_policy.py        49-73, 76-93, 111-118
  obnam-1.0/obnamlib/hooks.py                44-45, 54-60, 64-65, 69-71, 79-81, 99-100, 103-107, 110-111, 114, 117-123, 126-137, 145-146, 155-156, 160-161, 165-168, 172-175, 179, 183, 187
  obnam-1.0/obnamlib/hooks.py                44-45, 54-60, 64-65, 69-71, 79-81, 99-100, 103-107, 110-111, 114, 117-123, 126-137, 145-146, 155-156, 160-161, 165-168, 172-175, 179, 183, 187
  obnam-1.0/obnamlib/lockmgr.py              28-34, 37-43, 52-54, 57, 61-70, 73, 77-85, 89-90
  obnam-1.0/obnamlib/lockmgr.py              28-34, 37-43, 52-54, 57, 61-70, 73, 77-85, 89-90
  obnam-1.0/obnamlib/metadata.py             80-83, 86, 89, 92, 100-109, 167-192, 207-220, 242-265, 275-316
  obnam-1.0/obnamlib/metadata.py             80-83, 86, 89, 92, 100-109, 167-192, 207-220, 242-265, 275-316
  obnam-1.0/obnamlib/pluginbase.py           25
  obnam-1.0/obnamlib/pluginbase.py           25
  obnam-1.0/obnamlib/repo.py                 47-49, 52, 55-57, 62-66, 70, 73-78, 81-86, 128-156, 159, 164-167, 174-178, 187-189, 193, 197, 201, 206-211, 215-216, 220-221, 225-226, 230-231, 235-236, 240-241, 245-246, 250-251, 261-272, 276-282, 286-300, 309-322, 326-329, 339-341, 348-353, 363-367, 371, 382-396, 402-406, 410-414, 424-448, 452-462, 466-476, 480-492, 496-497, 501-502, 511-519, 530-573, 577-580, 589-590, 594-595, 600-605, 609-611, 615-616, 619, 632-655, 666-673, 677-678, 682-683, 692-693, 697-704, 717-725, 729-730, 739-740, 749-750, 765-779, 790-803
  obnam-1.0/obnamlib/repo.py                 47-49, 52, 55-57, 62-66, 70, 73-78, 81-86, 128-156, 159, 164-167, 174-178, 187-189, 193, 197, 201, 206-211, 215-216, 220-221, 225-226, 230-231, 235-236, 240-241, 245-246, 250-251, 261-272, 276-282, 286-300, 309-322, 326-329, 339-341, 348-353, 363-367, 371, 382-396, 402-406, 410-414, 424-448, 452-462, 466-476, 480-492, 496-497, 501-502, 511-519, 530-573, 577-580, 589-590, 594-595, 600-605, 609-611, 615-616, 619, 632-655, 666-673, 677-678, 682-683, 692-693, 697-704, 717-725, 729-730, 739-740, 749-750, 765-779, 790-803
  obnam-1.0/obnamlib/sizeparse.py            25, 31, 37, 61, 64-66, 69-79
  obnam-1.0/obnamlib/sizeparse.py            25, 31, 37, 61, 64-66, 69-79
  obnam-1.0/obnamlib/vfs_local.py            34-39, 42-45, 55-63, 76-91, 94, 97-101, 104-109, 114-116, 119, 122-124, 127-129, 132-137, 157, 160, 185-186, 189-197, 200-203, 206, 209-212, 215-227, 230, 233, 236-238, 241-243, 246-248, 251-253, 256-267, 270-279, 282-286, 289-306, 309, 312-319
  obnam-1.0/obnamlib/vfs_local.py            34-39, 42-45, 55-63, 76-91, 94, 97-101, 104-109, 114-116, 119, 122-124, 127-129, 132-137, 157, 160, 185-186, 189-197, 200-203, 206, 209-212, 215-227, 230, 233, 236-238, 241-243, 246-248, 251-253, 256-267, 270-279, 282-286, 289-306, 309, 312-319

Modules missing test modules:
  obnam-1.0/setup.py
  obnam-1.0/test-plugins/wrongversion_plugin.py
  obnam-1.0/test-plugins/oldhello_plugin.py
  obnam-1.0/test-plugins/aaa_hello_plugin.py
  obnam-1.0/test-plugins/hello_plugin.py
  obnam-1.0/obnamlib/__init__.py
  obnam-1.0/obnamlib/vfs.py
  obnam-1.0/obnamlib/app.py
  obnam-1.0/obnamlib/repo_tree.py
  obnam-1.0/obnamlib/plugins/__init__.py
  obnam-1.0/obnamlib/plugins/restore_plugin.py
  obnam-1.0/obnamlib/plugins/verify_plugin.py
  obnam-1.0/obnamlib/plugins/forget_plugin.py
  obnam-1.0/obnamlib/plugins/show_plugin.py
  obnam-1.0/obnamlib/plugins/force_lock_plugin.py
  obnam-1.0/obnamlib/plugins/sftp_plugin.py
  obnam-1.0/obnamlib/plugins/vfs_local_plugin.py
  obnam-1.0/obnamlib/plugins/encryption_plugin.py
  obnam-1.0/obnamlib/plugins/fsck_plugin.py
  obnam-1.0/obnamlib/plugins/compression_plugin.py
  obnam-1.0/obnamlib/plugins/backup_plugin.py
  obnam-1.0/obnamlib/plugins/convert5to6_plugin.py

0 failures, 0 errors
242 excluded statements
22 excluded modules
22 missing test modules

Slowest tests:
    0.2 s test_latest_returns_only_generation (repo_tests.RepositoryGenspecTests
    0.3 s test_counts_files_in_first_generation (clientmetadatatree_tests.Client
    0.3 s test_latest_returns_newest_generation (repo_tests.RepositoryGenspecTes
    0.4 s test_removing_client_that_has_data_removes_the_data_as_well (repo_test
    0.4 s test_latest_returns_newest_generation (repo_tests.RepositoryGenspecTes
    0.4 s test_find_chunks_finds_what_put_chunk_puts (repo_tests.RepositoryChunk
    0.4 s test_removing_generation_works (repo_tests.RepositoryClientTests)
    0.6 s test_removing_generation_works (repo_tests.RepositoryClientTests)
    0.6 s test_removing_only_second_generation_works (repo_tests.RepositoryClien
    0.9 s test_removing_only_second_generation_works (repo_tests.RepositoryClien
Time: 15.1 s
ERROR: Command '['python', '-m', 'CoverageTestRunner', '--ignore-missing-from=without-tests']' returned non-zero exit status 1
make: *** [override_dh_auto_test] Error 1
</pre>

---

Ah, I must have misunderstood the Launchpad page. Let's see what Chris can find out. --liw

---

I don't know what or if anything was fixed, but 1.0 is in the PPA now and working.  Thanks.